1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_STATIC_INLINE static inline
146 #define SWIG_STATIC_INLINE static
149 SWIG_STATIC_INLINE
long
150 SPyObj_AsLong(PyObject
* obj
)
152 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
155 SWIG_STATIC_INLINE
unsigned long
156 SPyObj_AsUnsignedLong(PyObject
* obj
)
158 if (PyLong_Check(obj
)) {
159 return PyLong_AsUnsignedLong(obj
);
161 long i
= PyInt_AsLong(obj
);
162 if ( !PyErr_Occurred() && (i
< 0)) {
163 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject
*
171 SPyObj_FromLongLong(long long value
)
173 return (value
> (long)(LONG_MAX
)) ?
174 PyLong_FromLongLong(value
) : PyInt_FromLong((long)value
);
178 SWIG_STATIC_INLINE PyObject
*
179 SPyObj_FromUnsignedLong(unsigned long value
)
181 return (value
> (unsigned long)(LONG_MAX
)) ?
182 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject
*
187 SPyObj_FromUnsignedLongLong(unsigned long long value
)
189 return (value
> (unsigned long long)(LONG_MAX
)) ?
190 PyLong_FromUnsignedLongLong(value
) : PyInt_FromLong((long)value
);
194 SWIG_STATIC_INLINE
long
195 SPyObj_AsLongInRange(PyObject
* obj
, long min_value
, long max_value
)
197 long value
= SPyObj_AsLong(obj
);
198 if (!PyErr_Occurred()) {
199 if (value
< min_value
) {
200 PyErr_SetString(PyExc_OverflowError
,"value is smaller than type minimum");
201 } else if (value
> max_value
) {
202 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
208 SWIG_STATIC_INLINE
unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject
*obj
, unsigned long max_value
)
211 unsigned long value
= SPyObj_AsUnsignedLong(obj
);
212 if (!PyErr_Occurred()) {
213 if (value
> max_value
) {
214 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
220 SWIG_STATIC_INLINE
signed char
221 SPyObj_AsSignedChar(PyObject
*obj
) {
222 return (signed char)SPyObj_AsLongInRange(obj
, SCHAR_MIN
, SCHAR_MAX
);
225 SWIG_STATIC_INLINE
short
226 SPyObj_AsShort(PyObject
*obj
) {
227 return (short)SPyObj_AsLongInRange(obj
, SHRT_MIN
, SHRT_MAX
);
230 SWIG_STATIC_INLINE
int
231 SPyObj_AsInt(PyObject
*obj
) {
232 return SPyObj_AsLongInRange(obj
, INT_MIN
, INT_MAX
);
235 SWIG_STATIC_INLINE
unsigned char
236 SPyObj_AsUnsignedChar(PyObject
*obj
) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj
, UCHAR_MAX
);
240 SWIG_STATIC_INLINE
unsigned short
241 SPyObj_AsUnsignedShort(PyObject
*obj
) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj
, USHRT_MAX
);
245 SWIG_STATIC_INLINE
unsigned int
246 SPyObj_AsUnsignedInt(PyObject
*obj
) {
247 return SPyObj_AsUnsignedLongInRange(obj
, UINT_MAX
);
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE
long long
252 SPyObj_AsLongLong(PyObject
*obj
) {
253 return PyInt_Check(obj
) ?
254 PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
);
257 SWIG_STATIC_INLINE
unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject
*obj
) {
259 return PyLong_Check(obj
) ?
260 PyLong_AsUnsignedLongLong(obj
) : SPyObj_AsUnsignedLong(obj
);
264 SWIG_STATIC_INLINE
double
265 SPyObj_AsDouble(PyObject
*obj
) {
266 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
267 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
270 SWIG_STATIC_INLINE
float
271 SPyObj_AsFloat(PyObject
*obj
) {
272 double value
= SPyObj_AsDouble(obj
);
273 if (!PyErr_Occurred()) {
274 if (value
< FLT_MIN
) {
275 PyErr_SetString(PyExc_OverflowError
,"float is smaller than flt_min");
276 } else if (value
> FLT_MAX
) {
277 PyErr_SetString(PyExc_OverflowError
,"float is greater than flt_max");
280 return (float) value
;
283 SWIG_STATIC_INLINE
char
284 SPyObj_AsChar(PyObject
*obj
) {
285 char c
= (PyString_Check(obj
) && PyString_Size(obj
) == 1) ?
286 PyString_AsString(obj
)[0]
287 : (char) SPyObj_AsLongInRange(obj
, CHAR_MIN
, CHAR_MAX
);
288 if (PyErr_Occurred()) {
290 PyErr_SetString(PyExc_TypeError
, "a char is required");
295 SWIG_STATIC_INLINE PyObject
*
296 SPyObj_FromChar(char c
) {
297 return PyString_FromStringAndSize(&c
,1);
300 SWIG_STATIC_INLINE PyObject
*
301 SPyObj_FromCharPtr(const char* cptr
) {
302 return cptr
? PyString_FromString(cptr
) : Py_BuildValue((char*)"");
305 SWIG_STATIC_INLINE
int
306 SPyObj_AsBool(PyObject
*obj
) {
307 return SPyObj_AsLong
/*Long*/(obj
) ? 1 : 0;
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
322 /* Flags for pointer conversion */
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
330 /* Constant information structure */
331 typedef struct swig_const_info
{
337 swig_type_info
**ptype
;
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
362 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
364 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
367 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
372 /* Contract support */
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
382 /* -------- TYPES TABLE (BEGIN) -------- */
384 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
385 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
386 #define SWIGTYPE_p_wxSizer swig_types[2]
387 #define SWIGTYPE_p_wxCheckBox swig_types[3]
388 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
389 #define SWIGTYPE_p_wxEvent swig_types[5]
390 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
391 #define SWIGTYPE_p_bool swig_types[7]
392 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
393 #define SWIGTYPE_p_wxItemContainer swig_types[9]
394 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
395 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
396 #define SWIGTYPE_p_wxStaticLine swig_types[12]
397 #define SWIGTYPE_p_wxControl swig_types[13]
398 #define SWIGTYPE_p_wxPyControl swig_types[14]
399 #define SWIGTYPE_p_wxGauge swig_types[15]
400 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
401 #define SWIGTYPE_p_wxFont swig_types[17]
402 #define SWIGTYPE_p_wxToggleButton swig_types[18]
403 #define SWIGTYPE_p_wxRadioButton swig_types[19]
404 #define SWIGTYPE_p_wxChoice swig_types[20]
405 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
406 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
407 #define SWIGTYPE_p_void swig_types[23]
408 #define SWIGTYPE_p_int swig_types[24]
409 #define SWIGTYPE_p_wxSize swig_types[25]
410 #define SWIGTYPE_p_wxDC swig_types[26]
411 #define SWIGTYPE_p_wxListView swig_types[27]
412 #define SWIGTYPE_p_wxIcon swig_types[28]
413 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
414 #define SWIGTYPE_p_wxNotebook swig_types[30]
415 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
416 #define SWIGTYPE_p_wxArrayString swig_types[32]
417 #define SWIGTYPE_p_wxListbook swig_types[33]
418 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
419 #define SWIGTYPE_p_wxSlider swig_types[35]
420 #define SWIGTYPE_p_wxStaticBox swig_types[36]
421 #define SWIGTYPE_p_wxArrayInt swig_types[37]
422 #define SWIGTYPE_p_wxContextHelp swig_types[38]
423 #define SWIGTYPE_p_long swig_types[39]
424 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
425 #define SWIGTYPE_p_wxListEvent swig_types[41]
426 #define SWIGTYPE_p_wxListBox swig_types[42]
427 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
428 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
429 #define SWIGTYPE_p_wxSpinButton swig_types[45]
430 #define SWIGTYPE_p_wxButton swig_types[46]
431 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
432 #define SWIGTYPE_p_wxRect swig_types[48]
433 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
434 #define SWIGTYPE_p_wxRadioBox swig_types[50]
435 #define SWIGTYPE_p_wxScrollBar swig_types[51]
436 #define SWIGTYPE_p_wxTreeItemId swig_types[52]
437 #define SWIGTYPE_p_wxComboBox swig_types[53]
438 #define SWIGTYPE_p_wxHelpEvent swig_types[54]
439 #define SWIGTYPE_p_wxListItem swig_types[55]
440 #define SWIGTYPE_p_wxNotebookSizer swig_types[56]
441 #define SWIGTYPE_p_wxSpinEvent swig_types[57]
442 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
443 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
444 #define SWIGTYPE_p_wxImageList swig_types[60]
445 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
446 #define SWIGTYPE_p_wxTextAttr swig_types[62]
447 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
448 #define SWIGTYPE_p_wxPoint swig_types[64]
449 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
450 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
451 #define SWIGTYPE_p_wxObject swig_types[67]
452 #define SWIGTYPE_p_wxCursor swig_types[68]
453 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
454 #define SWIGTYPE_p_wxWindow swig_types[70]
455 #define SWIGTYPE_p_wxString swig_types[71]
456 #define SWIGTYPE_p_wxBitmap swig_types[72]
457 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
458 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
459 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
460 #define SWIGTYPE_p_wxStaticText swig_types[76]
461 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
462 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
463 #define SWIGTYPE_p_wxColour swig_types[79]
464 #define SWIGTYPE_p_wxToolBar swig_types[80]
465 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
466 #define SWIGTYPE_p_wxValidator swig_types[82]
467 static swig_type_info
*swig_types
[84];
469 /* -------- TYPES TABLE (END) -------- */
472 /*-----------------------------------------------
473 @(target):= _controls.so
474 ------------------------------------------------*/
475 #define SWIG_init init_controls
477 #define SWIG_name "_controls"
479 #include "wx/wxPython/wxPython.h"
480 #include "wx/wxPython/pyclasses.h"
482 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
483 static const wxString
wxPyEmptyString(wxEmptyString
);
484 static const wxString
wxPyControlNameStr(wxControlNameStr
);
485 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
486 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
487 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
488 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
489 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
490 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
491 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
492 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
494 #include <wx/checklst.h>
497 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
498 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
500 wxPyClientData
* data
= new wxPyClientData(clientData
);
501 self
->Insert(item
, pos
, data
);
503 self
->Insert(item
, pos
);
505 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
507 self
->GetSelections(lst
);
508 PyObject
*tup
= PyTuple_New(lst
.GetCount());
509 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
510 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
514 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
516 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
522 } else if (target
== Py_None
) {
526 if (!PyTuple_Check(target
)) {
528 target
= PyTuple_New(1);
529 PyTuple_SetItem(target
, 0, o2
);
532 PyTuple_SetItem(o3
, 0, o
);
535 target
= PySequence_Concat(o2
, o3
);
542 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
543 self
->AppendText(text
);
545 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
546 return self
->GetValue().Mid(from
, to
- from
);
548 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
549 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
550 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
551 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
552 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
554 #include <wx/slider.h>
557 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
558 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
560 #if defined(__WXMAC__) || defined(__WXX11__)
561 // implement dummy classes and such for wxMac
563 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
565 class wxToggleButton
: public wxControl
568 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
569 const wxPoint
&, const wxSize
&, long,
570 const wxValidator
&, const wxString
&)
571 { wxPyRaiseNotImplemented(); }
574 { wxPyRaiseNotImplemented(); }
578 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
579 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
580 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
581 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
583 Py_INCREF(udata
->m_obj
);
590 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
591 self
->SetClientData(new wxPyUserData(clientData
));
593 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
){
594 wxPyUserData
* udata
= NULL
;
595 if (clientData
&& clientData
!= Py_None
)
596 udata
= new wxPyUserData(clientData
);
597 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
598 shortHelp
, longHelp
, udata
);
600 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
){
601 wxPyUserData
* udata
= NULL
;
602 if (clientData
&& clientData
!= Py_None
)
603 udata
= new wxPyUserData(clientData
);
604 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
605 shortHelp
, longHelp
, udata
);
607 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
608 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
610 Py_INCREF(udata
->m_obj
);
617 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
618 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
621 #include <wx/listctrl.h>
624 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
625 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
626 // Python aware sorting function for wxPyListCtrl
627 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
629 PyObject
* func
= (PyObject
*)funcPtr
;
630 wxPyBeginBlockThreads();
632 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
633 PyObject
* result
= PyEval_CallObject(func
, args
);
636 retval
= PyInt_AsLong(result
);
640 wxPyEndBlockThreads();
644 // C++ Version of a Python aware class
645 class wxPyListCtrl
: public wxListCtrl
{
646 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
648 wxPyListCtrl() : wxListCtrl() {}
649 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
653 const wxValidator
& validator
,
654 const wxString
& name
) :
655 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
657 bool Create(wxWindow
* parent
, wxWindowID id
,
661 const wxValidator
& validator
,
662 const wxString
& name
) {
663 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
666 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
667 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
668 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
673 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
675 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
676 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
677 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
679 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
681 item
.SetMask( wxLIST_MASK_STATE
|
689 if (self
->GetColumn(col
, item
))
690 return new wxListItem(item
);
694 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
695 wxListItem
* info
= new wxListItem
;
696 info
->m_itemId
= itemId
;
698 info
->m_mask
= 0xFFFF;
699 self
->GetItem(*info
);
702 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
704 self
->GetItemPosition(item
, pos
);
707 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
709 self
->GetItemRect(item
, rect
, code
);
712 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
713 if (!PyCallable_Check(func
))
715 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
717 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
721 return (wxWindow
*)self
->m_mainWin
;
725 #include <wx/treectrl.h>
726 #include "wx/wxPython/pytree.h"
728 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
729 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
730 if (!other
) return False
;
731 return *self
== *other
;
733 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
734 if (!other
) return True
;
735 return *self
!= *other
;
737 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
738 // C++ version of Python aware wxTreeCtrl
739 class wxPyTreeCtrl
: public wxTreeCtrl
{
740 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
742 wxPyTreeCtrl() : wxTreeCtrl() {}
743 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
747 const wxValidator
& validator
,
748 const wxString
& name
) :
749 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
751 bool Create(wxWindow
*parent
, wxWindowID id
,
755 const wxValidator
& validator
,
756 const wxString
& name
) {
757 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
761 int OnCompareItems(const wxTreeItemId
& item1
,
762 const wxTreeItemId
& item2
) {
765 wxPyBeginBlockThreads();
766 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
767 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
768 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
769 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
773 wxPyEndBlockThreads();
775 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
781 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
784 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
785 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
787 data
= new wxPyTreeItemData();
788 data
->SetId(item
); // set the id
789 self
->SetItemData(item
, data
);
793 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
794 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
796 data
= new wxPyTreeItemData();
797 data
->SetId(item
); // set the id
798 self
->SetItemData(item
, data
);
800 return data
->GetData();
802 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
803 data
->SetId(item
); // set the id
804 self
->SetItemData(item
, data
);
806 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
807 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
809 data
= new wxPyTreeItemData(obj
);
810 data
->SetId(item
); // set the id
811 self
->SetItemData(item
, data
);
815 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
816 wxPyBeginBlockThreads();
817 PyObject
* rval
= PyList_New(0);
818 wxArrayTreeItemIds array
;
820 num
= self
->GetSelections(array
);
821 for (x
=0; x
< num
; x
++) {
822 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
823 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
824 PyList_Append(rval
, item
);
826 wxPyEndBlockThreads();
829 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
831 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
832 wxPyBeginBlockThreads();
833 PyObject
* tup
= PyTuple_New(2);
834 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
835 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
836 wxPyEndBlockThreads();
839 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
840 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
841 wxPyBeginBlockThreads();
842 PyObject
* tup
= PyTuple_New(2);
843 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
844 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
845 wxPyEndBlockThreads();
848 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
850 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
851 wxPyBeginBlockThreads();
852 wxRect
* r
= new wxRect(rect
);
853 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
854 wxPyEndBlockThreads();
860 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
861 // C++ version of Python aware wxControl
862 class wxPyControl
: public wxControl
864 DECLARE_DYNAMIC_CLASS(wxPyControl
)
866 wxPyControl() : wxControl() {}
867 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
868 const wxPoint
& pos
= wxDefaultPosition
,
869 const wxSize
& size
= wxDefaultSize
,
871 const wxValidator
& validator
=wxDefaultValidator
,
872 const wxString
& name
= wxPyControlNameStr
)
873 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
876 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
877 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
878 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
879 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
881 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
882 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
883 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
885 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
886 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
888 DEC_PYCALLBACK__(InitDialog
);
889 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
890 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
891 DEC_PYCALLBACK_BOOL_(Validate
);
893 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
894 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
895 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
897 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
898 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
903 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
905 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
906 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
907 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
908 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
910 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
911 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
912 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
914 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
915 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
917 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
918 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
919 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
920 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
922 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
923 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
924 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
926 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
927 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
932 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
934 #include <wx/generic/dragimgg.h>
939 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
940 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
945 static PyObject
*_wrap_ButtonNameStr_get() {
950 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
952 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
959 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 wxWindow
*arg1
= (wxWindow
*) 0 ;
964 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
965 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
966 wxSize
const &arg5_defvalue
= wxDefaultSize
;
967 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
968 long arg6
= (long) 0 ;
969 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
970 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
971 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
972 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
978 PyObject
* obj0
= 0 ;
979 PyObject
* obj2
= 0 ;
980 PyObject
* obj3
= 0 ;
981 PyObject
* obj4
= 0 ;
982 PyObject
* obj6
= 0 ;
983 PyObject
* obj7
= 0 ;
985 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
991 arg3
= wxString_in_helper(obj2
);
992 if (arg3
== NULL
) SWIG_fail
;
998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1008 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1010 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1015 arg8
= wxString_in_helper(obj7
);
1016 if (arg8
== NULL
) SWIG_fail
;
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) SWIG_fail
;
1028 resultobj
= wxPyMake_wxObject(result
);
1052 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
*resultobj
;
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1062 result
= (wxButton
*)new wxButton();
1064 wxPyEndAllowThreads(__tstate
);
1065 if (PyErr_Occurred()) SWIG_fail
;
1068 resultobj
= wxPyMake_wxObject(result
);
1076 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
*resultobj
;
1078 wxButton
*arg1
= (wxButton
*) 0 ;
1079 wxWindow
*arg2
= (wxWindow
*) 0 ;
1081 wxString
*arg4
= 0 ;
1082 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1083 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1084 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1085 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1086 long arg7
= (long) 0 ;
1087 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1088 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1089 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1090 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1092 bool temp4
= False
;
1095 bool temp9
= False
;
1096 PyObject
* obj0
= 0 ;
1097 PyObject
* obj1
= 0 ;
1098 PyObject
* obj3
= 0 ;
1099 PyObject
* obj4
= 0 ;
1100 PyObject
* obj5
= 0 ;
1101 PyObject
* obj7
= 0 ;
1102 PyObject
* obj8
= 0 ;
1104 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1111 arg4
= wxString_in_helper(obj3
);
1112 if (arg4
== NULL
) SWIG_fail
;
1118 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1124 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1128 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1130 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1135 arg9
= wxString_in_helper(obj8
);
1136 if (arg9
== NULL
) SWIG_fail
;
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) SWIG_fail
;
1147 resultobj
= PyInt_FromLong((long)result
);
1170 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
*resultobj
;
1172 wxButton
*arg1
= (wxButton
*) 0 ;
1173 PyObject
* obj0
= 0 ;
1175 (char *) "self", NULL
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 (arg1
)->SetDefault();
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) SWIG_fail
;
1187 Py_INCREF(Py_None
); resultobj
= Py_None
;
1194 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 result
= wxButton::GetDefaultSize();
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1211 resultptr
= new wxSize((wxSize
&) result
);
1212 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1220 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1223 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1225 return Py_BuildValue((char *)"");
1227 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
*resultobj
;
1229 wxWindow
*arg1
= (wxWindow
*) 0 ;
1231 wxBitmap
*arg3
= 0 ;
1232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1236 long arg6
= (long) wxBU_AUTODRAW
;
1237 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1238 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1239 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1240 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1241 wxBitmapButton
*result
;
1244 bool temp8
= False
;
1245 PyObject
* obj0
= 0 ;
1246 PyObject
* obj2
= 0 ;
1247 PyObject
* obj3
= 0 ;
1248 PyObject
* obj4
= 0 ;
1249 PyObject
* obj6
= 0 ;
1250 PyObject
* obj7
= 0 ;
1252 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1257 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1259 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1274 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1281 arg8
= wxString_in_helper(obj7
);
1282 if (arg8
== NULL
) SWIG_fail
;
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1294 resultobj
= wxPyMake_wxObject(result
);
1310 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
*resultobj
;
1312 wxBitmapButton
*result
;
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1320 result
= (wxBitmapButton
*)new wxBitmapButton();
1322 wxPyEndAllowThreads(__tstate
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1326 resultobj
= wxPyMake_wxObject(result
);
1334 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
*resultobj
;
1336 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1337 wxWindow
*arg2
= (wxWindow
*) 0 ;
1339 wxBitmap
*arg4
= 0 ;
1340 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1341 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1342 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1343 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1344 long arg7
= (long) wxBU_AUTODRAW
;
1345 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1346 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1347 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1348 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1352 bool temp9
= False
;
1353 PyObject
* obj0
= 0 ;
1354 PyObject
* obj1
= 0 ;
1355 PyObject
* obj3
= 0 ;
1356 PyObject
* obj4
= 0 ;
1357 PyObject
* obj5
= 0 ;
1358 PyObject
* obj7
= 0 ;
1359 PyObject
* obj8
= 0 ;
1361 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1367 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1374 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1380 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1384 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1386 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1391 arg9
= wxString_in_helper(obj8
);
1392 if (arg9
== NULL
) SWIG_fail
;
1397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1398 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1400 wxPyEndAllowThreads(__tstate
);
1401 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= PyInt_FromLong((long)result
);
1418 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1422 PyObject
* obj0
= 0 ;
1424 (char *) "self", NULL
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 result
= (arg1
)->GetBitmapLabel();
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) SWIG_fail
;
1437 wxBitmap
* resultptr
;
1438 resultptr
= new wxBitmap((wxBitmap
&) result
);
1439 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1447 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1449 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1451 PyObject
* obj0
= 0 ;
1453 (char *) "self", NULL
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 result
= (arg1
)->GetBitmapDisabled();
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) SWIG_fail
;
1466 wxBitmap
* resultptr
;
1467 resultptr
= new wxBitmap((wxBitmap
&) result
);
1468 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1476 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
*resultobj
;
1478 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1480 PyObject
* obj0
= 0 ;
1482 (char *) "self", NULL
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 result
= (arg1
)->GetBitmapFocus();
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) SWIG_fail
;
1495 wxBitmap
* resultptr
;
1496 resultptr
= new wxBitmap((wxBitmap
&) result
);
1497 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1505 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
*resultobj
;
1507 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1509 PyObject
* obj0
= 0 ;
1511 (char *) "self", NULL
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 result
= (arg1
)->GetBitmapSelected();
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1524 wxBitmap
* resultptr
;
1525 resultptr
= new wxBitmap((wxBitmap
&) result
);
1526 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1534 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
*resultobj
;
1536 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1537 wxBitmap
*arg2
= 0 ;
1538 PyObject
* obj0
= 0 ;
1539 PyObject
* obj1
= 0 ;
1541 (char *) "self",(char *) "bitmap", NULL
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) SWIG_fail
;
1557 Py_INCREF(Py_None
); resultobj
= Py_None
;
1564 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
*resultobj
;
1566 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1567 wxBitmap
*arg2
= 0 ;
1568 PyObject
* obj0
= 0 ;
1569 PyObject
* obj1
= 0 ;
1571 (char *) "self",(char *) "bitmap", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1578 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 Py_INCREF(Py_None
); resultobj
= Py_None
;
1594 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
*resultobj
;
1596 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1597 wxBitmap
*arg2
= 0 ;
1598 PyObject
* obj0
= 0 ;
1599 PyObject
* obj1
= 0 ;
1601 (char *) "self",(char *) "bitmap", NULL
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1606 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1608 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1617 Py_INCREF(Py_None
); resultobj
= Py_None
;
1624 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
*resultobj
;
1626 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1627 wxBitmap
*arg2
= 0 ;
1628 PyObject
* obj0
= 0 ;
1629 PyObject
* obj1
= 0 ;
1631 (char *) "self",(char *) "bitmap", NULL
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1636 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) SWIG_fail
;
1647 Py_INCREF(Py_None
); resultobj
= Py_None
;
1654 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
*resultobj
;
1656 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1659 PyObject
* obj0
= 0 ;
1661 (char *) "self",(char *) "x",(char *) "y", NULL
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 (arg1
)->SetMargins(arg2
,arg3
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1673 Py_INCREF(Py_None
); resultobj
= Py_None
;
1680 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1684 PyObject
* obj0
= 0 ;
1686 (char *) "self", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1698 resultobj
= PyInt_FromLong((long)result
);
1705 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
*resultobj
;
1707 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1709 PyObject
* obj0
= 0 ;
1711 (char *) "self", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 resultobj
= PyInt_FromLong((long)result
);
1730 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1733 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1735 return Py_BuildValue((char *)"");
1737 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1738 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1743 static PyObject
*_wrap_CheckBoxNameStr_get() {
1748 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1750 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1757 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
*resultobj
;
1759 wxWindow
*arg1
= (wxWindow
*) 0 ;
1761 wxString
*arg3
= 0 ;
1762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1766 long arg6
= (long) 0 ;
1767 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1768 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1769 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1770 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1772 bool temp3
= False
;
1775 bool temp8
= False
;
1776 PyObject
* obj0
= 0 ;
1777 PyObject
* obj2
= 0 ;
1778 PyObject
* obj3
= 0 ;
1779 PyObject
* obj4
= 0 ;
1780 PyObject
* obj6
= 0 ;
1781 PyObject
* obj7
= 0 ;
1783 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1789 arg3
= wxString_in_helper(obj2
);
1790 if (arg3
== NULL
) SWIG_fail
;
1796 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1802 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1806 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1808 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1813 arg8
= wxString_in_helper(obj7
);
1814 if (arg8
== NULL
) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1848 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 result
= (wxCheckBox
*)new wxCheckBox();
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1870 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1873 wxWindow
*arg2
= (wxWindow
*) 0 ;
1875 wxString
*arg4
= 0 ;
1876 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1877 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1878 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1879 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1880 long arg7
= (long) 0 ;
1881 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1882 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1883 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1884 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1886 bool temp4
= False
;
1889 bool temp9
= False
;
1890 PyObject
* obj0
= 0 ;
1891 PyObject
* obj1
= 0 ;
1892 PyObject
* obj3
= 0 ;
1893 PyObject
* obj4
= 0 ;
1894 PyObject
* obj5
= 0 ;
1895 PyObject
* obj7
= 0 ;
1896 PyObject
* obj8
= 0 ;
1898 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1905 arg4
= wxString_in_helper(obj3
);
1906 if (arg4
== NULL
) SWIG_fail
;
1912 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1918 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1922 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1924 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1929 arg9
= wxString_in_helper(obj8
);
1930 if (arg9
== NULL
) SWIG_fail
;
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) SWIG_fail
;
1941 resultobj
= PyInt_FromLong((long)result
);
1964 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1970 (char *) "self", NULL
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (bool)(arg1
)->GetValue();
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= PyInt_FromLong((long)result
);
1989 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1993 PyObject
* obj0
= 0 ;
1995 (char *) "self", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 result
= (bool)(arg1
)->IsChecked();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 resultobj
= PyInt_FromLong((long)result
);
2014 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2019 PyObject
* obj1
= 0 ;
2021 (char *) "self",(char *) "state", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2027 arg2
= (bool const) SPyObj_AsBool(obj1
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 (arg1
)->SetValue(arg2
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 Py_INCREF(Py_None
); resultobj
= Py_None
;
2044 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2050 (char *) "self", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 resultobj
= PyInt_FromLong((long)result
);
2069 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2073 PyObject
* obj0
= 0 ;
2075 (char *) "self",(char *) "state", NULL
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
2079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 Py_INCREF(Py_None
); resultobj
= Py_None
;
2094 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2098 PyObject
* obj0
= 0 ;
2100 (char *) "self", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 resultobj
= PyInt_FromLong((long)result
);
2119 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2125 (char *) "self", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 resultobj
= PyInt_FromLong((long)result
);
2144 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2147 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2149 return Py_BuildValue((char *)"");
2151 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2152 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2157 static PyObject
*_wrap_ChoiceNameStr_get() {
2162 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2164 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2171 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
*resultobj
;
2173 wxWindow
*arg1
= (wxWindow
*) 0 ;
2175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2179 int arg5
= (int) 0 ;
2180 wxString
*arg6
= (wxString
*) NULL
;
2181 long arg7
= (long) 0 ;
2182 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2183 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2184 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2185 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2189 bool temp8
= False
;
2190 PyObject
* obj0
= 0 ;
2191 PyObject
* obj2
= 0 ;
2192 PyObject
* obj3
= 0 ;
2193 PyObject
* obj4
= 0 ;
2194 PyObject
* obj6
= 0 ;
2195 PyObject
* obj7
= 0 ;
2197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2205 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2211 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2216 arg5
= PyList_Size(obj4
);
2217 arg6
= wxString_LIST_helper(obj4
);
2218 if (arg6
== NULL
) SWIG_fail
;
2222 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2229 arg9
= wxString_in_helper(obj7
);
2230 if (arg9
== NULL
) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2243 if (arg6
) delete [] arg6
;
2252 if (arg6
) delete [] arg6
;
2262 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= (wxChoice
*)new wxChoice();
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2284 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxChoice
*arg1
= (wxChoice
*) 0 ;
2287 wxWindow
*arg2
= (wxWindow
*) 0 ;
2289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2293 int arg6
= (int) 0 ;
2294 wxString
*arg7
= (wxString
*) NULL
;
2295 long arg8
= (long) 0 ;
2296 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2297 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2298 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2299 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2303 bool temp9
= False
;
2304 PyObject
* obj0
= 0 ;
2305 PyObject
* obj1
= 0 ;
2306 PyObject
* obj3
= 0 ;
2307 PyObject
* obj4
= 0 ;
2308 PyObject
* obj5
= 0 ;
2309 PyObject
* obj7
= 0 ;
2310 PyObject
* obj8
= 0 ;
2312 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2321 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2327 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2332 arg6
= PyList_Size(obj5
);
2333 arg7
= wxString_LIST_helper(obj5
);
2334 if (arg7
== NULL
) SWIG_fail
;
2338 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2345 arg10
= wxString_in_helper(obj8
);
2346 if (arg10
== NULL
) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= PyInt_FromLong((long)result
);
2359 if (arg7
) delete [] arg7
;
2368 if (arg7
) delete [] arg7
;
2378 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxChoice
*arg1
= (wxChoice
*) 0 ;
2382 PyObject
* obj0
= 0 ;
2384 (char *) "self", NULL
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 result
= (int)(arg1
)->GetColumns();
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 resultobj
= PyInt_FromLong((long)result
);
2403 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
*resultobj
;
2405 wxChoice
*arg1
= (wxChoice
*) 0 ;
2406 int arg2
= (int) (int)1 ;
2407 PyObject
* obj0
= 0 ;
2409 (char *) "self",(char *) "n", NULL
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 (arg1
)->SetColumns(arg2
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2421 Py_INCREF(Py_None
); resultobj
= Py_None
;
2428 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
*resultobj
;
2430 wxChoice
*arg1
= (wxChoice
*) 0 ;
2432 PyObject
* obj0
= 0 ;
2434 (char *) "self",(char *) "n", NULL
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 (arg1
)->SetSelection(arg2
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2446 Py_INCREF(Py_None
); resultobj
= Py_None
;
2453 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2455 wxChoice
*arg1
= (wxChoice
*) 0 ;
2456 wxString
*arg2
= 0 ;
2457 bool temp2
= False
;
2458 PyObject
* obj0
= 0 ;
2459 PyObject
* obj1
= 0 ;
2461 (char *) "self",(char *) "string", NULL
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2467 arg2
= wxString_in_helper(obj1
);
2468 if (arg2
== NULL
) SWIG_fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2478 Py_INCREF(Py_None
); resultobj
= Py_None
;
2493 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2495 wxChoice
*arg1
= (wxChoice
*) 0 ;
2497 wxString
*arg3
= 0 ;
2498 bool temp3
= False
;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj2
= 0 ;
2502 (char *) "self",(char *) "n",(char *) "s", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2508 arg3
= wxString_in_helper(obj2
);
2509 if (arg3
== NULL
) SWIG_fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 Py_INCREF(Py_None
); resultobj
= Py_None
;
2534 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2537 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2539 return Py_BuildValue((char *)"");
2541 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2542 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2547 static PyObject
*_wrap_ComboBoxNameStr_get() {
2552 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2554 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2561 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxWindow
*arg1
= (wxWindow
*) 0 ;
2565 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2566 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2571 int arg6
= (int) 0 ;
2572 wxString
*arg7
= (wxString
*) NULL
;
2573 long arg8
= (long) 0 ;
2574 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2575 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2576 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2577 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2579 bool temp3
= False
;
2582 bool temp9
= False
;
2583 PyObject
* obj0
= 0 ;
2584 PyObject
* obj2
= 0 ;
2585 PyObject
* obj3
= 0 ;
2586 PyObject
* obj4
= 0 ;
2587 PyObject
* obj5
= 0 ;
2588 PyObject
* obj7
= 0 ;
2589 PyObject
* obj8
= 0 ;
2591 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2598 arg3
= wxString_in_helper(obj2
);
2599 if (arg3
== NULL
) SWIG_fail
;
2606 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2612 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2617 arg6
= PyList_Size(obj5
);
2618 arg7
= wxString_LIST_helper(obj5
);
2619 if (arg7
== NULL
) SWIG_fail
;
2623 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2630 arg10
= wxString_in_helper(obj8
);
2631 if (arg10
== NULL
) SWIG_fail
;
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2648 if (arg7
) delete [] arg7
;
2661 if (arg7
) delete [] arg7
;
2671 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= (wxComboBox
*)new wxComboBox();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2693 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2695 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2696 wxWindow
*arg2
= (wxWindow
*) 0 ;
2698 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2699 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2700 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2701 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2702 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2703 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2704 int arg7
= (int) 0 ;
2705 wxString
*arg8
= (wxString
*) NULL
;
2706 long arg9
= (long) 0 ;
2707 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2708 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2709 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2710 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2712 bool temp4
= False
;
2715 bool temp10
= False
;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2718 PyObject
* obj3
= 0 ;
2719 PyObject
* obj4
= 0 ;
2720 PyObject
* obj5
= 0 ;
2721 PyObject
* obj6
= 0 ;
2722 PyObject
* obj8
= 0 ;
2723 PyObject
* obj9
= 0 ;
2725 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2733 arg4
= wxString_in_helper(obj3
);
2734 if (arg4
== NULL
) SWIG_fail
;
2741 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2747 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2752 arg7
= PyList_Size(obj6
);
2753 arg8
= wxString_LIST_helper(obj6
);
2754 if (arg8
== NULL
) SWIG_fail
;
2758 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2759 if (arg10
== NULL
) {
2760 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2765 arg11
= wxString_in_helper(obj9
);
2766 if (arg11
== NULL
) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 resultobj
= PyInt_FromLong((long)result
);
2783 if (arg8
) delete [] arg8
;
2796 if (arg8
) delete [] arg8
;
2806 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2810 PyObject
* obj0
= 0 ;
2812 (char *) "self", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= ((wxComboBox
const *)arg1
)->GetValue();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2837 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2839 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2840 wxString
*arg2
= 0 ;
2841 bool temp2
= False
;
2842 PyObject
* obj0
= 0 ;
2843 PyObject
* obj1
= 0 ;
2845 (char *) "self",(char *) "value", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2851 arg2
= wxString_in_helper(obj1
);
2852 if (arg2
== NULL
) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 (arg1
)->SetValue((wxString
const &)*arg2
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 Py_INCREF(Py_None
); resultobj
= Py_None
;
2877 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2879 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2880 PyObject
* obj0
= 0 ;
2882 (char *) "self", NULL
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2894 Py_INCREF(Py_None
); resultobj
= Py_None
;
2901 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2903 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2904 PyObject
* obj0
= 0 ;
2906 (char *) "self", NULL
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 Py_INCREF(Py_None
); resultobj
= Py_None
;
2925 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2928 PyObject
* obj0
= 0 ;
2930 (char *) "self", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 Py_INCREF(Py_None
); resultobj
= Py_None
;
2949 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2953 PyObject
* obj0
= 0 ;
2955 (char *) "self",(char *) "pos", NULL
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 (arg1
)->SetInsertionPoint(arg2
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2967 Py_INCREF(Py_None
); resultobj
= Py_None
;
2974 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2978 PyObject
* obj0
= 0 ;
2980 (char *) "self", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 resultobj
= PyInt_FromLong((long)result
);
2999 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
;
3001 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3003 PyObject
* obj0
= 0 ;
3005 (char *) "self", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 resultobj
= PyInt_FromLong((long)result
);
3024 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3026 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3029 wxString
*arg4
= 0 ;
3030 bool temp4
= False
;
3031 PyObject
* obj0
= 0 ;
3032 PyObject
* obj3
= 0 ;
3034 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3040 arg4
= wxString_in_helper(obj3
);
3041 if (arg4
== NULL
) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 Py_INCREF(Py_None
); resultobj
= Py_None
;
3066 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3070 PyObject
* obj0
= 0 ;
3072 (char *) "self",(char *) "n", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
3076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 (arg1
)->SetSelection(arg2
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3084 Py_INCREF(Py_None
); resultobj
= Py_None
;
3091 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3096 PyObject
* obj0
= 0 ;
3098 (char *) "self",(char *) "from",(char *) "to", NULL
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 (arg1
)->SetSelection(arg2
,arg3
);
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3110 Py_INCREF(Py_None
); resultobj
= Py_None
;
3117 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3124 (char *) "self",(char *) "editable", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3130 arg2
= (bool) SPyObj_AsBool(obj1
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 (arg1
)->SetEditable(arg2
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3140 Py_INCREF(Py_None
); resultobj
= Py_None
;
3147 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
*resultobj
;
3149 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3152 (char *) "self", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 (arg1
)->SetInsertionPointEnd();
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 Py_INCREF(Py_None
); resultobj
= Py_None
;
3171 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3178 (char *) "self",(char *) "from",(char *) "to", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 (arg1
)->Remove(arg2
,arg3
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3190 Py_INCREF(Py_None
); resultobj
= Py_None
;
3197 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3200 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3202 return Py_BuildValue((char *)"");
3204 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3205 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3210 static PyObject
*_wrap_GaugeNameStr_get() {
3215 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3217 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3224 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxWindow
*arg1
= (wxWindow
*) 0 ;
3229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3233 long arg6
= (long) wxGA_HORIZONTAL
;
3234 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3235 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3236 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3237 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3241 bool temp8
= False
;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj3
= 0 ;
3244 PyObject
* obj4
= 0 ;
3245 PyObject
* obj6
= 0 ;
3246 PyObject
* obj7
= 0 ;
3248 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3256 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3262 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3266 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3268 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3273 arg8
= wxString_in_helper(obj7
);
3274 if (arg8
== NULL
) SWIG_fail
;
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3285 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3300 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 result
= (wxGauge
*)new wxGauge();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3322 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
;
3324 wxGauge
*arg1
= (wxGauge
*) 0 ;
3325 wxWindow
*arg2
= (wxWindow
*) 0 ;
3328 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3329 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3330 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3331 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3332 long arg7
= (long) wxGA_HORIZONTAL
;
3333 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3334 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3335 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3336 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3340 bool temp9
= False
;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3343 PyObject
* obj4
= 0 ;
3344 PyObject
* obj5
= 0 ;
3345 PyObject
* obj7
= 0 ;
3346 PyObject
* obj8
= 0 ;
3348 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3357 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3363 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3367 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3374 arg9
= wxString_in_helper(obj8
);
3375 if (arg9
== NULL
) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 resultobj
= PyInt_FromLong((long)result
);
3401 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 wxGauge
*arg1
= (wxGauge
*) 0 ;
3405 PyObject
* obj0
= 0 ;
3407 (char *) "self",(char *) "range", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 (arg1
)->SetRange(arg2
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 Py_INCREF(Py_None
); resultobj
= Py_None
;
3426 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxGauge
*arg1
= (wxGauge
*) 0 ;
3430 PyObject
* obj0
= 0 ;
3432 (char *) "self", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 resultobj
= PyInt_FromLong((long)result
);
3451 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxGauge
*arg1
= (wxGauge
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self",(char *) "pos", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 (arg1
)->SetValue(arg2
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxGauge
*arg1
= (wxGauge
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3482 (char *) "self", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 resultobj
= PyInt_FromLong((long)result
);
3501 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxGauge
*arg1
= (wxGauge
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= PyInt_FromLong((long)result
);
3526 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxGauge
*arg1
= (wxGauge
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3532 (char *) "self",(char *) "w", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 (arg1
)->SetShadowWidth(arg2
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 Py_INCREF(Py_None
); resultobj
= Py_None
;
3551 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxGauge
*arg1
= (wxGauge
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3557 (char *) "self", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= PyInt_FromLong((long)result
);
3576 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
*resultobj
;
3578 wxGauge
*arg1
= (wxGauge
*) 0 ;
3580 PyObject
* obj0
= 0 ;
3582 (char *) "self",(char *) "w", NULL
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 (arg1
)->SetBezelFace(arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 Py_INCREF(Py_None
); resultobj
= Py_None
;
3601 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
;
3603 wxGauge
*arg1
= (wxGauge
*) 0 ;
3605 PyObject
* obj0
= 0 ;
3607 (char *) "self", NULL
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= PyInt_FromLong((long)result
);
3626 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3629 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3631 return Py_BuildValue((char *)"");
3633 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3634 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3639 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3644 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3646 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3653 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3654 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3659 static PyObject
*_wrap_StaticBoxNameStr_get() {
3664 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3666 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3673 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3674 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3679 static PyObject
*_wrap_StaticTextNameStr_get() {
3684 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3686 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3693 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3695 wxWindow
*arg1
= (wxWindow
*) 0 ;
3697 wxString
*arg3
= 0 ;
3698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3702 long arg6
= (long) 0 ;
3703 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3705 wxStaticBox
*result
;
3706 bool temp3
= False
;
3709 bool temp7
= False
;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj2
= 0 ;
3712 PyObject
* obj3
= 0 ;
3713 PyObject
* obj4
= 0 ;
3714 PyObject
* obj6
= 0 ;
3716 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3722 arg3
= wxString_in_helper(obj2
);
3723 if (arg3
== NULL
) SWIG_fail
;
3729 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3735 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3740 arg7
= wxString_in_helper(obj6
);
3741 if (arg7
== NULL
) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= wxPyMake_wxObject(result
);
3777 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3779 wxStaticBox
*result
;
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= (wxStaticBox
*)new wxStaticBox();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3793 resultobj
= wxPyMake_wxObject(result
);
3801 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3803 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3804 wxWindow
*arg2
= (wxWindow
*) 0 ;
3806 wxString
*arg4
= 0 ;
3807 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3808 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3809 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3810 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3811 long arg7
= (long) 0 ;
3812 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3813 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3815 bool temp4
= False
;
3818 bool temp8
= False
;
3819 PyObject
* obj0
= 0 ;
3820 PyObject
* obj1
= 0 ;
3821 PyObject
* obj3
= 0 ;
3822 PyObject
* obj4
= 0 ;
3823 PyObject
* obj5
= 0 ;
3824 PyObject
* obj7
= 0 ;
3826 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3833 arg4
= wxString_in_helper(obj3
);
3834 if (arg4
== NULL
) SWIG_fail
;
3840 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3846 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3851 arg8
= wxString_in_helper(obj7
);
3852 if (arg8
== NULL
) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= PyInt_FromLong((long)result
);
3886 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3889 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3891 return Py_BuildValue((char *)"");
3893 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxWindow
*arg1
= (wxWindow
*) 0 ;
3897 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3898 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3899 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3900 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3901 long arg5
= (long) wxLI_HORIZONTAL
;
3902 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3903 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3904 wxStaticLine
*result
;
3907 bool temp6
= False
;
3908 PyObject
* obj0
= 0 ;
3909 PyObject
* obj2
= 0 ;
3910 PyObject
* obj3
= 0 ;
3911 PyObject
* obj5
= 0 ;
3913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3921 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3927 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3932 arg6
= wxString_in_helper(obj5
);
3933 if (arg6
== NULL
) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3959 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3961 wxStaticLine
*result
;
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 result
= (wxStaticLine
*)new wxStaticLine();
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3981 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3984 wxWindow
*arg2
= (wxWindow
*) 0 ;
3986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3990 long arg6
= (long) wxLI_HORIZONTAL
;
3991 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3992 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3996 bool temp7
= False
;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
3999 PyObject
* obj3
= 0 ;
4000 PyObject
* obj4
= 0 ;
4001 PyObject
* obj6
= 0 ;
4003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4023 arg7
= wxString_in_helper(obj6
);
4024 if (arg7
== NULL
) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= PyInt_FromLong((long)result
);
4050 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "self", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 resultobj
= PyInt_FromLong((long)result
);
4075 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (int)wxStaticLine::GetDefaultSize();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= PyInt_FromLong((long)result
);
4097 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4100 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4102 return Py_BuildValue((char *)"");
4104 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxWindow
*arg1
= (wxWindow
*) 0 ;
4108 wxString
*arg3
= 0 ;
4109 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4110 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4111 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4112 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4113 long arg6
= (long) 0 ;
4114 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4115 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4116 wxStaticText
*result
;
4117 bool temp3
= False
;
4120 bool temp7
= False
;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj2
= 0 ;
4123 PyObject
* obj3
= 0 ;
4124 PyObject
* obj4
= 0 ;
4125 PyObject
* obj6
= 0 ;
4127 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4133 arg3
= wxString_in_helper(obj2
);
4134 if (arg3
== NULL
) SWIG_fail
;
4140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4151 arg7
= wxString_in_helper(obj6
);
4152 if (arg7
== NULL
) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4186 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxStaticText
*result
;
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (wxStaticText
*)new wxStaticText();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4208 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4211 wxWindow
*arg2
= (wxWindow
*) 0 ;
4213 wxString
*arg4
= 0 ;
4214 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4215 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4216 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4217 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4218 long arg7
= (long) 0 ;
4219 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4220 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4222 bool temp4
= False
;
4225 bool temp8
= False
;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4228 PyObject
* obj3
= 0 ;
4229 PyObject
* obj4
= 0 ;
4230 PyObject
* obj5
= 0 ;
4231 PyObject
* obj7
= 0 ;
4233 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4240 arg4
= wxString_in_helper(obj3
);
4241 if (arg4
== NULL
) SWIG_fail
;
4247 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4253 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4258 arg8
= wxString_in_helper(obj7
);
4259 if (arg8
== NULL
) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= PyInt_FromLong((long)result
);
4293 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4296 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4298 return Py_BuildValue((char *)"");
4300 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxWindow
*arg1
= (wxWindow
*) 0 ;
4304 wxBitmap
*arg3
= 0 ;
4305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4309 long arg6
= (long) 0 ;
4310 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4311 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4312 wxStaticBitmap
*result
;
4315 bool temp7
= False
;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj2
= 0 ;
4318 PyObject
* obj3
= 0 ;
4319 PyObject
* obj4
= 0 ;
4320 PyObject
* obj6
= 0 ;
4322 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4327 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4329 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4345 arg7
= wxString_in_helper(obj6
);
4346 if (arg7
== NULL
) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4372 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxStaticBitmap
*result
;
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4394 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4397 wxWindow
*arg2
= (wxWindow
*) 0 ;
4399 wxBitmap
*arg4
= 0 ;
4400 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4401 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4402 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4403 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4404 long arg7
= (long) 0 ;
4405 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4406 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4410 bool temp8
= False
;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 PyObject
* obj3
= 0 ;
4414 PyObject
* obj4
= 0 ;
4415 PyObject
* obj5
= 0 ;
4416 PyObject
* obj7
= 0 ;
4418 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4424 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4431 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4437 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4442 arg8
= wxString_in_helper(obj7
);
4443 if (arg8
== NULL
) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= PyInt_FromLong((long)result
);
4469 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4473 PyObject
* obj0
= 0 ;
4475 (char *) "self", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (arg1
)->GetBitmap();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4488 wxBitmap
* resultptr
;
4489 resultptr
= new wxBitmap((wxBitmap
&) result
);
4490 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4498 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4501 wxBitmap
*arg2
= 0 ;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4505 (char *) "self",(char *) "bitmap", NULL
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4512 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 Py_INCREF(Py_None
); resultobj
= Py_None
;
4528 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4533 PyObject
* obj1
= 0 ;
4535 (char *) "self",(char *) "icon", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4542 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 Py_INCREF(Py_None
); resultobj
= Py_None
;
4558 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4561 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4563 return Py_BuildValue((char *)"");
4565 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4566 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4571 static PyObject
*_wrap_ListBoxNameStr_get() {
4576 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4578 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4585 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxWindow
*arg1
= (wxWindow
*) 0 ;
4589 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4590 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4591 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4592 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4593 int arg5
= (int) 0 ;
4594 wxString
*arg6
= (wxString
*) NULL
;
4595 long arg7
= (long) 0 ;
4596 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4597 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4598 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4599 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4603 bool temp8
= False
;
4604 PyObject
* obj0
= 0 ;
4605 PyObject
* obj2
= 0 ;
4606 PyObject
* obj3
= 0 ;
4607 PyObject
* obj4
= 0 ;
4608 PyObject
* obj6
= 0 ;
4609 PyObject
* obj7
= 0 ;
4611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4619 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4625 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4630 arg5
= PyList_Size(obj4
);
4631 arg6
= wxString_LIST_helper(obj4
);
4632 if (arg6
== NULL
) SWIG_fail
;
4636 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4643 arg9
= wxString_in_helper(obj7
);
4644 if (arg9
== NULL
) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4657 if (arg6
) delete [] arg6
;
4666 if (arg6
) delete [] arg6
;
4676 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
;
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 result
= (wxListBox
*)new wxListBox();
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4698 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
;
4700 wxListBox
*arg1
= (wxListBox
*) 0 ;
4701 wxWindow
*arg2
= (wxWindow
*) 0 ;
4703 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4704 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4705 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4706 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4707 int arg6
= (int) 0 ;
4708 wxString
*arg7
= (wxString
*) NULL
;
4709 long arg8
= (long) 0 ;
4710 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4711 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4712 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4713 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4717 bool temp9
= False
;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4720 PyObject
* obj3
= 0 ;
4721 PyObject
* obj4
= 0 ;
4722 PyObject
* obj5
= 0 ;
4723 PyObject
* obj7
= 0 ;
4724 PyObject
* obj8
= 0 ;
4726 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4735 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4741 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4746 arg6
= PyList_Size(obj5
);
4747 arg7
= wxString_LIST_helper(obj5
);
4748 if (arg7
== NULL
) SWIG_fail
;
4752 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4754 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4759 arg10
= wxString_in_helper(obj8
);
4760 if (arg10
== NULL
) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= PyInt_FromLong((long)result
);
4773 if (arg7
) delete [] arg7
;
4782 if (arg7
) delete [] arg7
;
4792 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
*resultobj
;
4794 wxListBox
*arg1
= (wxListBox
*) 0 ;
4795 wxString
*arg2
= 0 ;
4797 PyObject
*arg4
= (PyObject
*) NULL
;
4798 bool temp2
= False
;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4801 PyObject
* obj3
= 0 ;
4803 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4809 arg2
= wxString_in_helper(obj1
);
4810 if (arg2
== NULL
) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 Py_INCREF(Py_None
); resultobj
= Py_None
;
4838 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4840 wxListBox
*arg1
= (wxListBox
*) 0 ;
4841 wxArrayString
*arg2
= 0 ;
4843 PyObject
* obj0
= 0 ;
4844 PyObject
* obj1
= 0 ;
4846 (char *) "self",(char *) "items",(char *) "pos", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4852 if (! PySequence_Check(obj1
)) {
4853 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4856 arg2
= new wxArrayString
;
4857 int i
, len
=PySequence_Length(obj1
);
4858 for (i
=0; i
<len
; i
++) {
4859 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4861 PyObject
* str
= PyObject_Unicode(item
);
4863 PyObject
* str
= PyObject_Str(item
);
4865 arg2
->Add(Py2wxString(str
));
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 if (arg2
) delete arg2
;
4884 if (arg2
) delete arg2
;
4890 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxListBox
*arg1
= (wxListBox
*) 0 ;
4893 wxArrayString
*arg2
= 0 ;
4894 PyObject
* obj0
= 0 ;
4895 PyObject
* obj1
= 0 ;
4897 (char *) "self",(char *) "items", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4903 if (! PySequence_Check(obj1
)) {
4904 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4907 arg2
= new wxArrayString
;
4908 int i
, len
=PySequence_Length(obj1
);
4909 for (i
=0; i
<len
; i
++) {
4910 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4912 PyObject
* str
= PyObject_Unicode(item
);
4914 PyObject
* str
= PyObject_Str(item
);
4916 arg2
->Add(Py2wxString(str
));
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 (arg1
)->Set((wxArrayString
const &)*arg2
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 Py_INCREF(Py_None
); resultobj
= Py_None
;
4930 if (arg2
) delete arg2
;
4935 if (arg2
) delete arg2
;
4941 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxListBox
*arg1
= (wxListBox
*) 0 ;
4946 PyObject
* obj0
= 0 ;
4948 (char *) "self",(char *) "n", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= PyInt_FromLong((long)result
);
4967 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxListBox
*arg1
= (wxListBox
*) 0 ;
4971 bool arg3
= (bool) True
;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj2
= 0 ;
4975 (char *) "self",(char *) "n",(char *) "select", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4982 arg3
= (bool) SPyObj_AsBool(obj2
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 (arg1
)->SetSelection(arg2
,arg3
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 Py_INCREF(Py_None
); resultobj
= Py_None
;
5000 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxListBox
*arg1
= (wxListBox
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5006 (char *) "self",(char *) "n", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
5010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 (arg1
)->Select(arg2
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 Py_INCREF(Py_None
); resultobj
= Py_None
;
5025 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxListBox
*arg1
= (wxListBox
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5031 (char *) "self",(char *) "n", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 (arg1
)->Deselect(arg2
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 Py_INCREF(Py_None
); resultobj
= Py_None
;
5050 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxListBox
*arg1
= (wxListBox
*) 0 ;
5053 int arg2
= (int) -1 ;
5054 PyObject
* obj0
= 0 ;
5056 (char *) "self",(char *) "itemToLeaveSelected", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 (arg1
)->DeselectAll(arg2
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 Py_INCREF(Py_None
); resultobj
= Py_None
;
5075 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxListBox
*arg1
= (wxListBox
*) 0 ;
5078 wxString
*arg2
= 0 ;
5079 bool arg3
= (bool) True
;
5081 bool temp2
= False
;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5084 PyObject
* obj2
= 0 ;
5086 (char *) "self",(char *) "s",(char *) "select", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5092 arg2
= wxString_in_helper(obj1
);
5093 if (arg2
== NULL
) SWIG_fail
;
5098 arg3
= (bool) SPyObj_AsBool(obj2
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= PyInt_FromLong((long)result
);
5124 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxListBox
*arg1
= (wxListBox
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5130 (char *) "self", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5149 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxListBox
*arg1
= (wxListBox
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5155 (char *) "self",(char *) "n", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
5159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 (arg1
)->SetFirstItem(arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 Py_INCREF(Py_None
); resultobj
= Py_None
;
5174 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxListBox
*arg1
= (wxListBox
*) 0 ;
5177 wxString
*arg2
= 0 ;
5178 bool temp2
= False
;
5179 PyObject
* obj0
= 0 ;
5180 PyObject
* obj1
= 0 ;
5182 (char *) "self",(char *) "s", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5188 arg2
= wxString_in_helper(obj1
);
5189 if (arg2
== NULL
) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 Py_INCREF(Py_None
); resultobj
= Py_None
;
5214 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
;
5216 wxListBox
*arg1
= (wxListBox
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5220 (char *) "self",(char *) "n", NULL
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 (arg1
)->EnsureVisible(arg2
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 Py_INCREF(Py_None
); resultobj
= Py_None
;
5239 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxListBox
*arg1
= (wxListBox
*) 0 ;
5242 wxString
*arg2
= 0 ;
5243 bool temp2
= False
;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5247 (char *) "self",(char *) "s", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5253 arg2
= wxString_in_helper(obj1
);
5254 if (arg2
== NULL
) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 Py_INCREF(Py_None
); resultobj
= Py_None
;
5279 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxListBox
*arg1
= (wxListBox
*) 0 ;
5283 PyObject
* obj0
= 0 ;
5285 (char *) "self", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= PyInt_FromLong((long)result
);
5304 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5307 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5309 return Py_BuildValue((char *)"");
5311 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxWindow
*arg1
= (wxWindow
*) 0 ;
5315 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5316 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5317 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5318 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5319 int arg5
= (int) 0 ;
5320 wxString
*arg6
= (wxString
*) NULL
;
5321 long arg7
= (long) 0 ;
5322 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5323 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5324 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5325 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5326 wxCheckListBox
*result
;
5329 bool temp8
= False
;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj2
= 0 ;
5332 PyObject
* obj3
= 0 ;
5333 PyObject
* obj4
= 0 ;
5334 PyObject
* obj6
= 0 ;
5335 PyObject
* obj7
= 0 ;
5337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5345 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5351 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5356 arg5
= PyList_Size(obj4
);
5357 arg6
= wxString_LIST_helper(obj4
);
5358 if (arg6
== NULL
) SWIG_fail
;
5362 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5364 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5369 arg9
= wxString_in_helper(obj7
);
5370 if (arg9
== NULL
) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5383 if (arg6
) delete [] arg6
;
5392 if (arg6
) delete [] arg6
;
5402 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxCheckListBox
*result
;
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 result
= (wxCheckListBox
*)new wxCheckListBox();
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5424 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5427 wxWindow
*arg2
= (wxWindow
*) 0 ;
5429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5433 int arg6
= (int) 0 ;
5434 wxString
*arg7
= (wxString
*) NULL
;
5435 long arg8
= (long) 0 ;
5436 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5437 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5438 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5439 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5443 bool temp9
= False
;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5446 PyObject
* obj3
= 0 ;
5447 PyObject
* obj4
= 0 ;
5448 PyObject
* obj5
= 0 ;
5449 PyObject
* obj7
= 0 ;
5450 PyObject
* obj8
= 0 ;
5452 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5457 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5472 arg6
= PyList_Size(obj5
);
5473 arg7
= wxString_LIST_helper(obj5
);
5474 if (arg7
== NULL
) SWIG_fail
;
5478 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5480 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5485 arg10
= wxString_in_helper(obj8
);
5486 if (arg10
== NULL
) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= PyInt_FromLong((long)result
);
5499 if (arg7
) delete [] arg7
;
5508 if (arg7
) delete [] arg7
;
5518 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self",(char *) "index", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (bool)(arg1
)->IsChecked(arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= PyInt_FromLong((long)result
);
5544 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5548 int arg3
= (int) True
;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self",(char *) "index",(char *) "check", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->Check(arg2
,arg3
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5579 (char *) "self",(char *) "pt", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5586 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= PyInt_FromLong((long)result
);
5602 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5610 (char *) "self",(char *) "x",(char *) "y", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= PyInt_FromLong((long)result
);
5629 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5632 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5634 return Py_BuildValue((char *)"");
5636 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
5637 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
5642 static PyObject
*_wrap_TextCtrlNameStr_get() {
5647 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5649 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5656 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5657 PyObject
*resultobj
;
5660 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (wxTextAttr
*)new wxTextAttr();
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5675 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5676 PyObject
*resultobj
;
5677 wxColour
*arg1
= 0 ;
5678 wxColour
const &arg2_defvalue
= wxNullColour
;
5679 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5680 wxFont
const &arg3_defvalue
= wxNullFont
;
5681 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5682 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5690 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5693 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5698 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5702 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5704 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5721 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5726 argc
= PyObject_Length(args
);
5727 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5728 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5731 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5733 if ((argc
>= 1) && (argc
<= 4)) {
5736 _v
= wxColour_typecheck(argv
[0]);
5740 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5743 _v
= wxColour_typecheck(argv
[1]);
5747 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5751 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5760 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5762 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5768 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5773 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5797 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5800 wxColour
*arg2
= 0 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5805 (char *) "self",(char *) "colText", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5812 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 Py_INCREF(Py_None
); resultobj
= Py_None
;
5828 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5831 wxColour
*arg2
= 0 ;
5833 PyObject
* obj0
= 0 ;
5834 PyObject
* obj1
= 0 ;
5836 (char *) "self",(char *) "colBack", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5863 long arg3
= (long) wxTEXT_ATTR_FONT
;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5867 (char *) "self",(char *) "font",(char *) "flags", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5874 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 Py_INCREF(Py_None
); resultobj
= Py_None
;
5890 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5894 PyObject
* obj0
= 0 ;
5896 (char *) "self",(char *) "alignment", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 Py_INCREF(Py_None
); resultobj
= Py_None
;
5915 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
;
5917 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5918 wxArrayInt
*arg2
= 0 ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5922 (char *) "self",(char *) "tabs", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5928 if (! PySequence_Check(obj1
)) {
5929 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5932 arg2
= new wxArrayInt
;
5933 int i
, len
=PySequence_Length(obj1
);
5934 for (i
=0; i
<len
; i
++) {
5935 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5936 PyObject
* number
= PyNumber_Int(item
);
5937 arg2
->Add(PyInt_AS_LONG(number
));
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 if (arg2
) delete arg2
;
5956 if (arg2
) delete arg2
;
5962 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5968 (char *) "self",(char *) "indent", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 (arg1
)->SetLeftIndent(arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 Py_INCREF(Py_None
); resultobj
= Py_None
;
5987 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5991 PyObject
* obj0
= 0 ;
5993 (char *) "self",(char *) "indent", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 (arg1
)->SetRightIndent(arg2
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 Py_INCREF(Py_None
); resultobj
= Py_None
;
6012 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6018 (char *) "self",(char *) "flags", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 (arg1
)->SetFlags(arg2
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 Py_INCREF(Py_None
); resultobj
= Py_None
;
6037 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6043 (char *) "self", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= PyInt_FromLong((long)result
);
6062 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "self", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= PyInt_FromLong((long)result
);
6087 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6093 (char *) "self", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= PyInt_FromLong((long)result
);
6112 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6118 (char *) "self", NULL
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= PyInt_FromLong((long)result
);
6137 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6143 (char *) "self", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= PyInt_FromLong((long)result
);
6162 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6168 (char *) "self", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= PyInt_FromLong((long)result
);
6187 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "self", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 resultobj
= PyInt_FromLong((long)result
);
6212 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6219 (char *) "self",(char *) "flag", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= PyInt_FromLong((long)result
);
6238 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6244 (char *) "self", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6253 result
= (wxColour
*) &_result_ref
;
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6266 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6281 result
= (wxColour
*) &_result_ref
;
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6294 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6309 result
= (wxFont
*) &_result_ref
;
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6322 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "self", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= PyInt_FromLong((long)result
);
6347 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6362 result
= (wxArrayInt
*) &_result_ref
;
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= PyList_New(0);
6371 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6372 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6373 PyList_Append(resultobj
, val
);
6383 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
;
6385 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6389 (char *) "self", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= PyInt_FromLong((long)result
);
6408 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6414 (char *) "self", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= PyInt_FromLong((long)result
);
6433 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= PyInt_FromLong((long)result
);
6458 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= PyInt_FromLong((long)result
);
6483 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
;
6485 wxTextAttr
*arg1
= 0 ;
6486 wxTextAttr
*arg2
= 0 ;
6487 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6490 PyObject
* obj1
= 0 ;
6491 PyObject
* obj2
= 0 ;
6493 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6503 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6505 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 wxTextAttr
* resultptr
;
6515 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6516 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6524 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6527 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6529 return Py_BuildValue((char *)"");
6531 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 wxWindow
*arg1
= (wxWindow
*) 0 ;
6535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6537 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6538 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6539 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6540 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6541 long arg6
= (long) 0 ;
6542 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6543 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6544 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6545 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6547 bool temp3
= False
;
6550 bool temp8
= False
;
6551 PyObject
* obj0
= 0 ;
6552 PyObject
* obj2
= 0 ;
6553 PyObject
* obj3
= 0 ;
6554 PyObject
* obj4
= 0 ;
6555 PyObject
* obj6
= 0 ;
6556 PyObject
* obj7
= 0 ;
6558 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6565 arg3
= wxString_in_helper(obj2
);
6566 if (arg3
== NULL
) SWIG_fail
;
6573 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6579 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6583 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6585 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6590 arg8
= wxString_in_helper(obj7
);
6591 if (arg8
== NULL
) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= wxPyMake_wxObject(result
);
6627 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (wxTextCtrl
*)new wxTextCtrl();
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= wxPyMake_wxObject(result
);
6651 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6654 wxWindow
*arg2
= (wxWindow
*) 0 ;
6656 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6657 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6658 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6659 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6660 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6661 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6662 long arg7
= (long) 0 ;
6663 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6664 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6665 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6666 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6668 bool temp4
= False
;
6671 bool temp9
= False
;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6674 PyObject
* obj3
= 0 ;
6675 PyObject
* obj4
= 0 ;
6676 PyObject
* obj5
= 0 ;
6677 PyObject
* obj7
= 0 ;
6678 PyObject
* obj8
= 0 ;
6680 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6688 arg4
= wxString_in_helper(obj3
);
6689 if (arg4
== NULL
) SWIG_fail
;
6696 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6702 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6706 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6708 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6713 arg9
= wxString_in_helper(obj8
);
6714 if (arg9
== NULL
) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= PyInt_FromLong((long)result
);
6748 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6754 (char *) "self", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6779 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6782 wxString
*arg2
= 0 ;
6783 bool temp2
= False
;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6787 (char *) "self",(char *) "value", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6793 arg2
= wxString_in_helper(obj1
);
6794 if (arg2
== NULL
) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 (arg1
)->SetValue((wxString
const &)*arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 Py_INCREF(Py_None
); resultobj
= Py_None
;
6819 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6827 (char *) "self",(char *) "from",(char *) "to", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6852 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self",(char *) "lineNo", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= PyInt_FromLong((long)result
);
6878 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6885 (char *) "self",(char *) "lineNo", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6910 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6916 (char *) "self", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= PyInt_FromLong((long)result
);
6935 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) 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
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= PyInt_FromLong((long)result
);
6960 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "self", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= PyInt_FromLong((long)result
);
6985 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6989 PyObject
* obj0
= 0 ;
6991 (char *) "self", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= PyInt_FromLong((long)result
);
7010 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7016 (char *) "self", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= PyInt_FromLong((long)result
);
7035 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7038 long *arg2
= (long *) 0 ;
7039 long *arg3
= (long *) 0 ;
7042 PyObject
* obj0
= 0 ;
7044 (char *) "self", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 Py_INCREF(Py_None
); resultobj
= Py_None
;
7060 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7061 resultobj
= t_output_helper(resultobj
,o
);
7064 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7065 resultobj
= t_output_helper(resultobj
,o
);
7073 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7079 (char *) "self", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7104 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "self", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 Py_INCREF(Py_None
); resultobj
= Py_None
;
7128 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7133 wxString
*arg4
= 0 ;
7134 bool temp4
= False
;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj3
= 0 ;
7138 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7144 arg4
= wxString_in_helper(obj3
);
7145 if (arg4
== NULL
) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 Py_INCREF(Py_None
); resultobj
= Py_None
;
7170 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7175 PyObject
* obj0
= 0 ;
7177 (char *) "self",(char *) "from",(char *) "to", NULL
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 (arg1
)->Remove(arg2
,arg3
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 Py_INCREF(Py_None
); resultobj
= Py_None
;
7196 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7199 wxString
*arg2
= 0 ;
7201 bool temp2
= False
;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "file", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7211 arg2
= wxString_in_helper(obj1
);
7212 if (arg2
== NULL
) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= PyInt_FromLong((long)result
);
7237 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7240 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7241 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7243 bool temp2
= False
;
7244 PyObject
* obj0
= 0 ;
7245 PyObject
* obj1
= 0 ;
7247 (char *) "self",(char *) "file", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7254 arg2
= wxString_in_helper(obj1
);
7255 if (arg2
== NULL
) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= PyInt_FromLong((long)result
);
7281 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "self", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 (arg1
)->MarkDirty();
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 Py_INCREF(Py_None
); resultobj
= Py_None
;
7305 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7308 PyObject
* obj0
= 0 ;
7310 (char *) "self", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 (arg1
)->DiscardEdits();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 Py_INCREF(Py_None
); resultobj
= Py_None
;
7329 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7332 unsigned long arg2
;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7336 (char *) "self",(char *) "len", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7342 arg2
= (unsigned long) SPyObj_AsUnsignedLong(obj1
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 (arg1
)->SetMaxLength(arg2
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 Py_INCREF(Py_None
); resultobj
= Py_None
;
7359 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7362 wxString
*arg2
= 0 ;
7363 bool temp2
= False
;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7367 (char *) "self",(char *) "text", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7373 arg2
= wxString_in_helper(obj1
);
7374 if (arg2
== NULL
) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 (arg1
)->WriteText((wxString
const &)*arg2
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7402 wxString
*arg2
= 0 ;
7403 bool temp2
= False
;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7407 (char *) "self",(char *) "text", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7413 arg2
= wxString_in_helper(obj1
);
7414 if (arg2
== NULL
) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 (arg1
)->AppendText((wxString
const &)*arg2
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7439 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7442 wxKeyEvent
*arg2
= 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7447 (char *) "self",(char *) "event", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= PyInt_FromLong((long)result
);
7470 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7475 wxTextAttr
*arg4
= 0 ;
7477 PyObject
* obj0
= 0 ;
7478 PyObject
* obj3
= 0 ;
7480 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7485 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= PyInt_FromLong((long)result
);
7503 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7507 wxTextAttr
*arg3
= 0 ;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj2
= 0 ;
7512 (char *) "self",(char *) "position",(char *) "style", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7517 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7519 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= PyInt_FromLong((long)result
);
7535 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7538 wxTextAttr
*arg2
= 0 ;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7543 (char *) "self",(char *) "style", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= PyInt_FromLong((long)result
);
7566 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7572 (char *) "self", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7581 result
= (wxTextAttr
*) &_result_ref
;
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7594 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7602 (char *) "self",(char *) "x",(char *) "y", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= PyInt_FromLong((long)result
);
7621 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7625 long *arg3
= (long *) 0 ;
7626 long *arg4
= (long *) 0 ;
7629 PyObject
* obj0
= 0 ;
7631 (char *) "self",(char *) "pos", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 Py_INCREF(Py_None
); resultobj
= Py_None
;
7647 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7648 resultobj
= t_output_helper(resultobj
,o
);
7651 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7652 resultobj
= t_output_helper(resultobj
,o
);
7660 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7666 (char *) "self",(char *) "pos", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 (arg1
)->ShowPosition(arg2
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 Py_INCREF(Py_None
); resultobj
= Py_None
;
7685 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 Py_INCREF(Py_None
); resultobj
= Py_None
;
7733 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "self", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 Py_INCREF(Py_None
); resultobj
= Py_None
;
7757 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "self", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= PyInt_FromLong((long)result
);
7782 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7788 (char *) "self", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= PyInt_FromLong((long)result
);
7807 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7813 (char *) "self", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= PyInt_FromLong((long)result
);
7832 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7837 (char *) "self", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 Py_INCREF(Py_None
); resultobj
= Py_None
;
7856 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7859 PyObject
* obj0
= 0 ;
7861 (char *) "self", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 Py_INCREF(Py_None
); resultobj
= Py_None
;
7880 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7884 PyObject
* obj0
= 0 ;
7886 (char *) "self", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 resultobj
= PyInt_FromLong((long)result
);
7905 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7911 (char *) "self", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= PyInt_FromLong((long)result
);
7930 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7934 PyObject
* obj0
= 0 ;
7936 (char *) "self",(char *) "pos", NULL
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->SetInsertionPoint(arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 (arg1
)->SetInsertionPointEnd();
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 Py_INCREF(Py_None
); resultobj
= Py_None
;
7979 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7985 (char *) "self", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= PyInt_FromLong((long)result
);
8004 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8010 (char *) "self", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= PyInt_FromLong((long)result
);
8029 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
;
8031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self",(char *) "from",(char *) "to", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 (arg1
)->SetSelection(arg2
,arg3
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 Py_INCREF(Py_None
); resultobj
= Py_None
;
8055 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
;
8057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "self", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 (arg1
)->SelectAll();
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 Py_INCREF(Py_None
); resultobj
= Py_None
;
8079 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8086 (char *) "self",(char *) "editable", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8092 arg2
= (bool) SPyObj_AsBool(obj1
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 (arg1
)->SetEditable(arg2
);
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 Py_INCREF(Py_None
); resultobj
= Py_None
;
8109 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8112 wxString
*arg2
= 0 ;
8113 bool temp2
= False
;
8114 PyObject
* obj0
= 0 ;
8115 PyObject
* obj1
= 0 ;
8117 (char *) "self",(char *) "text", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8123 arg2
= wxString_in_helper(obj1
);
8124 if (arg2
== NULL
) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 Py_INCREF(Py_None
); resultobj
= Py_None
;
8149 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self",(char *) "from",(char *) "to", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8182 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8185 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8187 return Py_BuildValue((char *)"");
8189 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8192 wxMouseEvent
*arg2
= 0 ;
8195 wxTextUrlEvent
*result
;
8196 PyObject
* obj1
= 0 ;
8198 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
8202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8220 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8223 wxMouseEvent
*result
;
8224 PyObject
* obj0
= 0 ;
8226 (char *) "self", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8235 result
= (wxMouseEvent
*) &_result_ref
;
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8248 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8252 PyObject
* obj0
= 0 ;
8254 (char *) "self", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= PyInt_FromLong((long)result
);
8273 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8277 PyObject
* obj0
= 0 ;
8279 (char *) "self", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= PyInt_FromLong((long)result
);
8298 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8301 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8303 return Py_BuildValue((char *)"");
8305 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
8306 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
8311 static PyObject
*_wrap_ScrollBarNameStr_get() {
8316 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8318 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8325 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxWindow
*arg1
= (wxWindow
*) 0 ;
8328 int arg2
= (int) -1 ;
8329 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8330 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8331 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8332 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8333 long arg5
= (long) wxSB_HORIZONTAL
;
8334 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8335 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8336 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8338 wxScrollBar
*result
;
8341 bool temp7
= False
;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj2
= 0 ;
8344 PyObject
* obj3
= 0 ;
8345 PyObject
* obj5
= 0 ;
8346 PyObject
* obj6
= 0 ;
8348 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8356 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8362 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8366 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8368 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8373 arg7
= wxString_in_helper(obj6
);
8374 if (arg7
== NULL
) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8400 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxScrollBar
*result
;
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (wxScrollBar
*)new wxScrollBar();
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8422 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8425 wxWindow
*arg2
= (wxWindow
*) 0 ;
8426 int arg3
= (int) -1 ;
8427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8431 long arg6
= (long) wxSB_HORIZONTAL
;
8432 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8433 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8434 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8435 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8439 bool temp8
= False
;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8442 PyObject
* obj3
= 0 ;
8443 PyObject
* obj4
= 0 ;
8444 PyObject
* obj6
= 0 ;
8445 PyObject
* obj7
= 0 ;
8447 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8462 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8466 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8468 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8473 arg8
= wxString_in_helper(obj7
);
8474 if (arg8
== NULL
) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= PyInt_FromLong((long)result
);
8500 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
*resultobj
;
8502 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8504 PyObject
* obj0
= 0 ;
8506 (char *) "self", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= PyInt_FromLong((long)result
);
8525 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8529 PyObject
* obj0
= 0 ;
8531 (char *) "self", NULL
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8543 resultobj
= PyInt_FromLong((long)result
);
8550 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8556 (char *) "self", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= PyInt_FromLong((long)result
);
8575 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8579 PyObject
* obj0
= 0 ;
8581 (char *) "self", NULL
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= PyInt_FromLong((long)result
);
8600 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8604 PyObject
* obj0
= 0 ;
8606 (char *) "self", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= PyInt_FromLong((long)result
);
8625 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8629 PyObject
* obj0
= 0 ;
8631 (char *) "self",(char *) "viewStart", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 (arg1
)->SetThumbPosition(arg2
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 Py_INCREF(Py_None
); resultobj
= Py_None
;
8650 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
;
8652 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8657 bool arg6
= (bool) True
;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj5
= 0 ;
8661 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8668 arg6
= (bool) SPyObj_AsBool(obj5
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8689 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8691 return Py_BuildValue((char *)"");
8693 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
8694 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
8699 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
8704 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8706 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8713 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
8714 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
8719 static PyObject
*_wrap_SpinCtrlNameStr_get() {
8724 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8726 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8733 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxWindow
*arg1
= (wxWindow
*) 0 ;
8736 int arg2
= (int) -1 ;
8737 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8738 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8739 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8740 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8741 long arg5
= (long) wxSP_HORIZONTAL
;
8742 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8743 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8744 wxSpinButton
*result
;
8747 bool temp6
= False
;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj2
= 0 ;
8750 PyObject
* obj3
= 0 ;
8751 PyObject
* obj5
= 0 ;
8753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8761 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8767 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8772 arg6
= wxString_in_helper(obj5
);
8773 if (arg6
== NULL
) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8799 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxSpinButton
*result
;
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (wxSpinButton
*)new wxSpinButton();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8821 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8824 wxWindow
*arg2
= (wxWindow
*) 0 ;
8825 int arg3
= (int) -1 ;
8826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8830 long arg6
= (long) wxSP_HORIZONTAL
;
8831 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8832 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8836 bool temp7
= False
;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 PyObject
* obj3
= 0 ;
8840 PyObject
* obj4
= 0 ;
8841 PyObject
* obj6
= 0 ;
8843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8848 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8863 arg7
= wxString_in_helper(obj6
);
8864 if (arg7
== NULL
) SWIG_fail
;
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= PyInt_FromLong((long)result
);
8890 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= PyInt_FromLong((long)result
);
8915 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= PyInt_FromLong((long)result
);
8940 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "self", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= PyInt_FromLong((long)result
);
8965 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8969 PyObject
* obj0
= 0 ;
8971 (char *) "self",(char *) "val", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 (arg1
)->SetValue(arg2
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 Py_INCREF(Py_None
); resultobj
= Py_None
;
8990 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8994 PyObject
* obj0
= 0 ;
8996 (char *) "self",(char *) "minVal", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 (arg1
)->SetMin(arg2
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 Py_INCREF(Py_None
); resultobj
= Py_None
;
9015 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "self",(char *) "maxVal", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->SetMax(arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9045 PyObject
* obj0
= 0 ;
9047 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 (arg1
)->SetRange(arg2
,arg3
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 Py_INCREF(Py_None
); resultobj
= Py_None
;
9066 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9072 (char *) "self", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= PyInt_FromLong((long)result
);
9091 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
9093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9094 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
9096 return Py_BuildValue((char *)"");
9098 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxWindow
*arg1
= (wxWindow
*) 0 ;
9101 int arg2
= (int) -1 ;
9102 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9103 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9104 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9105 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9106 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9107 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9108 long arg6
= (long) wxSP_ARROW_KEYS
;
9109 int arg7
= (int) 0 ;
9110 int arg8
= (int) 100 ;
9111 int arg9
= (int) 0 ;
9112 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
9113 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
9115 bool temp3
= False
;
9118 bool temp10
= False
;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj2
= 0 ;
9121 PyObject
* obj3
= 0 ;
9122 PyObject
* obj4
= 0 ;
9123 PyObject
* obj9
= 0 ;
9125 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
9129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9132 arg3
= wxString_in_helper(obj2
);
9133 if (arg3
== NULL
) SWIG_fail
;
9140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9151 arg10
= wxString_in_helper(obj9
);
9152 if (arg10
== NULL
) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9186 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (wxSpinCtrl
*)new wxSpinCtrl();
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9208 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9211 wxWindow
*arg2
= (wxWindow
*) 0 ;
9212 int arg3
= (int) -1 ;
9213 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9214 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9215 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9216 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9217 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9218 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9219 long arg7
= (long) wxSP_ARROW_KEYS
;
9220 int arg8
= (int) 0 ;
9221 int arg9
= (int) 100 ;
9222 int arg10
= (int) 0 ;
9223 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
9224 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9226 bool temp4
= False
;
9229 bool temp11
= False
;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9232 PyObject
* obj3
= 0 ;
9233 PyObject
* obj4
= 0 ;
9234 PyObject
* obj5
= 0 ;
9235 PyObject
* obj10
= 0 ;
9237 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
9241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9245 arg4
= wxString_in_helper(obj3
);
9246 if (arg4
== NULL
) SWIG_fail
;
9253 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9259 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9264 arg11
= wxString_in_helper(obj10
);
9265 if (arg11
== NULL
) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= PyInt_FromLong((long)result
);
9299 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9303 PyObject
* obj0
= 0 ;
9305 (char *) "self", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= PyInt_FromLong((long)result
);
9324 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self",(char *) "value", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 (arg1
)->SetValue(arg2
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 Py_INCREF(Py_None
); resultobj
= Py_None
;
9349 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
;
9351 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9352 wxString
*arg2
= 0 ;
9353 bool temp2
= False
;
9354 PyObject
* obj0
= 0 ;
9355 PyObject
* obj1
= 0 ;
9357 (char *) "self",(char *) "text", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9363 arg2
= wxString_in_helper(obj1
);
9364 if (arg2
== NULL
) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 (arg1
)->SetValue((wxString
const &)*arg2
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 Py_INCREF(Py_None
); resultobj
= Py_None
;
9389 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9396 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 (arg1
)->SetRange(arg2
,arg3
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 Py_INCREF(Py_None
); resultobj
= Py_None
;
9415 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= PyInt_FromLong((long)result
);
9440 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9446 (char *) "self", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= PyInt_FromLong((long)result
);
9465 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self",(char *) "from",(char *) "to", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 (arg1
)->SetSelection(arg2
,arg3
);
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 Py_INCREF(Py_None
); resultobj
= Py_None
;
9491 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9494 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9496 return Py_BuildValue((char *)"");
9498 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9501 int arg2
= (int) 0 ;
9502 wxSpinEvent
*result
;
9504 (char *) "commandType",(char *) "winid", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SpinEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
9522 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= PyInt_FromLong((long)result
);
9547 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self",(char *) "pos", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 (arg1
)->SetPosition(arg2
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 Py_INCREF(Py_None
); resultobj
= Py_None
;
9572 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9575 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
9577 return Py_BuildValue((char *)"");
9579 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
9580 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
9585 static PyObject
*_wrap_RadioBoxNameStr_get() {
9590 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9592 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9599 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
9600 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
9605 static PyObject
*_wrap_RadioButtonNameStr_get() {
9610 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9612 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9619 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxWindow
*arg1
= (wxWindow
*) 0 ;
9623 wxString
*arg3
= 0 ;
9624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9628 int arg6
= (int) 0 ;
9629 wxString
*arg7
= (wxString
*) NULL
;
9630 int arg8
= (int) 0 ;
9631 long arg9
= (long) wxRA_HORIZONTAL
;
9632 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9633 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9634 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9635 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9637 bool temp3
= False
;
9640 bool temp10
= False
;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj2
= 0 ;
9643 PyObject
* obj3
= 0 ;
9644 PyObject
* obj4
= 0 ;
9645 PyObject
* obj5
= 0 ;
9646 PyObject
* obj8
= 0 ;
9647 PyObject
* obj9
= 0 ;
9649 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9655 arg3
= wxString_in_helper(obj2
);
9656 if (arg3
== NULL
) SWIG_fail
;
9662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9673 arg6
= PyList_Size(obj5
);
9674 arg7
= wxString_LIST_helper(obj5
);
9675 if (arg7
== NULL
) SWIG_fail
;
9679 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9680 if (arg10
== NULL
) {
9681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9686 arg11
= wxString_in_helper(obj9
);
9687 if (arg11
== NULL
) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 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
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9704 if (arg7
) delete [] arg7
;
9717 if (arg7
) delete [] arg7
;
9727 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (wxRadioBox
*)new wxRadioBox();
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9749 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9752 wxWindow
*arg2
= (wxWindow
*) 0 ;
9754 wxString
*arg4
= 0 ;
9755 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9756 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9757 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9758 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9759 int arg7
= (int) 0 ;
9760 wxString
*arg8
= (wxString
*) NULL
;
9761 int arg9
= (int) 0 ;
9762 long arg10
= (long) wxRA_HORIZONTAL
;
9763 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9764 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9765 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9766 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9768 bool temp4
= False
;
9771 bool temp11
= False
;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9774 PyObject
* obj3
= 0 ;
9775 PyObject
* obj4
= 0 ;
9776 PyObject
* obj5
= 0 ;
9777 PyObject
* obj6
= 0 ;
9778 PyObject
* obj9
= 0 ;
9779 PyObject
* obj10
= 0 ;
9781 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9788 arg4
= wxString_in_helper(obj3
);
9789 if (arg4
== NULL
) SWIG_fail
;
9795 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9801 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9806 arg7
= PyList_Size(obj6
);
9807 arg8
= wxString_LIST_helper(obj6
);
9808 if (arg8
== NULL
) SWIG_fail
;
9812 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9813 if (arg11
== NULL
) {
9814 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9819 arg12
= wxString_in_helper(obj10
);
9820 if (arg12
== NULL
) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 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
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= PyInt_FromLong((long)result
);
9837 if (arg8
) delete [] arg8
;
9850 if (arg8
) delete [] arg8
;
9860 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self",(char *) "n", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 (arg1
)->SetSelection(arg2
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 Py_INCREF(Py_None
); resultobj
= Py_None
;
9885 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= PyInt_FromLong((long)result
);
9910 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9916 (char *) "self", NULL
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9941 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9944 wxString
*arg2
= 0 ;
9946 bool temp2
= False
;
9947 PyObject
* obj0
= 0 ;
9948 PyObject
* obj1
= 0 ;
9950 (char *) "self",(char *) "s", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9956 arg2
= wxString_in_helper(obj1
);
9957 if (arg2
== NULL
) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= PyInt_FromLong((long)result
);
9982 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9986 PyObject
* obj0
= 0 ;
9988 (char *) "self", NULL
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= PyInt_FromLong((long)result
);
10007 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10010 wxString
*arg2
= 0 ;
10012 bool temp2
= False
;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self",(char *) "s", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10022 arg2
= wxString_in_helper(obj1
);
10023 if (arg2
== NULL
) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 resultobj
= PyInt_FromLong((long)result
);
10048 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self",(char *) "n", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10080 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10084 wxString
*arg3
= 0 ;
10085 bool temp3
= False
;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj2
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self",(char *) "n",(char *) "label", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10095 arg3
= wxString_in_helper(obj2
);
10096 if (arg3
== NULL
) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 Py_INCREF(Py_None
); resultobj
= Py_None
;
10121 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10125 bool arg3
= (bool) True
;
10126 PyObject
* obj0
= 0 ;
10127 PyObject
* obj2
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "self",(char *) "n",(char *) "enable", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10136 arg3
= (bool) SPyObj_AsBool(obj2
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 (arg1
)->Enable(arg2
,arg3
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 Py_INCREF(Py_None
); resultobj
= Py_None
;
10154 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10158 bool arg3
= (bool) True
;
10159 PyObject
* obj0
= 0 ;
10160 PyObject
* obj2
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self",(char *) "n",(char *) "show", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10169 arg3
= (bool) SPyObj_AsBool(obj2
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 (arg1
)->Show(arg2
,arg3
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 Py_INCREF(Py_None
); resultobj
= Py_None
;
10187 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= PyInt_FromLong((long)result
);
10212 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= PyInt_FromLong((long)result
);
10237 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= PyInt_FromLong((long)result
);
10265 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
10267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10268 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
10270 return Py_BuildValue((char *)"");
10272 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxWindow
*arg1
= (wxWindow
*) 0 ;
10276 wxString
*arg3
= 0 ;
10277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10281 long arg6
= (long) 0 ;
10282 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10283 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10284 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
10285 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10286 wxRadioButton
*result
;
10287 bool temp3
= False
;
10290 bool temp8
= False
;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj2
= 0 ;
10293 PyObject
* obj3
= 0 ;
10294 PyObject
* obj4
= 0 ;
10295 PyObject
* obj6
= 0 ;
10296 PyObject
* obj7
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10304 arg3
= wxString_in_helper(obj2
);
10305 if (arg3
== NULL
) SWIG_fail
;
10311 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10317 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10321 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10322 if (arg7
== NULL
) {
10323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10328 arg8
= wxString_in_helper(obj7
);
10329 if (arg8
== NULL
) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10363 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxRadioButton
*result
;
10366 char *kwnames
[] = {
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (wxRadioButton
*)new wxRadioButton();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10385 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10388 wxWindow
*arg2
= (wxWindow
*) 0 ;
10390 wxString
*arg4
= 0 ;
10391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10395 long arg7
= (long) 0 ;
10396 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10397 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10398 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
10399 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10401 bool temp4
= False
;
10404 bool temp9
= False
;
10405 PyObject
* obj0
= 0 ;
10406 PyObject
* obj1
= 0 ;
10407 PyObject
* obj3
= 0 ;
10408 PyObject
* obj4
= 0 ;
10409 PyObject
* obj5
= 0 ;
10410 PyObject
* obj7
= 0 ;
10411 PyObject
* obj8
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10418 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10420 arg4
= wxString_in_helper(obj3
);
10421 if (arg4
== NULL
) SWIG_fail
;
10427 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10433 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10437 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10438 if (arg8
== NULL
) {
10439 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10444 arg9
= wxString_in_helper(obj8
);
10445 if (arg9
== NULL
) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= PyInt_FromLong((long)result
);
10479 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (bool)(arg1
)->GetValue();
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= PyInt_FromLong((long)result
);
10504 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self",(char *) "value", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10517 arg2
= (bool) SPyObj_AsBool(obj1
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetValue(arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10537 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10539 return Py_BuildValue((char *)"");
10541 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
10542 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
10547 static PyObject
*_wrap_SliderNameStr_get() {
10552 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10554 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10561 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxWindow
*arg1
= (wxWindow
*) 0 ;
10568 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10569 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10570 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10571 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10572 long arg8
= (long) wxSL_HORIZONTAL
;
10573 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10574 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10575 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10576 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10580 bool temp10
= False
;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj5
= 0 ;
10583 PyObject
* obj6
= 0 ;
10584 PyObject
* obj8
= 0 ;
10585 PyObject
* obj9
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10595 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10601 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10605 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10606 if (arg9
== NULL
) {
10607 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10612 arg10
= wxString_in_helper(obj9
);
10613 if (arg10
== NULL
) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10639 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10642 char *kwnames
[] = {
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (wxSlider
*)new wxSlider();
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10661 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxSlider
*arg1
= (wxSlider
*) 0 ;
10664 wxWindow
*arg2
= (wxWindow
*) 0 ;
10669 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10670 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10671 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10672 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10673 long arg9
= (long) wxSL_HORIZONTAL
;
10674 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10675 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10676 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10677 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10681 bool temp11
= False
;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 PyObject
* obj6
= 0 ;
10685 PyObject
* obj7
= 0 ;
10686 PyObject
* obj9
= 0 ;
10687 PyObject
* obj10
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10698 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10704 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10708 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10709 if (arg10
== NULL
) {
10710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10715 arg11
= wxString_in_helper(obj10
);
10716 if (arg11
== NULL
) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= PyInt_FromLong((long)result
);
10742 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxSlider
*arg1
= (wxSlider
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= PyInt_FromLong((long)result
);
10767 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxSlider
*arg1
= (wxSlider
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "self",(char *) "value", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 (arg1
)->SetValue(arg2
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 Py_INCREF(Py_None
); resultobj
= Py_None
;
10792 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxSlider
*arg1
= (wxSlider
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->SetRange(arg2
,arg3
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxSlider
*arg1
= (wxSlider
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= PyInt_FromLong((long)result
);
10843 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxSlider
*arg1
= (wxSlider
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 resultobj
= PyInt_FromLong((long)result
);
10868 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxSlider
*arg1
= (wxSlider
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 char *kwnames
[] = {
10874 (char *) "self",(char *) "minValue", NULL
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->SetMin(arg2
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxSlider
*arg1
= (wxSlider
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "maxValue", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetMax(arg2
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 Py_INCREF(Py_None
); resultobj
= Py_None
;
10918 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxSlider
*arg1
= (wxSlider
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self",(char *) "lineSize", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->SetLineSize(arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxSlider
*arg1
= (wxSlider
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 char *kwnames
[] = {
10949 (char *) "self",(char *) "pageSize", NULL
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 (arg1
)->SetPageSize(arg2
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 Py_INCREF(Py_None
); resultobj
= Py_None
;
10968 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxSlider
*arg1
= (wxSlider
*) 0 ;
10972 PyObject
* obj0
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= PyInt_FromLong((long)result
);
10993 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxSlider
*arg1
= (wxSlider
*) 0 ;
10997 PyObject
* obj0
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= PyInt_FromLong((long)result
);
11018 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxSlider
*arg1
= (wxSlider
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "lenPixels", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 (arg1
)->SetThumbLength(arg2
);
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 Py_INCREF(Py_None
); resultobj
= Py_None
;
11043 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxSlider
*arg1
= (wxSlider
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= PyInt_FromLong((long)result
);
11068 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxSlider
*arg1
= (wxSlider
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "n",(char *) "pos", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 (arg1
)->SetTickFreq(arg2
,arg3
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxSlider
*arg1
= (wxSlider
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= PyInt_FromLong((long)result
);
11119 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxSlider
*arg1
= (wxSlider
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 (arg1
)->ClearTicks();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 Py_INCREF(Py_None
); resultobj
= Py_None
;
11143 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxSlider
*arg1
= (wxSlider
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 char *kwnames
[] = {
11149 (char *) "self",(char *) "tickPos", NULL
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
11153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 (arg1
)->SetTick(arg2
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 Py_INCREF(Py_None
); resultobj
= Py_None
;
11168 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxSlider
*arg1
= (wxSlider
*) 0 ;
11171 PyObject
* obj0
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
11177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 (arg1
)->ClearSel();
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 Py_INCREF(Py_None
); resultobj
= Py_None
;
11192 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxSlider
*arg1
= (wxSlider
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
11202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= PyInt_FromLong((long)result
);
11217 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
;
11219 wxSlider
*arg1
= (wxSlider
*) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
11227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= PyInt_FromLong((long)result
);
11242 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
;
11244 wxSlider
*arg1
= (wxSlider
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self",(char *) "min",(char *) "max", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 (arg1
)->SetSelection(arg2
,arg3
);
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 Py_INCREF(Py_None
); resultobj
= Py_None
;
11268 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
11270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11271 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
11273 return Py_BuildValue((char *)"");
11275 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
11276 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
11281 static PyObject
*_wrap_ToggleButtonNameStr_get() {
11286 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11288 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11295 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxWindow
*arg1
= (wxWindow
*) 0 ;
11299 wxString
*arg3
= 0 ;
11300 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11301 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11302 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11303 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11304 long arg6
= (long) 0 ;
11305 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11306 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11307 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
11308 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11309 wxToggleButton
*result
;
11310 bool temp3
= False
;
11313 bool temp8
= False
;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj2
= 0 ;
11316 PyObject
* obj3
= 0 ;
11317 PyObject
* obj4
= 0 ;
11318 PyObject
* obj6
= 0 ;
11319 PyObject
* obj7
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11327 arg3
= wxString_in_helper(obj2
);
11328 if (arg3
== NULL
) SWIG_fail
;
11334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11344 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11345 if (arg7
== NULL
) {
11346 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11351 arg8
= wxString_in_helper(obj7
);
11352 if (arg8
== NULL
) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11386 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxToggleButton
*result
;
11389 char *kwnames
[] = {
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (wxToggleButton
*)new wxToggleButton();
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11408 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11411 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11413 return Py_BuildValue((char *)"");
11415 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
11416 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
11421 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
11426 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11428 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11435 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "self", NULL
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
11460 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self",(char *) "n", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11474 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= wxPyMake_wxObject(result
);
11493 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11497 PyObject
* obj0
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= PyInt_FromLong((long)result
);
11518 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11522 wxString
*arg3
= 0 ;
11524 bool temp3
= False
;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 PyObject
* obj2
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self",(char *) "n",(char *) "strText", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11535 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11539 arg3
= wxString_in_helper(obj2
);
11540 if (arg3
== NULL
) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= PyInt_FromLong((long)result
);
11565 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11570 PyObject
* obj0
= 0 ;
11571 PyObject
* obj1
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self",(char *) "n", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11579 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11602 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11605 wxImageList
*arg2
= (wxImageList
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self",(char *) "imageList", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->SetImageList(arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11632 wxImageList
*arg2
= (wxImageList
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 PyObject
* obj1
= 0 ;
11635 char *kwnames
[] = {
11636 (char *) "self",(char *) "imageList", NULL
11639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 (arg1
)->AssignImageList(arg2
);
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 Py_INCREF(Py_None
); resultobj
= Py_None
;
11656 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11659 wxImageList
*result
;
11660 PyObject
* obj0
= 0 ;
11661 char *kwnames
[] = {
11662 (char *) "self", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= wxPyMake_wxObject(result
);
11683 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "n", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11697 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= PyInt_FromLong((long)result
);
11714 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11720 PyObject
* obj0
= 0 ;
11721 PyObject
* obj1
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self",(char *) "n",(char *) "imageId", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11729 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= PyInt_FromLong((long)result
);
11746 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self",(char *) "size", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11770 Py_INCREF(Py_None
); resultobj
= Py_None
;
11777 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
;
11779 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self",(char *) "sizePage", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11793 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 wxSize
* resultptr
;
11804 resultptr
= new wxSize((wxSize
&) result
);
11805 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11813 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
;
11815 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "self",(char *) "n", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11827 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (bool)(arg1
)->DeletePage(arg2
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= PyInt_FromLong((long)result
);
11844 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11849 PyObject
* obj0
= 0 ;
11850 PyObject
* obj1
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self",(char *) "n", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11858 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (bool)(arg1
)->RemovePage(arg2
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= PyInt_FromLong((long)result
);
11875 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11879 PyObject
* obj0
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (bool)(arg1
)->DeleteAllPages();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= PyInt_FromLong((long)result
);
11900 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11903 wxWindow
*arg2
= (wxWindow
*) 0 ;
11904 wxString
*arg3
= 0 ;
11905 bool arg4
= (bool) False
;
11906 int arg5
= (int) -1 ;
11908 bool temp3
= False
;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 PyObject
* obj2
= 0 ;
11912 PyObject
* obj3
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11921 arg3
= wxString_in_helper(obj2
);
11922 if (arg3
== NULL
) SWIG_fail
;
11927 arg4
= (bool) SPyObj_AsBool(obj3
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= PyInt_FromLong((long)result
);
11953 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11957 wxWindow
*arg3
= (wxWindow
*) 0 ;
11958 wxString
*arg4
= 0 ;
11959 bool arg5
= (bool) False
;
11960 int arg6
= (int) -1 ;
11962 bool temp4
= False
;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 PyObject
* obj2
= 0 ;
11966 PyObject
* obj3
= 0 ;
11967 PyObject
* obj4
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11975 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11980 arg4
= wxString_in_helper(obj3
);
11981 if (arg4
== NULL
) SWIG_fail
;
11986 arg5
= (bool) SPyObj_AsBool(obj4
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= PyInt_FromLong((long)result
);
12012 static PyObject
*_wrap_BookCtrl_SetSelection(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_SetSelection",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)(arg1
)->SetSelection(arg2
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= PyInt_FromLong((long)result
);
12043 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12046 bool arg2
= (bool) True
;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self",(char *) "forward", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12057 arg2
= (bool) SPyObj_AsBool(obj1
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 (arg1
)->AdvanceSelection(arg2
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 Py_INCREF(Py_None
); resultobj
= Py_None
;
12075 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
12077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12078 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
12080 return Py_BuildValue((char *)"");
12082 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12085 int arg2
= (int) 0 ;
12086 int arg3
= (int) -1 ;
12087 int arg4
= (int) -1 ;
12088 wxBookCtrlEvent
*result
;
12089 char *kwnames
[] = {
12090 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
12108 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= PyInt_FromLong((long)result
);
12133 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "nSel", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 (arg1
)->SetSelection(arg2
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 Py_INCREF(Py_None
); resultobj
= Py_None
;
12158 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= PyInt_FromLong((long)result
);
12183 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self",(char *) "nOldSel", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 (arg1
)->SetOldSelection(arg2
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 Py_INCREF(Py_None
); resultobj
= Py_None
;
12208 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12211 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
12213 return Py_BuildValue((char *)"");
12215 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxWindow
*arg1
= (wxWindow
*) 0 ;
12219 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12220 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12221 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12222 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12223 long arg5
= (long) 0 ;
12224 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
12225 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12226 wxNotebook
*result
;
12229 bool temp6
= False
;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj2
= 0 ;
12232 PyObject
* obj3
= 0 ;
12233 PyObject
* obj5
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12249 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12254 arg6
= wxString_in_helper(obj5
);
12255 if (arg6
== NULL
) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= wxPyMake_wxObject(result
);
12283 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxNotebook
*result
;
12286 char *kwnames
[] = {
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 result
= (wxNotebook
*)new wxNotebook();
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= wxPyMake_wxObject(result
);
12307 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12310 wxWindow
*arg2
= (wxWindow
*) 0 ;
12312 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12313 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12314 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12315 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12316 long arg6
= (long) 0 ;
12317 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12318 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12322 bool temp7
= False
;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 PyObject
* obj3
= 0 ;
12326 PyObject
* obj4
= 0 ;
12327 PyObject
* obj6
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12338 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12344 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12349 arg7
= wxString_in_helper(obj6
);
12350 if (arg7
== NULL
) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= PyInt_FromLong((long)result
);
12376 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= PyInt_FromLong((long)result
);
12401 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "padding", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12416 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 Py_INCREF(Py_None
); resultobj
= Py_None
;
12432 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "sz", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12447 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 Py_INCREF(Py_None
); resultobj
= Py_None
;
12463 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12466 wxPoint
*arg2
= 0 ;
12467 long *arg3
= (long *) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 PyObject
* obj1
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "pt", NULL
12478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12482 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= PyInt_FromLong((long)result
);
12493 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12494 resultobj
= t_output_helper(resultobj
,o
);
12502 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self",(char *) "sizePage", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12518 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12528 wxSize
* resultptr
;
12529 resultptr
= new wxSize((wxSize
&) result
);
12530 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12538 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12541 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12543 return Py_BuildValue((char *)"");
12545 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12548 int arg2
= (int) 0 ;
12549 int arg3
= (int) -1 ;
12550 int arg4
= (int) -1 ;
12551 wxNotebookEvent
*result
;
12552 char *kwnames
[] = {
12553 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12571 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12574 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12576 return Py_BuildValue((char *)"");
12578 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxWindow
*arg1
= (wxWindow
*) 0 ;
12582 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12583 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12584 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12585 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12586 long arg5
= (long) 0 ;
12587 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12588 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12589 wxListbook
*result
;
12592 bool temp6
= False
;
12593 PyObject
* obj0
= 0 ;
12594 PyObject
* obj2
= 0 ;
12595 PyObject
* obj3
= 0 ;
12596 PyObject
* obj5
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12606 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12612 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12617 arg6
= wxString_in_helper(obj5
);
12618 if (arg6
== NULL
) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12644 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxListbook
*result
;
12647 char *kwnames
[] = {
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 result
= (wxListbook
*)new wxListbook();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12666 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxListbook
*arg1
= (wxListbook
*) 0 ;
12669 wxWindow
*arg2
= (wxWindow
*) 0 ;
12671 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12672 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12673 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12674 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12675 long arg6
= (long) 0 ;
12676 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12677 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12681 bool temp7
= False
;
12682 PyObject
* obj0
= 0 ;
12683 PyObject
* obj1
= 0 ;
12684 PyObject
* obj3
= 0 ;
12685 PyObject
* obj4
= 0 ;
12686 PyObject
* obj6
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12697 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12703 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12708 arg7
= wxString_in_helper(obj6
);
12709 if (arg7
== NULL
) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= PyInt_FromLong((long)result
);
12735 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxListbook
*arg1
= (wxListbook
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= PyInt_FromLong((long)result
);
12760 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12763 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12765 return Py_BuildValue((char *)"");
12767 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12770 int arg2
= (int) 0 ;
12771 int arg3
= (int) -1 ;
12772 int arg4
= (int) -1 ;
12773 wxListbookEvent
*result
;
12774 char *kwnames
[] = {
12775 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12793 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12796 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12798 return Py_BuildValue((char *)"");
12800 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12803 wxBookCtrlSizer
*result
;
12804 PyObject
* obj0
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "nb", NULL
12809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12825 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12826 PyObject
*resultobj
;
12827 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12828 PyObject
* obj0
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "self", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 (arg1
)->RecalcSizes();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 Py_INCREF(Py_None
); resultobj
= Py_None
;
12849 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12853 PyObject
* obj0
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "self", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 result
= (arg1
)->CalcMin();
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12868 wxSize
* resultptr
;
12869 resultptr
= new wxSize((wxSize
&) result
);
12870 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12878 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12879 PyObject
*resultobj
;
12880 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12881 wxBookCtrl
*result
;
12882 PyObject
* obj0
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "self", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12903 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12906 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12908 return Py_BuildValue((char *)"");
12910 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12913 wxNotebookSizer
*result
;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "nb", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
12935 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 (arg1
)->RecalcSizes();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12959 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= (arg1
)->CalcMin();
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 wxSize
* resultptr
;
12979 resultptr
= new wxSize((wxSize
&) result
);
12980 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12988 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12991 wxNotebook
*result
;
12992 PyObject
* obj0
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (wxNotebook
*)(arg1
)->GetNotebook();
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= wxPyMake_wxObject(result
);
13015 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13018 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
13020 return Py_BuildValue((char *)"");
13022 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
13032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (int)(arg1
)->GetId();
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= PyInt_FromLong((long)result
);
13047 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
;
13049 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13051 PyObject
* obj0
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
13057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (wxControl
*)(arg1
)->GetControl();
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= wxPyMake_wxObject(result
);
13074 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13077 wxToolBarBase
*result
;
13078 PyObject
* obj0
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
13084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= wxPyMake_wxObject(result
);
13101 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
13111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (int)(arg1
)->IsButton();
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= PyInt_FromLong((long)result
);
13126 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (int)(arg1
)->IsControl();
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= PyInt_FromLong((long)result
);
13151 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13155 PyObject
* obj0
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (int)(arg1
)->IsSeparator();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= PyInt_FromLong((long)result
);
13176 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
13186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (int)(arg1
)->GetStyle();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= PyInt_FromLong((long)result
);
13201 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
13211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (int)(arg1
)->GetKind();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= PyInt_FromLong((long)result
);
13226 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13230 PyObject
* obj0
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (bool)(arg1
)->IsEnabled();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= PyInt_FromLong((long)result
);
13251 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
13261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (bool)(arg1
)->IsToggled();
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= PyInt_FromLong((long)result
);
13276 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (bool)(arg1
)->CanBeToggled();
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= PyInt_FromLong((long)result
);
13301 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13316 result
= (wxBitmap
*) &_result_ref
;
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13329 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13344 result
= (wxBitmap
*) &_result_ref
;
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13357 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (arg1
)->GetBitmap();
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13376 wxBitmap
* resultptr
;
13377 resultptr
= new wxBitmap((wxBitmap
&) result
);
13378 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13386 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (arg1
)->GetLabel();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13417 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13421 PyObject
* obj0
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (arg1
)->GetShortHelp();
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13448 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (arg1
)->GetLongHelp();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13479 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self",(char *) "enable", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13493 arg2
= (bool) SPyObj_AsBool(obj1
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)(arg1
)->Enable(arg2
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= PyInt_FromLong((long)result
);
13510 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 Py_INCREF(Py_None
); resultobj
= Py_None
;
13534 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 PyObject
* obj1
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self",(char *) "toggle", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13548 arg2
= (bool) SPyObj_AsBool(obj1
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (bool)(arg1
)->SetToggle(arg2
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= PyInt_FromLong((long)result
);
13565 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13568 wxString
*arg2
= 0 ;
13570 bool temp2
= False
;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self",(char *) "help", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13580 arg2
= wxString_in_helper(obj1
);
13581 if (arg2
== NULL
) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= PyInt_FromLong((long)result
);
13606 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13609 wxString
*arg2
= 0 ;
13611 bool temp2
= False
;
13612 PyObject
* obj0
= 0 ;
13613 PyObject
* obj1
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self",(char *) "help", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13621 arg2
= wxString_in_helper(obj1
);
13622 if (arg2
== NULL
) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= PyInt_FromLong((long)result
);
13647 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
;
13649 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13650 wxBitmap
*arg2
= 0 ;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self",(char *) "bmp", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13660 if (arg2
== NULL
) {
13661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 Py_INCREF(Py_None
); resultobj
= Py_None
;
13677 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13680 wxBitmap
*arg2
= 0 ;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "bmp", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13689 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13690 if (arg2
== NULL
) {
13691 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 Py_INCREF(Py_None
); resultobj
= Py_None
;
13707 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13710 wxString
*arg2
= 0 ;
13711 bool temp2
= False
;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self",(char *) "label", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13721 arg2
= wxString_in_helper(obj1
);
13722 if (arg2
== NULL
) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 (arg1
)->SetLabel((wxString
const &)*arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 Py_INCREF(Py_None
); resultobj
= Py_None
;
13747 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
;
13749 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13750 PyObject
* obj0
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 Py_INCREF(Py_None
); resultobj
= Py_None
;
13771 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13774 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 char *kwnames
[] = {
13778 (char *) "self",(char *) "tbar", NULL
13781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 (arg1
)->Attach(arg2
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 Py_INCREF(Py_None
); resultobj
= Py_None
;
13798 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= result
;
13823 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13826 PyObject
*arg2
= (PyObject
*) 0 ;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self",(char *) "clientData", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 Py_INCREF(Py_None
); resultobj
= Py_None
;
13850 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13853 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13855 return Py_BuildValue((char *)"");
13857 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13861 wxString
*arg3
= 0 ;
13862 wxBitmap
*arg4
= 0 ;
13863 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13864 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13865 int arg6
= (int) wxITEM_NORMAL
;
13866 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13867 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13868 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13869 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13870 PyObject
*arg9
= (PyObject
*) NULL
;
13871 wxToolBarToolBase
*result
;
13872 bool temp3
= False
;
13873 bool temp7
= False
;
13874 bool temp8
= False
;
13875 PyObject
* obj0
= 0 ;
13876 PyObject
* obj2
= 0 ;
13877 PyObject
* obj3
= 0 ;
13878 PyObject
* obj4
= 0 ;
13879 PyObject
* obj6
= 0 ;
13880 PyObject
* obj7
= 0 ;
13881 PyObject
* obj8
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13889 arg3
= wxString_in_helper(obj2
);
13890 if (arg3
== NULL
) SWIG_fail
;
13893 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13894 if (arg4
== NULL
) {
13895 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13898 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13899 if (arg5
== NULL
) {
13900 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13905 arg7
= wxString_in_helper(obj6
);
13906 if (arg7
== NULL
) SWIG_fail
;
13912 arg8
= wxString_in_helper(obj7
);
13913 if (arg8
== NULL
) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= wxPyMake_wxObject(result
);
13960 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13965 wxString
*arg4
= 0 ;
13966 wxBitmap
*arg5
= 0 ;
13967 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
13968 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
13969 int arg7
= (int) wxITEM_NORMAL
;
13970 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13971 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13972 wxString
const &arg9_defvalue
= wxPyEmptyString
;
13973 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13974 PyObject
*arg10
= (PyObject
*) NULL
;
13975 wxToolBarToolBase
*result
;
13976 bool temp4
= False
;
13977 bool temp8
= False
;
13978 bool temp9
= False
;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 PyObject
* obj3
= 0 ;
13982 PyObject
* obj4
= 0 ;
13983 PyObject
* obj5
= 0 ;
13984 PyObject
* obj7
= 0 ;
13985 PyObject
* obj8
= 0 ;
13986 PyObject
* obj9
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
13992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13994 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 arg4
= wxString_in_helper(obj3
);
13999 if (arg4
== NULL
) SWIG_fail
;
14002 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14003 if (arg5
== NULL
) {
14004 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14007 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14008 if (arg6
== NULL
) {
14009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14014 arg8
= wxString_in_helper(obj7
);
14015 if (arg8
== NULL
) SWIG_fail
;
14021 arg9
= wxString_in_helper(obj8
);
14022 if (arg9
== NULL
) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 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
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= wxPyMake_wxObject(result
);
14069 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14072 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
14073 wxToolBarToolBase
*result
;
14074 PyObject
* obj0
= 0 ;
14075 PyObject
* obj1
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self",(char *) "tool", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
14081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= wxPyMake_wxObject(result
);
14099 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14103 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
14104 wxToolBarToolBase
*result
;
14105 PyObject
* obj0
= 0 ;
14106 PyObject
* obj1
= 0 ;
14107 PyObject
* obj2
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self",(char *) "pos",(char *) "tool", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14115 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= wxPyMake_wxObject(result
);
14135 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14138 wxControl
*arg2
= (wxControl
*) 0 ;
14139 wxToolBarToolBase
*result
;
14140 PyObject
* obj0
= 0 ;
14141 PyObject
* obj1
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self",(char *) "control", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
14147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= wxPyMake_wxObject(result
);
14165 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14169 wxControl
*arg3
= (wxControl
*) 0 ;
14170 wxToolBarToolBase
*result
;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 PyObject
* obj2
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self",(char *) "pos",(char *) "control", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14181 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= wxPyMake_wxObject(result
);
14201 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self",(char *) "id", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
14212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= wxPyMake_wxObject(result
);
14229 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14232 wxToolBarToolBase
*result
;
14233 PyObject
* obj0
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= wxPyMake_wxObject(result
);
14256 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
;
14258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14260 wxToolBarToolBase
*result
;
14261 PyObject
* obj0
= 0 ;
14262 PyObject
* obj1
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "self",(char *) "pos", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
14268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14270 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= wxPyMake_wxObject(result
);
14289 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14293 wxToolBarToolBase
*result
;
14294 PyObject
* obj0
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self",(char *) "id", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= wxPyMake_wxObject(result
);
14317 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
;
14319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self",(char *) "pos", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14331 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= PyInt_FromLong((long)result
);
14348 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self",(char *) "id", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (bool)(arg1
)->DeleteTool(arg2
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= PyInt_FromLong((long)result
);
14374 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 (arg1
)->ClearTools();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 Py_INCREF(Py_None
); resultobj
= Py_None
;
14398 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (bool)(arg1
)->Realize();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= PyInt_FromLong((long)result
);
14423 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 PyObject
* obj2
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self",(char *) "id",(char *) "enable", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14437 arg3
= (bool) SPyObj_AsBool(obj2
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 (arg1
)->EnableTool(arg2
,arg3
);
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 Py_INCREF(Py_None
); resultobj
= Py_None
;
14454 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
;
14456 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj2
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self",(char *) "id",(char *) "toggle", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14468 arg3
= (bool) SPyObj_AsBool(obj2
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 (arg1
)->ToggleTool(arg2
,arg3
);
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 Py_INCREF(Py_None
); resultobj
= Py_None
;
14485 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 PyObject
* obj2
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self",(char *) "id",(char *) "toggle", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14499 arg3
= (bool) SPyObj_AsBool(obj2
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 (arg1
)->SetToggle(arg2
,arg3
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 Py_INCREF(Py_None
); resultobj
= Py_None
;
14516 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14521 PyObject
* obj0
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "self",(char *) "id", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= result
;
14542 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
;
14544 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14546 PyObject
*arg3
= (PyObject
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj2
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "id",(char *) "clientData", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 Py_INCREF(Py_None
); resultobj
= Py_None
;
14570 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
;
14572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14575 PyObject
* obj0
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "self",(char *) "id", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= PyInt_FromLong((long)result
);
14596 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14601 PyObject
* obj0
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "self",(char *) "id", NULL
14606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 result
= (bool)(arg1
)->GetToolState(arg2
);
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= PyInt_FromLong((long)result
);
14622 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
;
14624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14627 PyObject
* obj0
= 0 ;
14628 char *kwnames
[] = {
14629 (char *) "self",(char *) "id", NULL
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 resultobj
= PyInt_FromLong((long)result
);
14648 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14649 PyObject
*resultobj
;
14650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14652 wxString
*arg3
= 0 ;
14653 bool temp3
= False
;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self",(char *) "id",(char *) "helpString", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14663 arg3
= wxString_in_helper(obj2
);
14664 if (arg3
== NULL
) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 Py_INCREF(Py_None
); resultobj
= Py_None
;
14689 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14694 PyObject
* obj0
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self",(char *) "id", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (arg1
)->GetToolShortHelp(arg2
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14721 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14725 wxString
*arg3
= 0 ;
14726 bool temp3
= False
;
14727 PyObject
* obj0
= 0 ;
14728 PyObject
* obj2
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self",(char *) "id",(char *) "helpString", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14736 arg3
= wxString_in_helper(obj2
);
14737 if (arg3
== NULL
) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 Py_INCREF(Py_None
); resultobj
= Py_None
;
14762 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 char *kwnames
[] = {
14769 (char *) "self",(char *) "id", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (arg1
)->GetToolLongHelp(arg2
);
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14794 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self",(char *) "x",(char *) "y", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 (arg1
)->SetMargins(arg2
,arg3
);
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 Py_INCREF(Py_None
); resultobj
= Py_None
;
14820 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self",(char *) "size", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14835 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 Py_INCREF(Py_None
); resultobj
= Py_None
;
14851 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
;
14853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14855 PyObject
* obj0
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "packing", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 (arg1
)->SetToolPacking(arg2
);
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 Py_INCREF(Py_None
); resultobj
= Py_None
;
14876 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self",(char *) "separation", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 (arg1
)->SetToolSeparation(arg2
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 Py_INCREF(Py_None
); resultobj
= Py_None
;
14901 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 char *kwnames
[] = {
14907 (char *) "self", NULL
14910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (arg1
)->GetToolMargins();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14920 wxSize
* resultptr
;
14921 resultptr
= new wxSize((wxSize
&) result
);
14922 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14930 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (arg1
)->GetMargins();
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14949 wxSize
* resultptr
;
14950 resultptr
= new wxSize((wxSize
&) result
);
14951 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14959 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (int)(arg1
)->GetToolPacking();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= PyInt_FromLong((long)result
);
14984 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (int)(arg1
)->GetToolSeparation();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= PyInt_FromLong((long)result
);
15009 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self",(char *) "nRows", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 (arg1
)->SetRows(arg2
);
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 Py_INCREF(Py_None
); resultobj
= Py_None
;
15034 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self",(char *) "rows",(char *) "cols", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (int)(arg1
)->GetMaxRows();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= PyInt_FromLong((long)result
);
15085 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (int)(arg1
)->GetMaxCols();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= PyInt_FromLong((long)result
);
15110 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self",(char *) "size", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15125 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (arg1
)->GetToolBitmapSize();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 wxSize
* resultptr
;
15161 resultptr
= new wxSize((wxSize
&) result
);
15162 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15170 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (arg1
)->GetToolSize();
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 wxSize
* resultptr
;
15190 resultptr
= new wxSize((wxSize
&) result
);
15191 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15199 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15204 wxToolBarToolBase
*result
;
15205 PyObject
* obj0
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self",(char *) "x",(char *) "y", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= wxPyMake_wxObject(result
);
15228 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15232 wxToolBarToolBase
*result
;
15233 PyObject
* obj0
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self",(char *) "toolid", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindById",kwnames
,&obj0
,&arg2
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= wxPyMake_wxObject(result
);
15256 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (bool)(arg1
)->IsVertical();
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= PyInt_FromLong((long)result
);
15281 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
15283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15284 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
15286 return Py_BuildValue((char *)"");
15288 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxWindow
*arg1
= (wxWindow
*) 0 ;
15292 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15293 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15294 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15295 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15296 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15297 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
15298 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15302 bool temp6
= False
;
15303 PyObject
* obj0
= 0 ;
15304 PyObject
* obj2
= 0 ;
15305 PyObject
* obj3
= 0 ;
15306 PyObject
* obj5
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15316 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15322 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15327 arg6
= wxString_in_helper(obj5
);
15328 if (arg6
== NULL
) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= wxPyMake_wxObject(result
);
15356 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15359 char *kwnames
[] = {
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (wxToolBar
*)new wxToolBar();
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= wxPyMake_wxObject(result
);
15380 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15383 wxWindow
*arg2
= (wxWindow
*) 0 ;
15385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15389 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15390 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15391 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15395 bool temp7
= False
;
15396 PyObject
* obj0
= 0 ;
15397 PyObject
* obj1
= 0 ;
15398 PyObject
* obj3
= 0 ;
15399 PyObject
* obj4
= 0 ;
15400 PyObject
* obj6
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15411 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15417 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15422 arg7
= wxString_in_helper(obj6
);
15423 if (arg7
== NULL
) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= PyInt_FromLong((long)result
);
15449 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15454 wxToolBarToolBase
*result
;
15455 PyObject
* obj0
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "x",(char *) "y", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= wxPyMake_wxObject(result
);
15478 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15481 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15483 return Py_BuildValue((char *)"");
15485 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
15486 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
15491 static PyObject
*_wrap_ListCtrlNameStr_get() {
15496 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15498 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15505 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxColour
const &arg1_defvalue
= wxNullColour
;
15508 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15509 wxColour
const &arg2_defvalue
= wxNullColour
;
15510 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15511 wxFont
const &arg3_defvalue
= wxNullFont
;
15512 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15513 wxListItemAttr
*result
;
15516 PyObject
* obj0
= 0 ;
15517 PyObject
* obj1
= 0 ;
15518 PyObject
* obj2
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15527 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15537 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15538 if (arg3
== NULL
) {
15539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15556 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
;
15558 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15559 wxColour
*arg2
= 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self",(char *) "colText", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15571 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 Py_INCREF(Py_None
); resultobj
= Py_None
;
15587 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15590 wxColour
*arg2
= 0 ;
15592 PyObject
* obj0
= 0 ;
15593 PyObject
* obj1
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self",(char *) "colBack", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15602 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 Py_INCREF(Py_None
); resultobj
= Py_None
;
15618 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "font", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15631 if (arg2
== NULL
) {
15632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 (arg1
)->SetFont((wxFont
const &)*arg2
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 Py_INCREF(Py_None
); resultobj
= Py_None
;
15648 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15652 PyObject
* obj0
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (bool)(arg1
)->HasTextColour();
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= PyInt_FromLong((long)result
);
15673 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 result
= (bool)(arg1
)->HasBackgroundColour();
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= PyInt_FromLong((long)result
);
15698 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15700 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (bool)(arg1
)->HasFont();
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= PyInt_FromLong((long)result
);
15723 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (arg1
)->GetTextColour();
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15742 wxColour
* resultptr
;
15743 resultptr
= new wxColour((wxColour
&) result
);
15744 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15752 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15756 PyObject
* obj0
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 result
= (arg1
)->GetBackgroundColour();
15767 wxPyEndAllowThreads(__tstate
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15771 wxColour
* resultptr
;
15772 resultptr
= new wxColour((wxColour
&) result
);
15773 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15781 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15785 PyObject
* obj0
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (arg1
)->GetFont();
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15800 wxFont
* resultptr
;
15801 resultptr
= new wxFont((wxFont
&) result
);
15802 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15810 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15813 PyObject
* obj0
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "self", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 wxListItemAttr_Destroy(arg1
);
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15827 Py_INCREF(Py_None
); resultobj
= Py_None
;
15834 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15837 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15839 return Py_BuildValue((char *)"");
15841 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxListItem
*result
;
15844 char *kwnames
[] = {
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (wxListItem
*)new wxListItem();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= wxPyMake_wxObject(result
);
15865 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxListItem
*arg1
= (wxListItem
*) 0 ;
15868 PyObject
* obj0
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15889 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxListItem
*arg1
= (wxListItem
*) 0 ;
15892 PyObject
* obj0
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "self", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 Py_INCREF(Py_None
); resultobj
= Py_None
;
15913 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxListItem
*arg1
= (wxListItem
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
15922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 (arg1
)->ClearAttributes();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 Py_INCREF(Py_None
); resultobj
= Py_None
;
15937 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxListItem
*arg1
= (wxListItem
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self",(char *) "mask", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 (arg1
)->SetMask(arg2
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 Py_INCREF(Py_None
); resultobj
= Py_None
;
15962 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxListItem
*arg1
= (wxListItem
*) 0 ;
15966 PyObject
* obj0
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self",(char *) "id", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 (arg1
)->SetId(arg2
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 Py_INCREF(Py_None
); resultobj
= Py_None
;
15987 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxListItem
*arg1
= (wxListItem
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self",(char *) "col", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 (arg1
)->SetColumn(arg2
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 Py_INCREF(Py_None
); resultobj
= Py_None
;
16012 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxListItem
*arg1
= (wxListItem
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self",(char *) "state", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 (arg1
)->SetState(arg2
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 Py_INCREF(Py_None
); resultobj
= Py_None
;
16037 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxListItem
*arg1
= (wxListItem
*) 0 ;
16041 PyObject
* obj0
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self",(char *) "stateMask", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 (arg1
)->SetStateMask(arg2
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 Py_INCREF(Py_None
); resultobj
= Py_None
;
16062 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxListItem
*arg1
= (wxListItem
*) 0 ;
16065 wxString
*arg2
= 0 ;
16066 bool temp2
= False
;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self",(char *) "text", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16076 arg2
= wxString_in_helper(obj1
);
16077 if (arg2
== NULL
) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 (arg1
)->SetText((wxString
const &)*arg2
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 Py_INCREF(Py_None
); resultobj
= Py_None
;
16102 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxListItem
*arg1
= (wxListItem
*) 0 ;
16106 PyObject
* obj0
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self",(char *) "image", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
16112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 (arg1
)->SetImage(arg2
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 Py_INCREF(Py_None
); resultobj
= Py_None
;
16127 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxListItem
*arg1
= (wxListItem
*) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self",(char *) "data", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 (arg1
)->SetData(arg2
);
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16145 Py_INCREF(Py_None
); resultobj
= Py_None
;
16152 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16154 wxListItem
*arg1
= (wxListItem
*) 0 ;
16156 PyObject
* obj0
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self",(char *) "width", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 (arg1
)->SetWidth(arg2
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 Py_INCREF(Py_None
); resultobj
= Py_None
;
16177 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxListItem
*arg1
= (wxListItem
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self",(char *) "align", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
16187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 Py_INCREF(Py_None
); resultobj
= Py_None
;
16202 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxListItem
*arg1
= (wxListItem
*) 0 ;
16205 wxColour
*arg2
= 0 ;
16207 PyObject
* obj0
= 0 ;
16208 PyObject
* obj1
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self",(char *) "colText", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 Py_INCREF(Py_None
); resultobj
= Py_None
;
16233 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxListItem
*arg1
= (wxListItem
*) 0 ;
16236 wxColour
*arg2
= 0 ;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self",(char *) "colBack", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16248 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 Py_INCREF(Py_None
); resultobj
= Py_None
;
16264 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxListItem
*arg1
= (wxListItem
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 PyObject
* obj1
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self",(char *) "font", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16277 if (arg2
== NULL
) {
16278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 (arg1
)->SetFont((wxFont
const &)*arg2
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 Py_INCREF(Py_None
); resultobj
= Py_None
;
16294 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxListItem
*arg1
= (wxListItem
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
16304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (long)(arg1
)->GetMask();
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= PyInt_FromLong((long)result
);
16319 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxListItem
*arg1
= (wxListItem
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= (long)(arg1
)->GetId();
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= PyInt_FromLong((long)result
);
16344 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxListItem
*arg1
= (wxListItem
*) 0 ;
16348 PyObject
* obj0
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (int)(arg1
)->GetColumn();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= PyInt_FromLong((long)result
);
16369 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxListItem
*arg1
= (wxListItem
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (long)(arg1
)->GetState();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= PyInt_FromLong((long)result
);
16394 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxListItem
*arg1
= (wxListItem
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 wxString
const &_result_ref
= (arg1
)->GetText();
16409 result
= (wxString
*) &_result_ref
;
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16419 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16428 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxListItem
*arg1
= (wxListItem
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (int)(arg1
)->GetImage();
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= PyInt_FromLong((long)result
);
16453 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxListItem
*arg1
= (wxListItem
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (long)(arg1
)->GetData();
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= PyInt_FromLong((long)result
);
16478 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxListItem
*arg1
= (wxListItem
*) 0 ;
16482 PyObject
* obj0
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (int)(arg1
)->GetWidth();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= PyInt_FromLong((long)result
);
16503 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
;
16505 wxListItem
*arg1
= (wxListItem
*) 0 ;
16507 PyObject
* obj0
= 0 ;
16508 char *kwnames
[] = {
16509 (char *) "self", NULL
16512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 result
= (int)(arg1
)->GetAlign();
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= PyInt_FromLong((long)result
);
16528 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxListItem
*arg1
= (wxListItem
*) 0 ;
16531 wxListItemAttr
*result
;
16532 PyObject
* obj0
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16553 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxListItem
*arg1
= (wxListItem
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 result
= (bool)(arg1
)->HasAttributes();
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= PyInt_FromLong((long)result
);
16578 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxListItem
*arg1
= (wxListItem
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16597 wxColour
* resultptr
;
16598 resultptr
= new wxColour((wxColour
&) result
);
16599 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16607 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxListItem
*arg1
= (wxListItem
*) 0 ;
16611 PyObject
* obj0
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16626 wxColour
* resultptr
;
16627 resultptr
= new wxColour((wxColour
&) result
);
16628 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16636 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxListItem
*arg1
= (wxListItem
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= ((wxListItem
const *)arg1
)->GetFont();
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16655 wxFont
* resultptr
;
16656 resultptr
= new wxFont((wxFont
&) result
);
16657 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16665 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxListItem
*arg1
= (wxListItem
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self",(char *) "m_mask", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16676 if (arg1
) (arg1
)->m_mask
= arg2
;
16678 Py_INCREF(Py_None
); resultobj
= Py_None
;
16685 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxListItem
*arg1
= (wxListItem
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16696 result
= (long) ((arg1
)->m_mask
);
16698 resultobj
= PyInt_FromLong((long)result
);
16705 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxListItem
*arg1
= (wxListItem
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self",(char *) "m_itemId", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16716 if (arg1
) (arg1
)->m_itemId
= arg2
;
16718 Py_INCREF(Py_None
); resultobj
= Py_None
;
16725 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxListItem
*arg1
= (wxListItem
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16736 result
= (long) ((arg1
)->m_itemId
);
16738 resultobj
= PyInt_FromLong((long)result
);
16745 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxListItem
*arg1
= (wxListItem
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self",(char *) "m_col", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16756 if (arg1
) (arg1
)->m_col
= arg2
;
16758 Py_INCREF(Py_None
); resultobj
= Py_None
;
16765 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
;
16767 wxListItem
*arg1
= (wxListItem
*) 0 ;
16769 PyObject
* obj0
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16776 result
= (int) ((arg1
)->m_col
);
16778 resultobj
= PyInt_FromLong((long)result
);
16785 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
;
16787 wxListItem
*arg1
= (wxListItem
*) 0 ;
16789 PyObject
* obj0
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "self",(char *) "m_state", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16796 if (arg1
) (arg1
)->m_state
= arg2
;
16798 Py_INCREF(Py_None
); resultobj
= Py_None
;
16805 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxListItem
*arg1
= (wxListItem
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "self", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16816 result
= (long) ((arg1
)->m_state
);
16818 resultobj
= PyInt_FromLong((long)result
);
16825 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxListItem
*arg1
= (wxListItem
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 char *kwnames
[] = {
16831 (char *) "self",(char *) "m_stateMask", NULL
16834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16836 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16838 Py_INCREF(Py_None
); resultobj
= Py_None
;
16845 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxListItem
*arg1
= (wxListItem
*) 0 ;
16849 PyObject
* obj0
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "self", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16856 result
= (long) ((arg1
)->m_stateMask
);
16858 resultobj
= PyInt_FromLong((long)result
);
16865 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxListItem
*arg1
= (wxListItem
*) 0 ;
16868 wxString
*arg2
= (wxString
*) 0 ;
16869 bool temp2
= False
;
16870 PyObject
* obj0
= 0 ;
16871 PyObject
* obj1
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self",(char *) "m_text", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16879 arg2
= wxString_in_helper(obj1
);
16880 if (arg2
== NULL
) SWIG_fail
;
16883 if (arg1
) (arg1
)->m_text
= *arg2
;
16885 Py_INCREF(Py_None
); resultobj
= Py_None
;
16900 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxListItem
*arg1
= (wxListItem
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16911 result
= (wxString
*)& ((arg1
)->m_text
);
16915 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16917 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16926 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16928 wxListItem
*arg1
= (wxListItem
*) 0 ;
16930 PyObject
* obj0
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self",(char *) "m_image", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16937 if (arg1
) (arg1
)->m_image
= arg2
;
16939 Py_INCREF(Py_None
); resultobj
= Py_None
;
16946 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxListItem
*arg1
= (wxListItem
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16957 result
= (int) ((arg1
)->m_image
);
16959 resultobj
= PyInt_FromLong((long)result
);
16966 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
;
16968 wxListItem
*arg1
= (wxListItem
*) 0 ;
16970 PyObject
* obj0
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self",(char *) "m_data", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16977 if (arg1
) (arg1
)->m_data
= arg2
;
16979 Py_INCREF(Py_None
); resultobj
= Py_None
;
16986 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxListItem
*arg1
= (wxListItem
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16997 result
= (long) ((arg1
)->m_data
);
16999 resultobj
= PyInt_FromLong((long)result
);
17006 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxListItem
*arg1
= (wxListItem
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self",(char *) "m_format", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17017 if (arg1
) (arg1
)->m_format
= arg2
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17026 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxListItem
*arg1
= (wxListItem
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17037 result
= (int) ((arg1
)->m_format
);
17039 resultobj
= PyInt_FromLong((long)result
);
17046 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxListItem
*arg1
= (wxListItem
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self",(char *) "m_width", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17057 if (arg1
) (arg1
)->m_width
= arg2
;
17059 Py_INCREF(Py_None
); resultobj
= Py_None
;
17066 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxListItem
*arg1
= (wxListItem
*) 0 ;
17070 PyObject
* obj0
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
17076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17077 result
= (int) ((arg1
)->m_width
);
17079 resultobj
= PyInt_FromLong((long)result
);
17086 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
17088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17089 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
17091 return Py_BuildValue((char *)"");
17093 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17095 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17096 int arg2
= (int) 0 ;
17097 wxListEvent
*result
;
17098 char *kwnames
[] = {
17099 (char *) "commandType",(char *) "id", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
17117 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17121 PyObject
* obj0
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "self",(char *) "m_code", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17128 if (arg1
) (arg1
)->m_code
= arg2
;
17130 Py_INCREF(Py_None
); resultobj
= Py_None
;
17137 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
17147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17148 result
= (int) ((arg1
)->m_code
);
17150 resultobj
= PyInt_FromLong((long)result
);
17157 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17158 PyObject
*resultobj
;
17159 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17161 PyObject
* obj0
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "self",(char *) "m_oldItemIndex", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17168 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
17170 Py_INCREF(Py_None
); resultobj
= Py_None
;
17177 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17181 PyObject
* obj0
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
17187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17188 result
= (long) ((arg1
)->m_oldItemIndex
);
17190 resultobj
= PyInt_FromLong((long)result
);
17197 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17201 PyObject
* obj0
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "self",(char *) "m_itemIndex", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17208 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
17210 Py_INCREF(Py_None
); resultobj
= Py_None
;
17217 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17228 result
= (long) ((arg1
)->m_itemIndex
);
17230 resultobj
= PyInt_FromLong((long)result
);
17237 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17241 PyObject
* obj0
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "m_col", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17248 if (arg1
) (arg1
)->m_col
= arg2
;
17250 Py_INCREF(Py_None
); resultobj
= Py_None
;
17257 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17261 PyObject
* obj0
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "self", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
17267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17268 result
= (int) ((arg1
)->m_col
);
17270 resultobj
= PyInt_FromLong((long)result
);
17277 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17280 wxPoint
*arg2
= (wxPoint
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "m_pointDrag", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17290 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
17292 Py_INCREF(Py_None
); resultobj
= Py_None
;
17299 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17301 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17303 PyObject
* obj0
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17310 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
17312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
17319 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17322 wxListItem
*result
;
17323 PyObject
* obj0
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
17329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17330 result
= (wxListItem
*)& ((arg1
)->m_item
);
17333 resultobj
= wxPyMake_wxObject(result
);
17341 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (int)(arg1
)->GetKeyCode();
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= PyInt_FromLong((long)result
);
17366 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17379 result
= (long)(arg1
)->GetIndex();
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= PyInt_FromLong((long)result
);
17391 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17395 PyObject
* obj0
= 0 ;
17396 char *kwnames
[] = {
17397 (char *) "self", NULL
17400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (int)(arg1
)->GetColumn();
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17409 resultobj
= PyInt_FromLong((long)result
);
17416 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17420 PyObject
* obj0
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "self", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= (arg1
)->GetPoint();
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 wxPoint
* resultptr
;
17436 resultptr
= new wxPoint((wxPoint
&) result
);
17437 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17445 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 wxString
const &_result_ref
= (arg1
)->GetLabel();
17460 result
= (wxString
*) &_result_ref
;
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17470 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17479 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 wxString
const &_result_ref
= (arg1
)->GetText();
17494 result
= (wxString
*) &_result_ref
;
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17502 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17504 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17513 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (int)(arg1
)->GetImage();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= PyInt_FromLong((long)result
);
17538 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 result
= (long)(arg1
)->GetData();
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= PyInt_FromLong((long)result
);
17563 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (long)(arg1
)->GetMask();
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= PyInt_FromLong((long)result
);
17588 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17591 wxListItem
*result
;
17592 PyObject
* obj0
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17603 result
= (wxListItem
*) &_result_ref
;
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17616 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (long)(arg1
)->GetCacheFrom();
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= PyInt_FromLong((long)result
);
17641 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (long)(arg1
)->GetCacheTo();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= PyInt_FromLong((long)result
);
17666 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= PyInt_FromLong((long)result
);
17691 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 PyObject
* obj1
= 0 ;
17697 char *kwnames
[] = {
17698 (char *) "self",(char *) "editCancelled", NULL
17701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17704 arg2
= (bool) SPyObj_AsBool(obj1
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->SetEditCanceled(arg2
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17724 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17726 return Py_BuildValue((char *)"");
17728 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxWindow
*arg1
= (wxWindow
*) 0 ;
17731 int arg2
= (int) -1 ;
17732 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17733 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17734 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17735 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17736 long arg5
= (long) wxLC_ICON
;
17737 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17738 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17739 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17740 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17741 wxPyListCtrl
*result
;
17744 bool temp7
= False
;
17745 PyObject
* obj0
= 0 ;
17746 PyObject
* obj2
= 0 ;
17747 PyObject
* obj3
= 0 ;
17748 PyObject
* obj5
= 0 ;
17749 PyObject
* obj6
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17765 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17769 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17770 if (arg6
== NULL
) {
17771 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17776 arg7
= wxString_in_helper(obj6
);
17777 if (arg7
== NULL
) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17803 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxPyListCtrl
*result
;
17806 char *kwnames
[] = {
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17825 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17826 PyObject
*resultobj
;
17827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17828 wxWindow
*arg2
= (wxWindow
*) 0 ;
17829 int arg3
= (int) -1 ;
17830 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17831 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17832 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17833 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17834 long arg6
= (long) wxLC_ICON
;
17835 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17836 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17837 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17838 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17842 bool temp8
= False
;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 PyObject
* obj3
= 0 ;
17846 PyObject
* obj4
= 0 ;
17847 PyObject
* obj6
= 0 ;
17848 PyObject
* obj7
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17855 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17859 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17865 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17869 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17870 if (arg7
== NULL
) {
17871 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17876 arg8
= wxString_in_helper(obj7
);
17877 if (arg8
== NULL
) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= PyInt_FromLong((long)result
);
17903 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17906 PyObject
*arg2
= (PyObject
*) 0 ;
17907 PyObject
*arg3
= (PyObject
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 PyObject
* obj2
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self",(char *) "self",(char *) "_class", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 Py_INCREF(Py_None
); resultobj
= Py_None
;
17933 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17936 wxColour
*arg2
= 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "col", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17949 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= PyInt_FromLong((long)result
);
17965 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17968 wxColour
*arg2
= 0 ;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self",(char *) "col", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17981 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= PyInt_FromLong((long)result
);
17997 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18001 wxListItem
*result
;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self",(char *) "col", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= wxPyMake_wxObject(result
);
18025 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18029 wxListItem
*arg3
= 0 ;
18031 PyObject
* obj0
= 0 ;
18032 PyObject
* obj2
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self",(char *) "col",(char *) "item", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18039 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18040 if (arg3
== NULL
) {
18041 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= PyInt_FromLong((long)result
);
18057 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self",(char *) "col", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
18068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= PyInt_FromLong((long)result
);
18083 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self",(char *) "col",(char *) "width", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= PyInt_FromLong((long)result
);
18110 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= PyInt_FromLong((long)result
);
18135 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 wxRect
* resultptr
;
18155 resultptr
= new wxRect((wxRect
&) result
);
18156 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18164 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18168 int arg3
= (int) 0 ;
18169 wxListItem
*result
;
18170 PyObject
* obj0
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "itemId",(char *) "col", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= wxPyMake_wxObject(result
);
18193 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18196 wxListItem
*arg2
= 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self",(char *) "info", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18207 if (arg2
== NULL
) {
18208 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (bool)(arg1
)->SetItem(*arg2
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= PyInt_FromLong((long)result
);
18224 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18229 wxString
*arg4
= 0 ;
18230 int arg5
= (int) -1 ;
18232 bool temp4
= False
;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj3
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18242 arg4
= wxString_in_helper(obj3
);
18243 if (arg4
== NULL
) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= PyInt_FromLong((long)result
);
18268 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= PyInt_FromLong((long)result
);
18295 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= PyInt_FromLong((long)result
);
18323 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18330 PyObject
* obj0
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= PyInt_FromLong((long)result
);
18351 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 char *kwnames
[] = {
18358 (char *) "self",(char *) "item", NULL
18361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
18362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18383 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18387 wxString
*arg3
= 0 ;
18388 bool temp3
= False
;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj2
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self",(char *) "item",(char *) "str", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18398 arg3
= wxString_in_helper(obj2
);
18399 if (arg3
== NULL
) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 Py_INCREF(Py_None
); resultobj
= Py_None
;
18424 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "item", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= PyInt_FromLong((long)result
);
18450 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "item",(char *) "data", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= PyInt_FromLong((long)result
);
18477 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self",(char *) "item", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18497 wxPoint
* resultptr
;
18498 resultptr
= new wxPoint((wxPoint
&) result
);
18499 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18507 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18509 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18511 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18513 PyObject
* obj0
= 0 ;
18514 char *kwnames
[] = {
18515 (char *) "self",(char *) "item",(char *) "code", NULL
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18528 wxRect
* resultptr
;
18529 resultptr
= new wxRect((wxRect
&) result
);
18530 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18538 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
;
18540 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18542 wxPoint
*arg3
= 0 ;
18545 PyObject
* obj0
= 0 ;
18546 PyObject
* obj2
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self",(char *) "item",(char *) "pos", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18555 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= PyInt_FromLong((long)result
);
18571 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= PyInt_FromLong((long)result
);
18596 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= PyInt_FromLong((long)result
);
18621 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18640 wxSize
* resultptr
;
18641 resultptr
= new wxSize((wxSize
&) result
);
18642 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18650 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18654 bool arg3
= (bool) False
;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj2
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18665 arg3
= (bool) SPyObj_AsBool(obj2
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 (arg1
)->SetItemSpacing(arg2
,arg3
);
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 Py_INCREF(Py_None
); resultobj
= Py_None
;
18683 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= PyInt_FromLong((long)result
);
18708 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18727 wxColour
* resultptr
;
18728 resultptr
= new wxColour((wxColour
&) result
);
18729 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18737 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18740 wxColour
*arg2
= 0 ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self",(char *) "col", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18752 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 Py_INCREF(Py_None
); resultobj
= Py_None
;
18768 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18772 PyObject
* obj0
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= PyInt_FromLong((long)result
);
18793 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18797 bool arg3
= (bool) True
;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj2
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self",(char *) "style",(char *) "add", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18808 arg3
= (bool) SPyObj_AsBool(obj2
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 (arg1
)->SetSingleStyle(arg2
,arg3
);
18816 wxPyEndAllowThreads(__tstate
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18819 Py_INCREF(Py_None
); resultobj
= Py_None
;
18826 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18830 PyObject
* obj0
= 0 ;
18831 char *kwnames
[] = {
18832 (char *) "self",(char *) "style", NULL
18835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18839 (arg1
)->SetWindowStyleFlag(arg2
);
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 Py_INCREF(Py_None
); resultobj
= Py_None
;
18851 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18855 int arg3
= (int) wxLIST_NEXT_ALL
;
18856 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18858 PyObject
* obj0
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= PyInt_FromLong((long)result
);
18879 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
;
18881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18883 wxImageList
*result
;
18884 PyObject
* obj0
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self",(char *) "which", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= wxPyMake_wxObject(result
);
18907 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
;
18909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18910 wxImageList
*arg2
= (wxImageList
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self",(char *) "imageList",(char *) "which", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 (arg1
)->SetImageList(arg2
,arg3
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 Py_INCREF(Py_None
); resultobj
= Py_None
;
18935 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
;
18937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18938 wxImageList
*arg2
= (wxImageList
*) 0 ;
18940 PyObject
* obj0
= 0 ;
18941 PyObject
* obj1
= 0 ;
18942 char *kwnames
[] = {
18943 (char *) "self",(char *) "imageList",(char *) "which", NULL
18946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 (arg1
)->AssignImageList(arg2
,arg3
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 Py_INCREF(Py_None
); resultobj
= Py_None
;
18963 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 resultobj
= PyInt_FromLong((long)result
);
18988 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 char *kwnames
[] = {
18994 (char *) "self",(char *) "item", NULL
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->RefreshItem(arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 (arg1
)->RefreshItems(arg2
,arg3
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 Py_INCREF(Py_None
); resultobj
= Py_None
;
19039 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19042 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self",(char *) "flag", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) 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
= (bool)(arg1
)->Arrange(arg2
);
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= PyInt_FromLong((long)result
);
19065 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self",(char *) "item", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= (bool)(arg1
)->DeleteItem(arg2
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= PyInt_FromLong((long)result
);
19091 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
19101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (bool)(arg1
)->DeleteAllItems();
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= PyInt_FromLong((long)result
);
19116 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self",(char *) "col", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
19127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= (bool)(arg1
)->DeleteColumn(arg2
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= PyInt_FromLong((long)result
);
19142 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19143 PyObject
*resultobj
;
19144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19146 PyObject
* obj0
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
19152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 result
= (bool)(arg1
)->DeleteAllColumns();
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= PyInt_FromLong((long)result
);
19167 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19170 PyObject
* obj0
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->ClearAll();
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19195 PyObject
* obj0
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self",(char *) "item", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
19201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->EditLabel(arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 Py_INCREF(Py_None
); resultobj
= Py_None
;
19216 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self",(char *) "item", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
19227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 result
= (bool)(arg1
)->EnsureVisible(arg2
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= PyInt_FromLong((long)result
);
19242 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19246 wxString
*arg3
= 0 ;
19247 bool arg4
= (bool) False
;
19249 bool temp3
= False
;
19250 PyObject
* obj0
= 0 ;
19251 PyObject
* obj2
= 0 ;
19252 PyObject
* obj3
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
19258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19260 arg3
= wxString_in_helper(obj2
);
19261 if (arg3
== NULL
) SWIG_fail
;
19266 arg4
= (bool) SPyObj_AsBool(obj3
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= PyInt_FromLong((long)result
);
19292 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "start",(char *) "data", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= PyInt_FromLong((long)result
);
19319 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19323 wxPoint
*arg3
= 0 ;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj2
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= PyInt_FromLong((long)result
);
19353 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19356 wxPoint
*arg2
= 0 ;
19361 PyObject
* obj0
= 0 ;
19362 PyObject
* obj1
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self",(char *) "point", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19372 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= PyInt_FromLong((long)result
);
19383 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19384 resultobj
= t_output_helper(resultobj
,o
);
19392 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19395 wxListItem
*arg2
= 0 ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self",(char *) "info", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19406 if (arg2
== NULL
) {
19407 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (long)(arg1
)->InsertItem(*arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= PyInt_FromLong((long)result
);
19423 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19427 wxString
*arg3
= 0 ;
19429 bool temp3
= False
;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj2
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self",(char *) "index",(char *) "label", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19439 arg3
= wxString_in_helper(obj2
);
19440 if (arg3
== NULL
) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= PyInt_FromLong((long)result
);
19465 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19471 PyObject
* obj0
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= PyInt_FromLong((long)result
);
19492 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19496 wxString
*arg3
= 0 ;
19499 bool temp3
= False
;
19500 PyObject
* obj0
= 0 ;
19501 PyObject
* obj2
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19509 arg3
= wxString_in_helper(obj2
);
19510 if (arg3
== NULL
) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= PyInt_FromLong((long)result
);
19535 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19539 wxListItem
*arg3
= 0 ;
19541 PyObject
* obj0
= 0 ;
19542 PyObject
* obj2
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self",(char *) "col",(char *) "info", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19549 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19550 if (arg3
== NULL
) {
19551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= PyInt_FromLong((long)result
);
19567 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19571 wxString
*arg3
= 0 ;
19572 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19573 int arg5
= (int) -1 ;
19575 bool temp3
= False
;
19576 PyObject
* obj0
= 0 ;
19577 PyObject
* obj2
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19585 arg3
= wxString_in_helper(obj2
);
19586 if (arg3
== NULL
) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= PyInt_FromLong((long)result
);
19611 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19615 PyObject
* obj0
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self",(char *) "count", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->SetItemCount(arg2
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 Py_INCREF(Py_None
); resultobj
= Py_None
;
19636 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self",(char *) "dx",(char *) "dy", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= PyInt_FromLong((long)result
);
19663 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19667 wxColour
*arg3
= 0 ;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj2
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "item",(char *) "col", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19679 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 Py_INCREF(Py_None
); resultobj
= Py_None
;
19695 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19700 PyObject
* obj0
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self",(char *) "item", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19715 wxColour
* resultptr
;
19716 resultptr
= new wxColour((wxColour
&) result
);
19717 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19725 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19729 wxColour
*arg3
= 0 ;
19731 PyObject
* obj0
= 0 ;
19732 PyObject
* obj2
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "self",(char *) "item",(char *) "col", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19741 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19750 Py_INCREF(Py_None
); resultobj
= Py_None
;
19757 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "self",(char *) "item", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 wxColour
* resultptr
;
19778 resultptr
= new wxColour((wxColour
&) result
);
19779 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19787 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19790 PyObject
*arg2
= (PyObject
*) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 PyObject
* obj1
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self",(char *) "func", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19808 resultobj
= PyInt_FromLong((long)result
);
19815 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
;
19817 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19834 resultobj
= wxPyMake_wxObject(result
);
19842 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19845 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19847 return Py_BuildValue((char *)"");
19849 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxWindow
*arg1
= (wxWindow
*) 0 ;
19852 int arg2
= (int) -1 ;
19853 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19854 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19855 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19856 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19857 long arg5
= (long) wxLC_REPORT
;
19858 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19859 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19860 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19862 wxListView
*result
;
19865 bool temp7
= False
;
19866 PyObject
* obj0
= 0 ;
19867 PyObject
* obj2
= 0 ;
19868 PyObject
* obj3
= 0 ;
19869 PyObject
* obj5
= 0 ;
19870 PyObject
* obj6
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19886 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19890 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19891 if (arg6
== NULL
) {
19892 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19897 arg7
= wxString_in_helper(obj6
);
19898 if (arg7
== NULL
) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19924 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxListView
*result
;
19927 char *kwnames
[] = {
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= (wxListView
*)new wxListView();
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19946 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxListView
*arg1
= (wxListView
*) 0 ;
19949 wxWindow
*arg2
= (wxWindow
*) 0 ;
19950 int arg3
= (int) -1 ;
19951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19955 long arg6
= (long) wxLC_REPORT
;
19956 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19957 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19958 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19959 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19963 bool temp8
= False
;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 PyObject
* obj3
= 0 ;
19967 PyObject
* obj4
= 0 ;
19968 PyObject
* obj6
= 0 ;
19969 PyObject
* obj7
= 0 ;
19970 char *kwnames
[] = {
19971 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
19975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19980 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19986 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19990 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19991 if (arg7
== NULL
) {
19992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19997 arg8
= wxString_in_helper(obj7
);
19998 if (arg8
== NULL
) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= PyInt_FromLong((long)result
);
20024 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxListView
*arg1
= (wxListView
*) 0 ;
20028 bool arg3
= (bool) True
;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj2
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self",(char *) "n",(char *) "on", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20039 arg3
= (bool) SPyObj_AsBool(obj2
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 (arg1
)->Select(arg2
,arg3
);
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20050 Py_INCREF(Py_None
); resultobj
= Py_None
;
20057 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
;
20059 wxListView
*arg1
= (wxListView
*) 0 ;
20061 PyObject
* obj0
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "index", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 (arg1
)->Focus(arg2
);
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 Py_INCREF(Py_None
); resultobj
= Py_None
;
20082 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxListView
*arg1
= (wxListView
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= PyInt_FromLong((long)result
);
20107 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20109 wxListView
*arg1
= (wxListView
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self",(char *) "item", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= PyInt_FromLong((long)result
);
20133 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxListView
*arg1
= (wxListView
*) 0 ;
20137 PyObject
* obj0
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= PyInt_FromLong((long)result
);
20158 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxListView
*arg1
= (wxListView
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "index", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (bool)(arg1
)->IsSelected(arg2
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= PyInt_FromLong((long)result
);
20184 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxListView
*arg1
= (wxListView
*) 0 ;
20189 PyObject
* obj0
= 0 ;
20190 char *kwnames
[] = {
20191 (char *) "self",(char *) "col",(char *) "image", NULL
20194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 (arg1
)->SetColumnImage(arg2
,arg3
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 Py_INCREF(Py_None
); resultobj
= Py_None
;
20210 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
;
20212 wxListView
*arg1
= (wxListView
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self",(char *) "col", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
20220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 (arg1
)->ClearColumnImage(arg2
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 Py_INCREF(Py_None
); resultobj
= Py_None
;
20235 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
20237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20238 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
20240 return Py_BuildValue((char *)"");
20242 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
20243 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
20248 static PyObject
*_wrap_TreeCtrlNameStr_get() {
20253 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20255 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20262 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
;
20264 wxTreeItemId
*result
;
20265 char *kwnames
[] = {
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 result
= (wxTreeItemId
*)new wxTreeItemId();
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
20284 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20287 PyObject
* obj0
= 0 ;
20288 char *kwnames
[] = {
20289 (char *) "self", NULL
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
20293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 Py_INCREF(Py_None
); resultobj
= Py_None
;
20308 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 resultobj
= PyInt_FromLong((long)result
);
20333 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20336 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self",(char *) "other", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20354 resultobj
= PyInt_FromLong((long)result
);
20361 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
;
20363 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20364 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20368 char *kwnames
[] = {
20369 (char *) "self",(char *) "other", NULL
20372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20374 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= PyInt_FromLong((long)result
);
20389 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
;
20391 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20392 void *arg2
= (void *) 0 ;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self",(char *) "m_pItem", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20402 if (arg1
) (arg1
)->m_pItem
= arg2
;
20404 Py_INCREF(Py_None
); resultobj
= Py_None
;
20411 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20422 result
= (void *) ((arg1
)->m_pItem
);
20424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
20431 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20434 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20436 return Py_BuildValue((char *)"");
20438 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
;
20440 PyObject
*arg1
= (PyObject
*) NULL
;
20441 wxPyTreeItemData
*result
;
20442 PyObject
* obj0
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "obj", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20465 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "self", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (PyObject
*)(arg1
)->GetData();
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= result
;
20490 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20493 PyObject
*arg2
= (PyObject
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self",(char *) "obj", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 (arg1
)->SetData(arg2
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 Py_INCREF(Py_None
); resultobj
= Py_None
;
20517 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20520 wxTreeItemId
*result
;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20532 result
= (wxTreeItemId
*) &_result_ref
;
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20545 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20548 wxTreeItemId
*arg2
= 0 ;
20549 PyObject
* obj0
= 0 ;
20550 PyObject
* obj1
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self",(char *) "id", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20558 if (arg2
== NULL
) {
20559 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 Py_INCREF(Py_None
); resultobj
= Py_None
;
20575 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 wxPyTreeItemData_Destroy(arg1
);
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 Py_INCREF(Py_None
); resultobj
= Py_None
;
20599 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20602 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20604 return Py_BuildValue((char *)"");
20606 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20609 int arg2
= (int) 0 ;
20610 wxTreeEvent
*result
;
20611 char *kwnames
[] = {
20612 (char *) "commandType",(char *) "id", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20630 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20633 wxTreeItemId result
;
20634 PyObject
* obj0
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20649 wxTreeItemId
* resultptr
;
20650 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20651 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20659 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20662 wxTreeItemId
*arg2
= 0 ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "self",(char *) "item", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20672 if (arg2
== NULL
) {
20673 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 Py_INCREF(Py_None
); resultobj
= Py_None
;
20689 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20692 wxTreeItemId result
;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20708 wxTreeItemId
* resultptr
;
20709 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20710 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20718 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20721 wxTreeItemId
*arg2
= 0 ;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self",(char *) "item", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20731 if (arg2
== NULL
) {
20732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 Py_INCREF(Py_None
); resultobj
= Py_None
;
20748 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 wxPoint
* resultptr
;
20768 resultptr
= new wxPoint((wxPoint
&) result
);
20769 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20777 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20780 wxPoint
*arg2
= 0 ;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "self",(char *) "pt", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 Py_INCREF(Py_None
); resultobj
= Py_None
;
20808 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20811 wxKeyEvent
*result
;
20812 PyObject
* obj0
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20823 result
= (wxKeyEvent
*) &_result_ref
;
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20836 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= PyInt_FromLong((long)result
);
20861 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20864 wxKeyEvent
*arg2
= 0 ;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "evt", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20874 if (arg2
== NULL
) {
20875 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20884 Py_INCREF(Py_None
); resultobj
= Py_None
;
20891 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20895 PyObject
* obj0
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20906 result
= (wxString
*) &_result_ref
;
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20916 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20925 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20928 wxString
*arg2
= 0 ;
20929 bool temp2
= False
;
20930 PyObject
* obj0
= 0 ;
20931 PyObject
* obj1
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self",(char *) "label", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20939 arg2
= wxString_in_helper(obj1
);
20940 if (arg2
== NULL
) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 (arg1
)->SetLabel((wxString
const &)*arg2
);
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 Py_INCREF(Py_None
); resultobj
= Py_None
;
20965 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= PyInt_FromLong((long)result
);
20990 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self",(char *) "editCancelled", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21003 arg2
= (bool) SPyObj_AsBool(obj1
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 (arg1
)->SetEditCanceled(arg2
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 Py_INCREF(Py_None
); resultobj
= Py_None
;
21020 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21023 wxString
*arg2
= 0 ;
21024 bool temp2
= False
;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self",(char *) "toolTip", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21034 arg2
= wxString_in_helper(obj1
);
21035 if (arg2
== NULL
) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 (arg1
)->SetToolTip((wxString
const &)*arg2
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 Py_INCREF(Py_None
); resultobj
= Py_None
;
21060 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21063 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
21065 return Py_BuildValue((char *)"");
21067 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxWindow
*arg1
= (wxWindow
*) 0 ;
21070 int arg2
= (int) -1 ;
21071 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21072 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21073 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21074 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21075 long arg5
= (long) wxTR_DEFAULT_STYLE
;
21076 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21077 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21078 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
21079 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21080 wxPyTreeCtrl
*result
;
21083 bool temp7
= False
;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj2
= 0 ;
21086 PyObject
* obj3
= 0 ;
21087 PyObject
* obj5
= 0 ;
21088 PyObject
* obj6
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
21094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21108 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21109 if (arg6
== NULL
) {
21110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21115 arg7
= wxString_in_helper(obj6
);
21116 if (arg7
== NULL
) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21128 resultobj
= wxPyMake_wxObject(result
);
21144 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxPyTreeCtrl
*result
;
21147 char *kwnames
[] = {
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= wxPyMake_wxObject(result
);
21168 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21171 wxWindow
*arg2
= (wxWindow
*) 0 ;
21172 int arg3
= (int) -1 ;
21173 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21174 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21175 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21176 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21177 long arg6
= (long) wxTR_DEFAULT_STYLE
;
21178 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21179 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21180 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
21181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21185 bool temp8
= False
;
21186 PyObject
* obj0
= 0 ;
21187 PyObject
* obj1
= 0 ;
21188 PyObject
* obj3
= 0 ;
21189 PyObject
* obj4
= 0 ;
21190 PyObject
* obj6
= 0 ;
21191 PyObject
* obj7
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
21197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21212 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21213 if (arg7
== NULL
) {
21214 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21219 arg8
= wxString_in_helper(obj7
);
21220 if (arg8
== NULL
) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= PyInt_FromLong((long)result
);
21246 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21249 PyObject
*arg2
= (PyObject
*) 0 ;
21250 PyObject
*arg3
= (PyObject
*) 0 ;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 PyObject
* obj2
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self",(char *) "self",(char *) "_class", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 Py_INCREF(Py_None
); resultobj
= Py_None
;
21276 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21301 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21304 unsigned int result
;
21305 PyObject
* obj0
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21326 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21329 unsigned int arg2
;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "indent", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
21337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21339 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 (arg1
)->SetIndent(arg2
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 Py_INCREF(Py_None
); resultobj
= Py_None
;
21356 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
;
21358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21359 unsigned int result
;
21360 PyObject
* obj0
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "self", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
21366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21381 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21384 unsigned int arg2
;
21385 PyObject
* obj0
= 0 ;
21386 PyObject
* obj1
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "spacing", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21394 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 (arg1
)->SetSpacing(arg2
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 Py_INCREF(Py_None
); resultobj
= Py_None
;
21411 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21414 wxImageList
*result
;
21415 PyObject
* obj0
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
21421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= wxPyMake_wxObject(result
);
21438 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21441 wxImageList
*result
;
21442 PyObject
* obj0
= 0 ;
21443 char *kwnames
[] = {
21444 (char *) "self", NULL
21447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
21448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= wxPyMake_wxObject(result
);
21465 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21468 wxImageList
*arg2
= (wxImageList
*) 0 ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self",(char *) "imageList", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 (arg1
)->SetImageList(arg2
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 Py_INCREF(Py_None
); resultobj
= Py_None
;
21492 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21495 wxImageList
*arg2
= (wxImageList
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self",(char *) "imageList", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21504 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 (arg1
)->SetStateImageList(arg2
);
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 Py_INCREF(Py_None
); resultobj
= Py_None
;
21519 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21522 wxImageList
*arg2
= (wxImageList
*) 0 ;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "imageList", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21531 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 (arg1
)->AssignImageList(arg2
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 Py_INCREF(Py_None
); resultobj
= Py_None
;
21546 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21549 wxImageList
*arg2
= (wxImageList
*) 0 ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self",(char *) "imageList", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21558 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 (arg1
)->AssignStateImageList(arg2
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 Py_INCREF(Py_None
); resultobj
= Py_None
;
21573 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21576 wxTreeItemId
*arg2
= 0 ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self",(char *) "item", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21586 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21587 if (arg2
== NULL
) {
21588 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21610 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21613 wxTreeItemId
*arg2
= 0 ;
21614 int arg3
= (int) wxTreeItemIcon_Normal
;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self",(char *) "item",(char *) "which", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21625 if (arg2
== NULL
) {
21626 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= PyInt_FromLong((long)result
);
21642 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21645 wxTreeItemId
*arg2
= 0 ;
21646 wxPyTreeItemData
*result
;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self",(char *) "item", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21656 if (arg2
== NULL
) {
21657 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21673 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21676 wxTreeItemId
*arg2
= 0 ;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self",(char *) "item", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21687 if (arg2
== NULL
) {
21688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 resultobj
= result
;
21704 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21707 wxTreeItemId
*arg2
= 0 ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self",(char *) "item", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21718 if (arg2
== NULL
) {
21719 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21729 wxColour
* resultptr
;
21730 resultptr
= new wxColour((wxColour
&) result
);
21731 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21739 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21742 wxTreeItemId
*arg2
= 0 ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self",(char *) "item", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21753 if (arg2
== NULL
) {
21754 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21764 wxColour
* resultptr
;
21765 resultptr
= new wxColour((wxColour
&) result
);
21766 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21774 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
;
21776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21777 wxTreeItemId
*arg2
= 0 ;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "item", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21788 if (arg2
== NULL
) {
21789 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21799 wxFont
* resultptr
;
21800 resultptr
= new wxFont((wxFont
&) result
);
21801 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21809 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21812 wxTreeItemId
*arg2
= 0 ;
21813 wxString
*arg3
= 0 ;
21814 bool temp3
= False
;
21815 PyObject
* obj0
= 0 ;
21816 PyObject
* obj1
= 0 ;
21817 PyObject
* obj2
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self",(char *) "item",(char *) "text", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21825 if (arg2
== NULL
) {
21826 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21829 arg3
= wxString_in_helper(obj2
);
21830 if (arg3
== NULL
) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 Py_INCREF(Py_None
); resultobj
= Py_None
;
21855 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21857 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21858 wxTreeItemId
*arg2
= 0 ;
21860 int arg4
= (int) wxTreeItemIcon_Normal
;
21861 PyObject
* obj0
= 0 ;
21862 PyObject
* obj1
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21870 if (arg2
== NULL
) {
21871 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 Py_INCREF(Py_None
); resultobj
= Py_None
;
21887 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21890 wxTreeItemId
*arg2
= 0 ;
21891 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 PyObject
* obj2
= 0 ;
21895 char *kwnames
[] = {
21896 (char *) "self",(char *) "item",(char *) "data", NULL
21899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21902 if (arg2
== NULL
) {
21903 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21905 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 Py_INCREF(Py_None
); resultobj
= Py_None
;
21920 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21923 wxTreeItemId
*arg2
= 0 ;
21924 PyObject
*arg3
= (PyObject
*) 0 ;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 PyObject
* obj2
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "item",(char *) "obj", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21935 if (arg2
== NULL
) {
21936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 Py_INCREF(Py_None
); resultobj
= Py_None
;
21953 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21956 wxTreeItemId
*arg2
= 0 ;
21957 bool arg3
= (bool) True
;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 PyObject
* obj2
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "item",(char *) "has", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21968 if (arg2
== NULL
) {
21969 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21973 arg3
= (bool) SPyObj_AsBool(obj2
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 Py_INCREF(Py_None
); resultobj
= Py_None
;
21991 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21994 wxTreeItemId
*arg2
= 0 ;
21995 bool arg3
= (bool) True
;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 PyObject
* obj2
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self",(char *) "item",(char *) "bold", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22006 if (arg2
== NULL
) {
22007 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22011 arg3
= (bool) SPyObj_AsBool(obj2
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 Py_INCREF(Py_None
); resultobj
= Py_None
;
22029 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22032 wxTreeItemId
*arg2
= 0 ;
22033 wxColour
*arg3
= 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 PyObject
* obj2
= 0 ;
22038 char *kwnames
[] = {
22039 (char *) "self",(char *) "item",(char *) "col", NULL
22042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22045 if (arg2
== NULL
) {
22046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22050 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 Py_INCREF(Py_None
); resultobj
= Py_None
;
22066 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22069 wxTreeItemId
*arg2
= 0 ;
22070 wxColour
*arg3
= 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 PyObject
* obj2
= 0 ;
22075 char *kwnames
[] = {
22076 (char *) "self",(char *) "item",(char *) "col", NULL
22079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22081 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22082 if (arg2
== NULL
) {
22083 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22087 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 Py_INCREF(Py_None
); resultobj
= Py_None
;
22103 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22106 wxTreeItemId
*arg2
= 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 PyObject
* obj2
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "item",(char *) "font", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22118 if (arg2
== NULL
) {
22119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22121 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22122 if (arg3
== NULL
) {
22123 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 Py_INCREF(Py_None
); resultobj
= Py_None
;
22139 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22142 wxTreeItemId
*arg2
= 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "item", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22153 if (arg2
== NULL
) {
22154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= PyInt_FromLong((long)result
);
22170 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22173 wxTreeItemId
*arg2
= 0 ;
22175 PyObject
* obj0
= 0 ;
22176 PyObject
* obj1
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self",(char *) "item", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22184 if (arg2
== NULL
) {
22185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= PyInt_FromLong((long)result
);
22201 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22204 wxTreeItemId
*arg2
= 0 ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "item", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22215 if (arg2
== NULL
) {
22216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= PyInt_FromLong((long)result
);
22232 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22235 wxTreeItemId
*arg2
= 0 ;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self",(char *) "item", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22246 if (arg2
== NULL
) {
22247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 resultobj
= PyInt_FromLong((long)result
);
22263 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22266 wxTreeItemId
*arg2
= 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "item", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22277 if (arg2
== NULL
) {
22278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= PyInt_FromLong((long)result
);
22294 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22297 wxTreeItemId
*arg2
= 0 ;
22298 bool arg3
= (bool) True
;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 PyObject
* obj2
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self",(char *) "item",(char *) "recursively", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22310 if (arg2
== NULL
) {
22311 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22315 arg3
= (bool) SPyObj_AsBool(obj2
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
22333 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
;
22335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22336 wxTreeItemId result
;
22337 PyObject
* obj0
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22352 wxTreeItemId
* resultptr
;
22353 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22354 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22362 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
;
22364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22365 wxTreeItemId result
;
22366 PyObject
* obj0
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22381 wxTreeItemId
* resultptr
;
22382 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22383 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22391 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
22401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= result
;
22416 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22419 wxTreeItemId
*arg2
= 0 ;
22420 wxTreeItemId result
;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 char *kwnames
[] = {
22424 (char *) "self",(char *) "item", NULL
22427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22430 if (arg2
== NULL
) {
22431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22441 wxTreeItemId
* resultptr
;
22442 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22443 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22451 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22454 wxTreeItemId
*arg2
= 0 ;
22456 PyObject
* obj0
= 0 ;
22457 PyObject
* obj1
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self",(char *) "item", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22464 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22465 if (arg2
== NULL
) {
22466 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= result
;
22482 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22485 wxTreeItemId
*arg2
= 0 ;
22486 void *arg3
= (void *) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 PyObject
* obj1
= 0 ;
22490 PyObject
* obj2
= 0 ;
22491 char *kwnames
[] = {
22492 (char *) "self",(char *) "item",(char *) "cookie", NULL
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22498 if (arg2
== NULL
) {
22499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22501 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= result
;
22516 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22519 wxTreeItemId
*arg2
= 0 ;
22520 wxTreeItemId result
;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self",(char *) "item", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22530 if (arg2
== NULL
) {
22531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 wxTreeItemId
* resultptr
;
22542 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22543 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22551 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22554 wxTreeItemId
*arg2
= 0 ;
22555 wxTreeItemId result
;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self",(char *) "item", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22565 if (arg2
== NULL
) {
22566 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22576 wxTreeItemId
* resultptr
;
22577 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22578 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22586 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22589 wxTreeItemId
*arg2
= 0 ;
22590 wxTreeItemId result
;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self",(char *) "item", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22600 if (arg2
== NULL
) {
22601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22611 wxTreeItemId
* resultptr
;
22612 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22613 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22621 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22624 wxTreeItemId result
;
22625 PyObject
* obj0
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22640 wxTreeItemId
* resultptr
;
22641 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22642 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22650 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22653 wxTreeItemId
*arg2
= 0 ;
22654 wxTreeItemId result
;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "item", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22664 if (arg2
== NULL
) {
22665 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22675 wxTreeItemId
* resultptr
;
22676 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22677 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22685 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22688 wxTreeItemId
*arg2
= 0 ;
22689 wxTreeItemId result
;
22690 PyObject
* obj0
= 0 ;
22691 PyObject
* obj1
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self",(char *) "item", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22699 if (arg2
== NULL
) {
22700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 wxTreeItemId
* resultptr
;
22711 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22712 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22720 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22723 wxString
*arg2
= 0 ;
22724 int arg3
= (int) -1 ;
22725 int arg4
= (int) -1 ;
22726 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22727 wxTreeItemId result
;
22728 bool temp2
= False
;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 PyObject
* obj4
= 0 ;
22732 char *kwnames
[] = {
22733 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22739 arg2
= wxString_in_helper(obj1
);
22740 if (arg2
== NULL
) SWIG_fail
;
22744 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22754 wxTreeItemId
* resultptr
;
22755 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22756 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22772 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22775 wxTreeItemId
*arg2
= 0 ;
22776 wxString
*arg3
= 0 ;
22777 int arg4
= (int) -1 ;
22778 int arg5
= (int) -1 ;
22779 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22780 wxTreeItemId result
;
22781 bool temp3
= False
;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 PyObject
* obj2
= 0 ;
22785 PyObject
* obj5
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22793 if (arg2
== NULL
) {
22794 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22797 arg3
= wxString_in_helper(obj2
);
22798 if (arg3
== NULL
) SWIG_fail
;
22802 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22812 wxTreeItemId
* resultptr
;
22813 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22814 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22830 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22833 wxTreeItemId
*arg2
= 0 ;
22834 wxTreeItemId
*arg3
= 0 ;
22835 wxString
*arg4
= 0 ;
22836 int arg5
= (int) -1 ;
22837 int arg6
= (int) -1 ;
22838 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22839 wxTreeItemId result
;
22840 bool temp4
= False
;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 PyObject
* obj2
= 0 ;
22844 PyObject
* obj3
= 0 ;
22845 PyObject
* obj6
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22852 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22853 if (arg2
== NULL
) {
22854 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22856 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22857 if (arg3
== NULL
) {
22858 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22861 arg4
= wxString_in_helper(obj3
);
22862 if (arg4
== NULL
) SWIG_fail
;
22866 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22876 wxTreeItemId
* resultptr
;
22877 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22878 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22894 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22897 wxTreeItemId
*arg2
= 0 ;
22899 wxString
*arg4
= 0 ;
22900 int arg5
= (int) -1 ;
22901 int arg6
= (int) -1 ;
22902 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22903 wxTreeItemId result
;
22904 bool temp4
= False
;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 PyObject
* obj2
= 0 ;
22908 PyObject
* obj3
= 0 ;
22909 PyObject
* obj6
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22917 if (arg2
== NULL
) {
22918 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22921 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22925 arg4
= wxString_in_helper(obj3
);
22926 if (arg4
== NULL
) SWIG_fail
;
22930 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22940 wxTreeItemId
* resultptr
;
22941 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22942 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22958 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22961 wxTreeItemId
*arg2
= 0 ;
22962 wxString
*arg3
= 0 ;
22963 int arg4
= (int) -1 ;
22964 int arg5
= (int) -1 ;
22965 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22966 wxTreeItemId result
;
22967 bool temp3
= False
;
22968 PyObject
* obj0
= 0 ;
22969 PyObject
* obj1
= 0 ;
22970 PyObject
* obj2
= 0 ;
22971 PyObject
* obj5
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22978 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22979 if (arg2
== NULL
) {
22980 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22983 arg3
= wxString_in_helper(obj2
);
22984 if (arg3
== NULL
) SWIG_fail
;
22988 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22998 wxTreeItemId
* resultptr
;
22999 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23000 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23016 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23019 wxTreeItemId
*arg2
= 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "item", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23029 if (arg2
== NULL
) {
23030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 Py_INCREF(Py_None
); resultobj
= Py_None
;
23046 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23049 wxTreeItemId
*arg2
= 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self",(char *) "item", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23059 if (arg2
== NULL
) {
23060 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 Py_INCREF(Py_None
); resultobj
= Py_None
;
23076 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23077 PyObject
*resultobj
;
23078 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 (arg1
)->DeleteAllItems();
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 Py_INCREF(Py_None
); resultobj
= Py_None
;
23100 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23103 wxTreeItemId
*arg2
= 0 ;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self",(char *) "item", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
23111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23113 if (arg2
== NULL
) {
23114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 Py_INCREF(Py_None
); resultobj
= Py_None
;
23130 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23133 wxTreeItemId
*arg2
= 0 ;
23134 PyObject
* obj0
= 0 ;
23135 PyObject
* obj1
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self",(char *) "item", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23143 if (arg2
== NULL
) {
23144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 Py_INCREF(Py_None
); resultobj
= Py_None
;
23160 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23163 wxTreeItemId
*arg2
= 0 ;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self",(char *) "item", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23173 if (arg2
== NULL
) {
23174 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 Py_INCREF(Py_None
); resultobj
= Py_None
;
23190 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23193 wxTreeItemId
*arg2
= 0 ;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "item", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23203 if (arg2
== NULL
) {
23204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 Py_INCREF(Py_None
); resultobj
= Py_None
;
23220 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23223 PyObject
* obj0
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 (arg1
)->Unselect();
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 Py_INCREF(Py_None
); resultobj
= Py_None
;
23244 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
;
23246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
23253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 (arg1
)->UnselectAll();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 Py_INCREF(Py_None
); resultobj
= Py_None
;
23268 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23271 wxTreeItemId
*arg2
= 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "item", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23281 if (arg2
== NULL
) {
23282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 Py_INCREF(Py_None
); resultobj
= Py_None
;
23298 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23301 wxTreeItemId
*arg2
= 0 ;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self",(char *) "item", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23310 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23311 if (arg2
== NULL
) {
23312 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23331 wxTreeItemId
*arg2
= 0 ;
23332 PyObject
* obj0
= 0 ;
23333 PyObject
* obj1
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self",(char *) "item", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23341 if (arg2
== NULL
) {
23342 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 Py_INCREF(Py_None
); resultobj
= Py_None
;
23358 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23361 wxTreeItemId
*arg2
= 0 ;
23362 PyObject
* obj0
= 0 ;
23363 PyObject
* obj1
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self",(char *) "item", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23370 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23371 if (arg2
== NULL
) {
23372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 Py_INCREF(Py_None
); resultobj
= Py_None
;
23388 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23391 wxTextCtrl
*result
;
23392 PyObject
* obj0
= 0 ;
23393 char *kwnames
[] = {
23394 (char *) "self", NULL
23397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= wxPyMake_wxObject(result
);
23415 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23418 wxTreeItemId
*arg2
= 0 ;
23419 PyObject
* obj0
= 0 ;
23420 PyObject
* obj1
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self",(char *) "item", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23428 if (arg2
== NULL
) {
23429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 Py_INCREF(Py_None
); resultobj
= Py_None
;
23445 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23448 wxPoint
*arg2
= 0 ;
23450 wxTreeItemId result
;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "point", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23474 wxTreeItemId
* resultptr
;
23475 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23476 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23479 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23480 resultobj
= t_output_helper(resultobj
,o
);
23488 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23491 wxTreeItemId
*arg2
= 0 ;
23492 bool arg3
= (bool) False
;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 PyObject
* obj2
= 0 ;
23497 char *kwnames
[] = {
23498 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23504 if (arg2
== NULL
) {
23505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23509 arg3
= (bool) SPyObj_AsBool(obj2
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= result
;
23527 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23530 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23532 return Py_BuildValue((char *)"");
23534 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
23535 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
23540 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
23545 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23547 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23554 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23556 wxWindow
*arg1
= (wxWindow
*) 0 ;
23557 int arg2
= (int) (int)-1 ;
23558 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23564 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23565 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23566 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23567 int arg8
= (int) 0 ;
23568 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
23569 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23570 wxGenericDirCtrl
*result
;
23571 bool temp3
= False
;
23574 bool temp7
= False
;
23575 bool temp9
= False
;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj2
= 0 ;
23578 PyObject
* obj3
= 0 ;
23579 PyObject
* obj4
= 0 ;
23580 PyObject
* obj6
= 0 ;
23581 PyObject
* obj8
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23590 arg3
= wxString_in_helper(obj2
);
23591 if (arg3
== NULL
) SWIG_fail
;
23598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23609 arg7
= wxString_in_helper(obj6
);
23610 if (arg7
== NULL
) SWIG_fail
;
23616 arg9
= wxString_in_helper(obj8
);
23617 if (arg9
== NULL
) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23659 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxGenericDirCtrl
*result
;
23662 char *kwnames
[] = {
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23681 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23684 wxWindow
*arg2
= (wxWindow
*) 0 ;
23685 int arg3
= (int) (int)-1 ;
23686 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23687 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23688 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23689 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23690 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23691 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23692 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23693 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23694 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23695 int arg9
= (int) 0 ;
23696 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
23697 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23699 bool temp4
= False
;
23702 bool temp8
= False
;
23703 bool temp10
= False
;
23704 PyObject
* obj0
= 0 ;
23705 PyObject
* obj1
= 0 ;
23706 PyObject
* obj3
= 0 ;
23707 PyObject
* obj4
= 0 ;
23708 PyObject
* obj5
= 0 ;
23709 PyObject
* obj7
= 0 ;
23710 PyObject
* obj9
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23720 arg4
= wxString_in_helper(obj3
);
23721 if (arg4
== NULL
) SWIG_fail
;
23728 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23734 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23739 arg8
= wxString_in_helper(obj7
);
23740 if (arg8
== NULL
) SWIG_fail
;
23746 arg10
= wxString_in_helper(obj9
);
23747 if (arg10
== NULL
) SWIG_fail
;
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= PyInt_FromLong((long)result
);
23789 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23792 wxString
*arg2
= 0 ;
23794 bool temp2
= False
;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self",(char *) "path", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23804 arg2
= wxString_in_helper(obj1
);
23805 if (arg2
== NULL
) SWIG_fail
;
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= PyInt_FromLong((long)result
);
23830 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
;
23832 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23834 PyObject
* obj0
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "self", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23861 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
;
23863 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23864 wxString
*arg2
= 0 ;
23865 bool temp2
= False
;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 char *kwnames
[] = {
23869 (char *) "self",(char *) "path", NULL
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23875 arg2
= wxString_in_helper(obj1
);
23876 if (arg2
== NULL
) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 Py_INCREF(Py_None
); resultobj
= Py_None
;
23901 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23905 PyObject
* obj0
= 0 ;
23906 char *kwnames
[] = {
23907 (char *) "self", NULL
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
23911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23932 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23936 PyObject
* obj0
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23963 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
;
23965 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23966 wxString
*arg2
= 0 ;
23967 bool temp2
= False
;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self",(char *) "path", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23977 arg2
= wxString_in_helper(obj1
);
23978 if (arg2
== NULL
) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 (arg1
)->SetPath((wxString
const &)*arg2
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 Py_INCREF(Py_None
); resultobj
= Py_None
;
24003 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24009 char *kwnames
[] = {
24010 (char *) "self",(char *) "show", NULL
24013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
24014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24016 arg2
= (bool) SPyObj_AsBool(obj1
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 (arg1
)->ShowHidden(arg2
);
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 Py_INCREF(Py_None
); resultobj
= Py_None
;
24033 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24034 PyObject
*resultobj
;
24035 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24037 PyObject
* obj0
= 0 ;
24038 char *kwnames
[] = {
24039 (char *) "self", NULL
24042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
24043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (bool)(arg1
)->GetShowHidden();
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= PyInt_FromLong((long)result
);
24058 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24062 PyObject
* obj0
= 0 ;
24063 char *kwnames
[] = {
24064 (char *) "self", NULL
24067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
24068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24089 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24092 wxString
*arg2
= 0 ;
24093 bool temp2
= False
;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self",(char *) "filter", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24103 arg2
= wxString_in_helper(obj1
);
24104 if (arg2
== NULL
) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 (arg1
)->SetFilter((wxString
const &)*arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 Py_INCREF(Py_None
); resultobj
= Py_None
;
24129 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24131 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= PyInt_FromLong((long)result
);
24154 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "n", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 (arg1
)->SetFilterIndex(arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 Py_INCREF(Py_None
); resultobj
= Py_None
;
24179 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24182 wxTreeItemId result
;
24183 PyObject
* obj0
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
24189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (arg1
)->GetRootId();
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24198 wxTreeItemId
* resultptr
;
24199 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24200 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24208 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24211 wxPyTreeCtrl
*result
;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= wxPyMake_wxObject(result
);
24235 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24238 wxDirFilterListCtrl
*result
;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
24260 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24261 PyObject
*resultobj
;
24262 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24263 wxTreeItemId arg2
;
24264 wxString
*arg3
= 0 ;
24266 wxTreeItemId result
;
24267 wxTreeItemId
*argp2
;
24268 bool temp3
= False
;
24270 PyObject
* obj0
= 0 ;
24271 PyObject
* obj1
= 0 ;
24272 PyObject
* obj2
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self",(char *) "parentId",(char *) "path", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24280 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
24283 arg3
= wxString_in_helper(obj2
);
24284 if (arg3
== NULL
) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24295 wxTreeItemId
* resultptr
;
24296 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24297 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24300 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24301 resultobj
= t_output_helper(resultobj
,o
);
24317 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
;
24319 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24320 PyObject
* obj0
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
24326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 (arg1
)->DoResize();
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 Py_INCREF(Py_None
); resultobj
= Py_None
;
24341 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 (arg1
)->ReCreateTree();
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 Py_INCREF(Py_None
); resultobj
= Py_None
;
24365 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24368 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
24370 return Py_BuildValue((char *)"");
24372 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24375 int arg2
= (int) (int)-1 ;
24376 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24377 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24378 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24379 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24380 long arg5
= (long) 0 ;
24381 wxDirFilterListCtrl
*result
;
24384 PyObject
* obj0
= 0 ;
24385 PyObject
* obj2
= 0 ;
24386 PyObject
* obj3
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24396 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24402 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24419 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxDirFilterListCtrl
*result
;
24422 char *kwnames
[] = {
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24441 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24444 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24445 int arg3
= (int) (int)-1 ;
24446 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24447 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24448 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24449 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24450 long arg6
= (long) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 PyObject
* obj3
= 0 ;
24457 PyObject
* obj4
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24468 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24474 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= PyInt_FromLong((long)result
);
24491 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24494 wxString
*arg2
= 0 ;
24496 bool temp2
= False
;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24506 arg2
= wxString_in_helper(obj1
);
24507 if (arg2
== NULL
) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 Py_INCREF(Py_None
); resultobj
= Py_None
;
24532 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24535 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24537 return Py_BuildValue((char *)"");
24539 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxWindow
*arg1
= (wxWindow
*) 0 ;
24543 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24544 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24545 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24546 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24547 long arg5
= (long) 0 ;
24548 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24549 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24550 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24551 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24552 wxPyControl
*result
;
24555 bool temp7
= False
;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj2
= 0 ;
24558 PyObject
* obj3
= 0 ;
24559 PyObject
* obj5
= 0 ;
24560 PyObject
* obj6
= 0 ;
24561 char *kwnames
[] = {
24562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24570 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24576 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24580 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24581 if (arg6
== NULL
) {
24582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24587 arg7
= wxString_in_helper(obj6
);
24588 if (arg7
== NULL
) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24614 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24617 PyObject
*arg2
= (PyObject
*) 0 ;
24618 PyObject
*arg3
= (PyObject
*) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 PyObject
* obj2
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self",(char *) "self",(char *) "_class", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 Py_INCREF(Py_None
); resultobj
= Py_None
;
24644 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 char *kwnames
[] = {
24653 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 Py_INCREF(Py_None
); resultobj
= Py_None
;
24672 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24679 int arg6
= (int) wxSIZE_AUTO
;
24680 PyObject
* obj0
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 Py_INCREF(Py_None
); resultobj
= Py_None
;
24701 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
;
24703 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 char *kwnames
[] = {
24708 (char *) "self",(char *) "width",(char *) "height", NULL
24711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 Py_INCREF(Py_None
); resultobj
= Py_None
;
24727 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24732 PyObject
* obj0
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self",(char *) "x",(char *) "y", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24746 Py_INCREF(Py_None
); resultobj
= Py_None
;
24753 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
;
24755 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24756 int *arg2
= (int *) 0 ;
24757 int *arg3
= (int *) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self", NULL
24767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 Py_INCREF(Py_None
); resultobj
= Py_None
;
24778 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24779 resultobj
= t_output_helper(resultobj
,o
);
24782 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24783 resultobj
= t_output_helper(resultobj
,o
);
24791 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
;
24793 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24794 int *arg2
= (int *) 0 ;
24795 int *arg3
= (int *) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 Py_INCREF(Py_None
); resultobj
= Py_None
;
24816 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24817 resultobj
= t_output_helper(resultobj
,o
);
24820 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24821 resultobj
= t_output_helper(resultobj
,o
);
24829 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24832 int *arg2
= (int *) 0 ;
24833 int *arg3
= (int *) 0 ;
24836 PyObject
* obj0
= 0 ;
24837 char *kwnames
[] = {
24838 (char *) "self", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 Py_INCREF(Py_None
); resultobj
= Py_None
;
24854 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24855 resultobj
= t_output_helper(resultobj
,o
);
24858 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24859 resultobj
= t_output_helper(resultobj
,o
);
24867 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24886 wxSize
* resultptr
;
24887 resultptr
= new wxSize((wxSize
&) result
);
24888 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24896 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
24906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 wxSize
* resultptr
;
24916 resultptr
= new wxSize((wxSize
&) result
);
24917 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24925 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24928 PyObject
* obj0
= 0 ;
24929 char *kwnames
[] = {
24930 (char *) "self", NULL
24933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
24934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 (arg1
)->base_InitDialog();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 Py_INCREF(Py_None
); resultobj
= Py_None
;
24949 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 result
= (bool)(arg1
)->base_TransferDataToWindow();
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= PyInt_FromLong((long)result
);
24974 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24978 PyObject
* obj0
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (bool)(arg1
)->base_TransferDataFromWindow();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= PyInt_FromLong((long)result
);
24999 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
;
25001 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (bool)(arg1
)->base_Validate();
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= PyInt_FromLong((long)result
);
25024 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
;
25026 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25028 PyObject
* obj0
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "self", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= PyInt_FromLong((long)result
);
25049 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25051 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 char *kwnames
[] = {
25055 (char *) "self", NULL
25058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= PyInt_FromLong((long)result
);
25074 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
;
25076 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25078 PyObject
* obj0
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
25084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25093 wxSize
* resultptr
;
25094 resultptr
= new wxSize((wxSize
&) result
);
25095 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25103 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25106 wxWindow
*arg2
= (wxWindow
*) 0 ;
25107 PyObject
* obj0
= 0 ;
25108 PyObject
* obj1
= 0 ;
25109 char *kwnames
[] = {
25110 (char *) "self",(char *) "child", NULL
25113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25115 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 (arg1
)->base_AddChild(arg2
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 Py_INCREF(Py_None
); resultobj
= Py_None
;
25130 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25133 wxWindow
*arg2
= (wxWindow
*) 0 ;
25134 PyObject
* obj0
= 0 ;
25135 PyObject
* obj1
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self",(char *) "child", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 (arg1
)->base_RemoveChild(arg2
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 Py_INCREF(Py_None
); resultobj
= Py_None
;
25157 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
25159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25160 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
25162 return Py_BuildValue((char *)"");
25164 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25167 int arg2
= (int) 0 ;
25168 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25169 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25170 wxHelpEvent
*result
;
25172 PyObject
* obj2
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "type",(char *) "winid",(char *) "pt", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
25181 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
25198 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
25208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
25213 result
= (wxPoint
*) &_result_ref
;
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
25226 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25229 wxPoint
*arg2
= 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 char *kwnames
[] = {
25234 (char *) "self",(char *) "pos", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25241 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 Py_INCREF(Py_None
); resultobj
= Py_None
;
25257 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25261 PyObject
* obj0
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
25272 result
= (wxString
*) &_result_ref
;
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25282 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25291 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25294 wxString
*arg2
= 0 ;
25295 bool temp2
= False
;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 char *kwnames
[] = {
25299 (char *) "self",(char *) "link", NULL
25302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
25303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25305 arg2
= wxString_in_helper(obj1
);
25306 if (arg2
== NULL
) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 (arg1
)->SetLink((wxString
const &)*arg2
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 Py_INCREF(Py_None
); resultobj
= Py_None
;
25331 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
25341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
25346 result
= (wxString
*) &_result_ref
;
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25356 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25365 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25368 wxString
*arg2
= 0 ;
25369 bool temp2
= False
;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self",(char *) "target", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
25377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25379 arg2
= wxString_in_helper(obj1
);
25380 if (arg2
== NULL
) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 (arg1
)->SetTarget((wxString
const &)*arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 Py_INCREF(Py_None
); resultobj
= Py_None
;
25405 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25408 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
25410 return Py_BuildValue((char *)"");
25412 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxWindow
*arg1
= (wxWindow
*) NULL
;
25415 bool arg2
= (bool) True
;
25416 wxContextHelp
*result
;
25417 PyObject
* obj0
= 0 ;
25418 PyObject
* obj1
= 0 ;
25419 char *kwnames
[] = {
25420 (char *) "window",(char *) "doNow", NULL
25423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25429 arg2
= (bool) SPyObj_AsBool(obj1
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25447 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
;
25449 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25450 PyObject
* obj0
= 0 ;
25451 char *kwnames
[] = {
25452 (char *) "self", NULL
25455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 Py_INCREF(Py_None
); resultobj
= Py_None
;
25471 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25474 wxWindow
*arg2
= (wxWindow
*) NULL
;
25476 PyObject
* obj0
= 0 ;
25477 PyObject
* obj1
= 0 ;
25478 char *kwnames
[] = {
25479 (char *) "self",(char *) "window", NULL
25482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25485 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= PyInt_FromLong((long)result
);
25501 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25502 PyObject
*resultobj
;
25503 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25505 PyObject
* obj0
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= (bool)(arg1
)->EndContextHelp();
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 resultobj
= PyInt_FromLong((long)result
);
25526 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25529 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25531 return Py_BuildValue((char *)"");
25533 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25535 wxWindow
*arg1
= (wxWindow
*) 0 ;
25536 int arg2
= (int) wxID_CONTEXT_HELP
;
25537 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25538 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25539 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25540 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25541 long arg5
= (long) wxBU_AUTODRAW
;
25542 wxContextHelpButton
*result
;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj2
= 0 ;
25547 PyObject
* obj3
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25557 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25563 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25580 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25583 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25585 return Py_BuildValue((char *)"");
25587 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25590 wxHelpProvider
*result
;
25591 PyObject
* obj0
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "helpProvider", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25612 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxHelpProvider
*result
;
25615 char *kwnames
[] = {
25619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25634 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25637 wxWindow
*arg2
= (wxWindow
*) 0 ;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self",(char *) "window", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25668 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25671 wxWindow
*arg2
= (wxWindow
*) 0 ;
25673 PyObject
* obj0
= 0 ;
25674 PyObject
* obj1
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "self",(char *) "window", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (bool)(arg1
)->ShowHelp(arg2
);
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= PyInt_FromLong((long)result
);
25696 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25699 wxWindow
*arg2
= (wxWindow
*) 0 ;
25700 wxString
*arg3
= 0 ;
25701 bool temp3
= False
;
25702 PyObject
* obj0
= 0 ;
25703 PyObject
* obj1
= 0 ;
25704 PyObject
* obj2
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self",(char *) "window",(char *) "text", NULL
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25713 arg3
= wxString_in_helper(obj2
);
25714 if (arg3
== NULL
) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 Py_INCREF(Py_None
); resultobj
= Py_None
;
25739 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25743 wxString
*arg3
= 0 ;
25744 bool temp3
= False
;
25745 PyObject
* obj0
= 0 ;
25746 PyObject
* obj2
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "self",(char *) "id",(char *) "text", NULL
25751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25754 arg3
= wxString_in_helper(obj2
);
25755 if (arg3
== NULL
) SWIG_fail
;
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 Py_INCREF(Py_None
); resultobj
= Py_None
;
25780 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25783 PyObject
* obj0
= 0 ;
25784 char *kwnames
[] = {
25785 (char *) "self", NULL
25788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 wxHelpProvider_Destroy(arg1
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 Py_INCREF(Py_None
); resultobj
= Py_None
;
25804 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25807 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25809 return Py_BuildValue((char *)"");
25811 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25812 PyObject
*resultobj
;
25813 wxSimpleHelpProvider
*result
;
25814 char *kwnames
[] = {
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25833 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25836 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25838 return Py_BuildValue((char *)"");
25840 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
;
25842 wxBitmap
*arg1
= 0 ;
25843 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25844 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25845 wxGenericDragImage
*result
;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "image",(char *) "cursor", NULL
25852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25854 if (arg1
== NULL
) {
25855 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25859 if (arg2
== NULL
) {
25860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25877 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
;
25880 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25881 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25882 wxGenericDragImage
*result
;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "image",(char *) "cursor", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25891 if (arg1
== NULL
) {
25892 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25896 if (arg2
== NULL
) {
25897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25914 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
;
25916 wxString
*arg1
= 0 ;
25917 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25918 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25919 wxGenericDragImage
*result
;
25920 bool temp1
= False
;
25921 PyObject
* obj0
= 0 ;
25922 PyObject
* obj1
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "str",(char *) "cursor", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
25929 arg1
= wxString_in_helper(obj0
);
25930 if (arg1
== NULL
) SWIG_fail
;
25934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25935 if (arg2
== NULL
) {
25936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25961 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxPyTreeCtrl
*arg1
= 0 ;
25964 wxTreeItemId
*arg2
= 0 ;
25965 wxGenericDragImage
*result
;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "treeCtrl",(char *) "id", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25974 if (arg1
== NULL
) {
25975 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25978 if (arg2
== NULL
) {
25979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25995 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyListCtrl
*arg1
= 0 ;
25999 wxGenericDragImage
*result
;
26000 PyObject
* obj0
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "listCtrl",(char *) "id", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26007 if (arg1
== NULL
) {
26008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26024 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26027 PyObject
* obj0
= 0 ;
26028 char *kwnames
[] = {
26029 (char *) "self", NULL
26032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
26033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 Py_INCREF(Py_None
); resultobj
= Py_None
;
26048 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26051 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self",(char *) "bitmap", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
26059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 (arg1
)->SetBackingBitmap(arg2
);
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26068 Py_INCREF(Py_None
); resultobj
= Py_None
;
26075 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26078 wxPoint
*arg2
= 0 ;
26079 wxWindow
*arg3
= (wxWindow
*) 0 ;
26080 bool arg4
= (bool) False
;
26081 wxRect
*arg5
= (wxRect
*) NULL
;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 PyObject
* obj2
= 0 ;
26087 PyObject
* obj3
= 0 ;
26088 PyObject
* obj4
= 0 ;
26089 char *kwnames
[] = {
26090 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26099 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26102 arg4
= (bool) SPyObj_AsBool(obj3
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26107 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 resultobj
= PyInt_FromLong((long)result
);
26123 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
;
26125 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26126 wxPoint
*arg2
= 0 ;
26127 wxWindow
*arg3
= (wxWindow
*) 0 ;
26128 wxWindow
*arg4
= (wxWindow
*) 0 ;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 PyObject
* obj2
= 0 ;
26134 PyObject
* obj3
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26145 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26146 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= PyInt_FromLong((long)result
);
26161 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
;
26163 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26165 PyObject
* obj0
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
26171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (bool)(arg1
)->EndDrag();
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= PyInt_FromLong((long)result
);
26186 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26189 wxPoint
*arg2
= 0 ;
26192 PyObject
* obj0
= 0 ;
26193 PyObject
* obj1
= 0 ;
26194 char *kwnames
[] = {
26195 (char *) "self",(char *) "pt", NULL
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
26199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= PyInt_FromLong((long)result
);
26218 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
26228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (bool)(arg1
)->Show();
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= PyInt_FromLong((long)result
);
26243 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
;
26245 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26247 PyObject
* obj0
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
26253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (bool)(arg1
)->Hide();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= PyInt_FromLong((long)result
);
26268 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
;
26270 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26271 wxPoint
*arg2
= 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self",(char *) "pos", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 wxRect
* resultptr
;
26295 resultptr
= new wxRect((wxRect
&) result
);
26296 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
26304 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26308 wxPoint
*arg3
= 0 ;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 PyObject
* obj2
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "dc",(char *) "pos", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26321 if (arg2
== NULL
) {
26322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26326 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= PyInt_FromLong((long)result
);
26342 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26346 wxMemoryDC
*arg3
= 0 ;
26352 PyObject
* obj0
= 0 ;
26353 PyObject
* obj1
= 0 ;
26354 PyObject
* obj2
= 0 ;
26355 PyObject
* obj3
= 0 ;
26356 PyObject
* obj4
= 0 ;
26357 char *kwnames
[] = {
26358 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26363 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26364 if (arg2
== NULL
) {
26365 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26367 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26368 if (arg3
== NULL
) {
26369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26373 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26377 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= PyInt_FromLong((long)result
);
26393 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26396 wxPoint
*arg2
= 0 ;
26397 wxPoint
*arg3
= 0 ;
26403 PyObject
* obj0
= 0 ;
26404 PyObject
* obj1
= 0 ;
26405 PyObject
* obj2
= 0 ;
26406 PyObject
* obj3
= 0 ;
26407 PyObject
* obj4
= 0 ;
26408 char *kwnames
[] = {
26409 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26423 arg4
= (bool) SPyObj_AsBool(obj3
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 arg5
= (bool) SPyObj_AsBool(obj4
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 resultobj
= PyInt_FromLong((long)result
);
26444 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26447 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26449 return Py_BuildValue((char *)"");
26451 static PyMethodDef SwigMethods
[] = {
26452 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26458 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26473 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26484 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26493 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26504 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26511 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26524 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26528 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26530 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26534 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26538 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26545 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26564 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26572 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26573 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26601 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26654 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26659 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26670 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26682 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26693 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
26697 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26714 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26720 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26745 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26748 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26768 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26774 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26783 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26785 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26790 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26792 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
26797 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
26802 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
26832 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26877 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
26882 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
26894 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
26946 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
26973 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
27042 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
27054 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
27062 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
27069 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
27085 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
27157 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
27179 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
27184 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
27205 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
27213 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
27218 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
27220 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
27228 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
27230 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
27252 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27254 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
27255 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27257 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
27258 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27260 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
27261 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
27263 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
27264 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27266 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
27267 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27269 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
27270 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
27272 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
27273 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27275 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
27276 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
27278 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
27279 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
27281 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
27282 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
27284 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27285 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27287 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27288 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27290 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27291 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27293 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27294 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27296 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27297 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27299 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
27300 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27302 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27303 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27305 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27306 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27308 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27311 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
27312 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27314 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
27315 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27317 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27318 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27320 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27323 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
27324 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27326 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
27327 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27329 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
27330 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27332 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
27333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
27335 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27336 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27338 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27339 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27341 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27342 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27344 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27345 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27347 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27348 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27350 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27351 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27353 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27354 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27356 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27357 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27359 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27360 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27362 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27363 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27365 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27366 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27368 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27369 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27371 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27372 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27374 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27375 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27377 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27378 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27380 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27381 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27383 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27384 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27386 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27389 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27390 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27392 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27393 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27395 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27396 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27398 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27399 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27401 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27402 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27404 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27405 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27407 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27408 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27410 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
27411 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
27413 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
27414 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
27416 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
27417 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27419 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
27420 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27422 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
27423 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
27425 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
27426 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27428 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
27429 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27431 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
27432 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
27434 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
27435 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27437 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
27438 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27440 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
27441 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27443 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27444 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27446 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27447 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27449 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27450 return (void *)((wxControl
*) ((wxComboBox
*) x
));
27452 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27453 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27455 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27456 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27458 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27459 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27461 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27462 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27464 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27465 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27467 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27468 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27470 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27471 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27473 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27474 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27476 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27477 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27479 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27480 return (void *)((wxControl
*) ((wxGauge
*) x
));
27482 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27483 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27485 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27486 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27488 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27489 return (void *)((wxControl
*) ((wxButton
*) x
));
27491 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27492 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27494 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27495 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27497 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27498 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27500 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27501 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27503 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27504 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27506 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27507 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27509 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27510 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27512 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27513 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27515 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27516 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27518 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27519 return (void *)((wxControl
*) ((wxSlider
*) x
));
27521 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
27522 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
27524 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
27525 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27527 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27528 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27530 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27531 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27533 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27534 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27536 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27537 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27539 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27540 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27542 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27543 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27545 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27546 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27548 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
27549 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
27551 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27552 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27554 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27555 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27557 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27560 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27561 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27563 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27564 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27566 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27567 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27569 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27572 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27573 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27575 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27578 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27581 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27582 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27584 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27585 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27587 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27590 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27593 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
27596 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27599 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27602 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27603 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27605 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27608 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27611 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27614 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27617 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27620 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27623 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27626 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27629 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27632 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27635 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27638 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27641 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27644 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27647 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27650 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27653 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27656 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27659 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27662 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27665 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27668 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27671 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27674 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27677 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27678 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27680 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27681 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27683 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27684 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27686 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27687 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27689 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27690 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27692 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27693 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27695 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27696 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27698 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27699 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27701 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27702 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27704 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27705 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27707 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27710 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27711 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27713 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27714 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27716 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27717 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27719 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27720 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27722 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27723 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27725 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27726 return (void *)((wxObject
*) ((wxSizer
*) x
));
27728 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27729 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27731 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27734 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27737 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27738 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27740 static void *_p_wxEventTo_p_wxObject(void *x
) {
27741 return (void *)((wxObject
*) ((wxEvent
*) x
));
27743 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27744 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27746 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27747 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27749 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27750 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27752 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27755 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27758 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27761 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27762 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27764 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27765 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27767 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27768 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27770 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27771 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27773 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27774 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27776 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27777 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27779 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27782 static void *_p_wxControlTo_p_wxObject(void *x
) {
27783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27785 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27788 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
27789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27791 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
27792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27794 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
27795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27797 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
27798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27800 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27801 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27803 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
27804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27806 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27807 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27809 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27810 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27812 static void *_p_wxListViewTo_p_wxObject(void *x
) {
27813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27815 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
27816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27818 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
27819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27821 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27822 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27824 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27827 static void *_p_wxListbookTo_p_wxObject(void *x
) {
27828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27830 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27831 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27833 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
27834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27836 static void *_p_wxSliderTo_p_wxObject(void *x
) {
27837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27839 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27840 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27842 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27843 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27845 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27848 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27849 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27851 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27852 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27854 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27855 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27857 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27858 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27860 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27861 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27863 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27864 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27866 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27869 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27870 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27872 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27873 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27875 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27878 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27881 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27884 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27885 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27887 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27890 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27891 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27893 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27894 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27896 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27897 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27899 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27900 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27902 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27903 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27905 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27906 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27908 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27909 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27911 static void *_p_wxListEventTo_p_wxObject(void *x
) {
27912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27914 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
27915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27917 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
27918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27920 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
27921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27923 static void *_p_wxButtonTo_p_wxObject(void *x
) {
27924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27926 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
27927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27929 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
27930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27932 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
27933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27935 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27936 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27938 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
27939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27941 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
27942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27944 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
27945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
27947 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
27948 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
27950 static void *_p_wxListItemTo_p_wxObject(void *x
) {
27951 return (void *)((wxObject
*) ((wxListItem
*) x
));
27953 static void *_p_wxImageTo_p_wxObject(void *x
) {
27954 return (void *)((wxObject
*) ((wxImage
*) x
));
27956 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
27957 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
27959 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27960 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27962 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
27963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
27965 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
27966 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
27968 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
27969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27971 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
27972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27974 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
27975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27977 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27980 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27981 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27983 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27984 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27986 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27987 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27989 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27990 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27992 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27995 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27996 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27998 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28001 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28002 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28004 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28005 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28007 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28008 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28010 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28011 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28013 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28014 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28016 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
28017 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28019 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28022 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28023 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28025 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
28026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
28028 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28029 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28031 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28032 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28034 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28037 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28040 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
28041 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
28043 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
28044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28046 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28049 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28050 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28052 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
28053 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
28055 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
28056 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
28058 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28059 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28061 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
28062 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28064 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
28065 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
28067 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
28068 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
28070 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
28071 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
28073 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28074 return (void *)((wxWindow
*) ((wxControl
*) x
));
28076 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
28077 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
28079 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
28080 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28082 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
28083 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
28085 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
28086 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
28088 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
28089 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
28091 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
28092 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
28094 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28095 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28097 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
28098 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
28100 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
28101 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
28103 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
28104 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28106 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
28107 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
28109 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
28110 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
28112 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
28113 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
28115 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
28116 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28118 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
28119 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28121 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
28122 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28124 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
28125 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28127 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
28128 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28130 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
28131 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
28133 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
28134 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
28136 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
28137 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
28139 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
28140 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
28142 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
28143 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
28145 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
28146 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
28148 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
28149 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
28151 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
28152 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28154 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
28155 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28157 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
28158 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
28160 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
28161 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28163 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
28164 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28166 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
28167 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28169 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
28170 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
28172 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
28173 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28175 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
28176 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28178 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
28179 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28181 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
28182 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28184 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
28185 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28187 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
28188 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
28190 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
28191 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28193 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
28194 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28196 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
28197 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28199 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
28200 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
28202 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
28203 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28205 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
28206 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28208 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
28209 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28211 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
28212 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
28214 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
28215 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
28217 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
28218 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
28220 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
28221 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
28223 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28224 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}};
28225 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}};
28226 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28227 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28228 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}};
28229 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28230 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28231 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28232 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}};
28233 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28234 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
28235 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28236 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}};
28237 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28238 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28239 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
28240 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28241 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28242 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28243 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
28244 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28245 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28246 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
28247 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28248 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28249 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28250 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28251 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28252 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28253 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28254 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}};
28255 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28256 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28257 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28258 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28259 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28260 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28261 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28262 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28263 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}};
28264 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28265 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
28266 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28267 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}};
28268 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28269 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}};
28270 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
28271 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28272 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28273 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28274 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28275 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28276 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28277 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28278 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28279 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28280 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28281 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28282 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28283 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28284 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
28285 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28286 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28287 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28288 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28289 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28290 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}};
28291 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28292 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28293 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}};
28294 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28295 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28296 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28297 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28298 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}};
28299 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28300 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
28301 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28302 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28303 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28304 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28305 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
28307 static swig_type_info
*swig_types_initial
[] = {
28308 _swigt__p_wxTextUrlEvent
,
28309 _swigt__p_wxBookCtrlEvent
,
28311 _swigt__p_wxCheckBox
,
28312 _swigt__p_wxPyTreeCtrl
,
28314 _swigt__p_wxGenericDirCtrl
,
28316 _swigt__p_wxPyTreeItemData
,
28317 _swigt__p_wxItemContainer
,
28318 _swigt__p_wxDirFilterListCtrl
,
28319 _swigt__p_wxPyListCtrl
,
28320 _swigt__p_wxStaticLine
,
28321 _swigt__p_wxControl
,
28322 _swigt__p_wxPyControl
,
28324 _swigt__p_wxToolBarBase
,
28326 _swigt__p_wxToggleButton
,
28327 _swigt__p_wxRadioButton
,
28328 _swigt__p_wxChoice
,
28329 _swigt__p_wxMemoryDC
,
28330 _swigt__p_wxListItemAttr
,
28335 _swigt__p_wxListView
,
28337 _swigt__p_wxTextCtrl
,
28338 _swigt__p_wxNotebook
,
28339 _swigt__p_wxNotifyEvent
,
28340 _swigt__p_wxArrayString
,
28341 _swigt__p_wxListbook
,
28342 _swigt__p_wxStaticBitmap
,
28343 _swigt__p_wxSlider
,
28344 _swigt__p_wxStaticBox
,
28345 _swigt__p_wxArrayInt
,
28346 _swigt__p_wxContextHelp
,
28348 _swigt__p_wxEvtHandler
,
28349 _swigt__p_wxListEvent
,
28350 _swigt__p_wxListBox
,
28351 _swigt__p_wxCheckListBox
,
28352 _swigt__p_wxBookCtrl
,
28353 _swigt__p_wxSpinButton
,
28354 _swigt__p_wxButton
,
28355 _swigt__p_wxBitmapButton
,
28357 _swigt__p_wxContextHelpButton
,
28358 _swigt__p_wxRadioBox
,
28359 _swigt__p_wxScrollBar
,
28360 _swigt__p_wxTreeItemId
,
28361 _swigt__p_wxComboBox
,
28362 _swigt__p_wxHelpEvent
,
28363 _swigt__p_wxListItem
,
28364 _swigt__p_wxNotebookSizer
,
28365 _swigt__p_wxSpinEvent
,
28366 _swigt__p_wxGenericDragImage
,
28367 _swigt__p_wxSpinCtrl
,
28368 _swigt__p_wxImageList
,
28369 _swigt__p_wxHelpProvider
,
28370 _swigt__p_wxTextAttr
,
28371 _swigt__p_wxSimpleHelpProvider
,
28373 _swigt__p_wxListbookEvent
,
28374 _swigt__p_wxNotebookEvent
,
28375 _swigt__p_wxObject
,
28376 _swigt__p_wxCursor
,
28377 _swigt__p_wxKeyEvent
,
28378 _swigt__p_wxWindow
,
28379 _swigt__p_wxString
,
28380 _swigt__p_wxBitmap
,
28381 _swigt__p_wxTreeEvent
,
28382 _swigt__p_wxMouseEvent
,
28383 _swigt__p_wxCommandEvent
,
28384 _swigt__p_wxStaticText
,
28385 _swigt__p_wxControlWithItems
,
28386 _swigt__p_wxToolBarToolBase
,
28387 _swigt__p_wxColour
,
28388 _swigt__p_wxToolBar
,
28389 _swigt__p_wxBookCtrlSizer
,
28390 _swigt__p_wxValidator
,
28395 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28397 static swig_const_info swig_const_table
[] = {
28398 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
28399 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
28400 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
28401 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
28402 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
28403 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
28404 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
28405 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
28406 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
28407 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
28408 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
28409 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
28410 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
28411 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
28412 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
28413 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
28414 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
28415 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
28416 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
28417 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
28418 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
28419 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
28420 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
28421 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
28422 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
28423 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
28424 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
28425 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
28426 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
28427 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
28428 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
28429 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
28430 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
28431 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
28432 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
28433 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
28434 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
28435 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
28436 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
28437 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
28438 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
28439 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
28440 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
28441 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
28442 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
28443 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
28444 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
28445 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
28446 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
28447 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
28448 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
28449 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28450 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28451 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28452 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28453 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28454 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28455 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28456 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28457 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28458 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28459 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28460 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28461 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28462 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28463 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28464 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28465 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28466 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28467 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28468 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28469 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28470 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28471 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28472 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28473 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28474 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28475 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28476 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28477 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28478 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28479 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28480 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28481 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28482 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28483 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28484 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28485 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28486 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28487 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28488 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28489 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28490 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28491 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28492 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28493 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28494 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28495 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28496 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28497 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28498 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28499 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28500 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28501 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28502 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28503 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28504 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28505 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28506 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28507 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28508 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28509 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28510 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28511 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28512 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28513 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28514 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
28515 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
28516 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
28517 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
28518 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
28519 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
28520 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
28521 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
28522 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
28523 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
28524 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
28525 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
28526 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
28527 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
28528 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
28529 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
28530 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
28531 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
28532 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
28533 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
28534 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
28535 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28536 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28537 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28538 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28539 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28540 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28541 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28542 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28543 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28544 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28545 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28546 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28547 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28548 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28549 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28550 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28551 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28552 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28553 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28554 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28555 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28556 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28557 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28558 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28559 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28560 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28561 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28562 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28563 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28564 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28565 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28566 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28567 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28568 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28569 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28570 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28571 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28572 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28573 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28574 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28575 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28576 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28577 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28578 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28579 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28580 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28581 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28582 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28583 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28584 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28585 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28586 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28587 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28588 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28589 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28590 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28591 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28592 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28593 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28594 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28595 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28596 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28597 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28598 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28599 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28600 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28601 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28602 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28603 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28604 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28605 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28606 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28607 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28608 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28609 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28610 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28611 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28612 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28613 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28614 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28615 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28616 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28617 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28618 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28619 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28620 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28621 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28622 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28623 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28624 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28625 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28626 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28627 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28628 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28629 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28630 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28631 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28632 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28633 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28634 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28635 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28636 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28637 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28638 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
28639 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28640 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28641 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28642 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28643 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28644 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28645 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28646 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28647 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28657 SWIGEXPORT(void) SWIG_init(void) {
28658 static PyObject
*SWIG_globals
= 0;
28659 static int typeinit
= 0;
28662 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28663 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28664 d
= PyModule_GetDict(m
);
28667 for (i
= 0; swig_types_initial
[i
]; i
++) {
28668 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28672 SWIG_InstallConstants(d
,swig_const_table
);
28674 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28675 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
28676 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
28677 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
28678 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
28679 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
28680 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
28681 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
28682 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
28683 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
28684 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
28685 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28686 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28687 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28688 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28689 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
28690 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
28691 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
28692 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28693 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
28694 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
28695 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
28696 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
28697 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28698 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
28699 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28700 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28703 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
28704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28713 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28714 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28715 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28716 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28717 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28718 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28719 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28720 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28721 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28722 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28723 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28724 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28725 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28727 // Map renamed classes back to their common name for OOR
28728 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28730 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
28731 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28732 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28733 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28734 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28735 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28736 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28737 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28738 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28739 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28740 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28741 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28742 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28743 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28744 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28745 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28746 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28747 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28748 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28749 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28750 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
28752 // Map renamed classes back to their common name for OOR
28753 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28754 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28756 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
28757 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28758 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28760 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");