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
){
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_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1196 wxButton
*arg1
= (wxButton
*) 0 ;
1197 wxBitmap
*arg2
= 0 ;
1198 PyObject
* obj0
= 0 ;
1199 PyObject
* obj1
= 0 ;
1201 (char *) "self",(char *) "bitmap", NULL
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Button_SetImageLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1208 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1212 (arg1
)->SetImageLabel((wxBitmap
const &)*arg2
);
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1217 Py_INCREF(Py_None
); resultobj
= Py_None
;
1224 static PyObject
*_wrap_Button_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
*resultobj
;
1226 wxButton
*arg1
= (wxButton
*) 0 ;
1229 PyObject
* obj0
= 0 ;
1231 (char *) "self",(char *) "x",(char *) "y", NULL
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Button_SetImageMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 (arg1
)->SetImageMargins(arg2
,arg3
);
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1243 Py_INCREF(Py_None
); resultobj
= Py_None
;
1250 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1251 PyObject
*resultobj
;
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1260 result
= wxButton::GetDefaultSize();
1262 wxPyEndAllowThreads(__tstate
);
1263 if (PyErr_Occurred()) SWIG_fail
;
1267 resultptr
= new wxSize((wxSize
&) result
);
1268 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1276 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1279 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1281 return Py_BuildValue((char *)"");
1283 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
*resultobj
;
1285 wxWindow
*arg1
= (wxWindow
*) 0 ;
1287 wxBitmap
*arg3
= 0 ;
1288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1292 long arg6
= (long) wxBU_AUTODRAW
;
1293 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1294 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1295 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1296 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1297 wxBitmapButton
*result
;
1300 bool temp8
= False
;
1301 PyObject
* obj0
= 0 ;
1302 PyObject
* obj2
= 0 ;
1303 PyObject
* obj3
= 0 ;
1304 PyObject
* obj4
= 0 ;
1305 PyObject
* obj6
= 0 ;
1306 PyObject
* obj7
= 0 ;
1308 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1313 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1315 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1320 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1326 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1330 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1337 arg8
= wxString_in_helper(obj7
);
1338 if (arg8
== NULL
) SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1350 resultobj
= wxPyMake_wxObject(result
);
1366 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxBitmapButton
*result
;
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 result
= (wxBitmapButton
*)new wxBitmapButton();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1382 resultobj
= wxPyMake_wxObject(result
);
1390 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
*resultobj
;
1392 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1393 wxWindow
*arg2
= (wxWindow
*) 0 ;
1395 wxBitmap
*arg4
= 0 ;
1396 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1397 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1398 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1399 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1400 long arg7
= (long) wxBU_AUTODRAW
;
1401 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1402 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1403 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1404 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1408 bool temp9
= False
;
1409 PyObject
* obj0
= 0 ;
1410 PyObject
* obj1
= 0 ;
1411 PyObject
* obj3
= 0 ;
1412 PyObject
* obj4
= 0 ;
1413 PyObject
* obj5
= 0 ;
1414 PyObject
* obj7
= 0 ;
1415 PyObject
* obj8
= 0 ;
1417 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1423 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1430 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1436 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1440 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1447 arg9
= wxString_in_helper(obj8
);
1448 if (arg9
== NULL
) SWIG_fail
;
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) SWIG_fail
;
1459 resultobj
= PyInt_FromLong((long)result
);
1474 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
*resultobj
;
1476 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1478 PyObject
* obj0
= 0 ;
1480 (char *) "self", NULL
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (arg1
)->GetBitmapLabel();
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1493 wxBitmap
* resultptr
;
1494 resultptr
= new wxBitmap((wxBitmap
&) result
);
1495 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1503 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
*resultobj
;
1505 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1507 PyObject
* obj0
= 0 ;
1509 (char *) "self", NULL
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 result
= (arg1
)->GetBitmapDisabled();
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1522 wxBitmap
* resultptr
;
1523 resultptr
= new wxBitmap((wxBitmap
&) result
);
1524 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1532 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1534 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1536 PyObject
* obj0
= 0 ;
1538 (char *) "self", NULL
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 result
= (arg1
)->GetBitmapFocus();
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) SWIG_fail
;
1551 wxBitmap
* resultptr
;
1552 resultptr
= new wxBitmap((wxBitmap
&) result
);
1553 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1561 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
*resultobj
;
1563 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1565 PyObject
* obj0
= 0 ;
1567 (char *) "self", NULL
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 result
= (arg1
)->GetBitmapSelected();
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1580 wxBitmap
* resultptr
;
1581 resultptr
= new wxBitmap((wxBitmap
&) result
);
1582 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1590 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1593 wxBitmap
*arg2
= 0 ;
1594 PyObject
* obj0
= 0 ;
1595 PyObject
* obj1
= 0 ;
1597 (char *) "self",(char *) "bitmap", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1602 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1604 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) SWIG_fail
;
1613 Py_INCREF(Py_None
); resultobj
= Py_None
;
1620 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1623 wxBitmap
*arg2
= 0 ;
1624 PyObject
* obj0
= 0 ;
1625 PyObject
* obj1
= 0 ;
1627 (char *) "self",(char *) "bitmap", NULL
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1632 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1634 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1643 Py_INCREF(Py_None
); resultobj
= Py_None
;
1650 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1653 wxBitmap
*arg2
= 0 ;
1654 PyObject
* obj0
= 0 ;
1655 PyObject
* obj1
= 0 ;
1657 (char *) "self",(char *) "bitmap", NULL
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1664 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1673 Py_INCREF(Py_None
); resultobj
= Py_None
;
1680 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1683 wxBitmap
*arg2
= 0 ;
1684 PyObject
* obj0
= 0 ;
1685 PyObject
* obj1
= 0 ;
1687 (char *) "self",(char *) "bitmap", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1694 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1703 Py_INCREF(Py_None
); resultobj
= Py_None
;
1710 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
*resultobj
;
1712 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1715 PyObject
* obj0
= 0 ;
1717 (char *) "self",(char *) "x",(char *) "y", NULL
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 (arg1
)->SetMargins(arg2
,arg3
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 Py_INCREF(Py_None
); resultobj
= Py_None
;
1736 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1738 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1740 PyObject
* obj0
= 0 ;
1742 (char *) "self", NULL
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 resultobj
= PyInt_FromLong((long)result
);
1761 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1765 PyObject
* obj0
= 0 ;
1767 (char *) "self", NULL
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 resultobj
= PyInt_FromLong((long)result
);
1786 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1789 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1791 return Py_BuildValue((char *)"");
1793 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1794 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1799 static PyObject
*_wrap_CheckBoxNameStr_get() {
1804 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1806 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1813 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxWindow
*arg1
= (wxWindow
*) 0 ;
1817 wxString
*arg3
= 0 ;
1818 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1819 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1820 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1821 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1822 long arg6
= (long) 0 ;
1823 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1824 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1825 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1828 bool temp3
= False
;
1831 bool temp8
= False
;
1832 PyObject
* obj0
= 0 ;
1833 PyObject
* obj2
= 0 ;
1834 PyObject
* obj3
= 0 ;
1835 PyObject
* obj4
= 0 ;
1836 PyObject
* obj6
= 0 ;
1837 PyObject
* obj7
= 0 ;
1839 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1845 arg3
= wxString_in_helper(obj2
);
1846 if (arg3
== NULL
) SWIG_fail
;
1852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1862 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1864 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1869 arg8
= wxString_in_helper(obj7
);
1870 if (arg8
== NULL
) SWIG_fail
;
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1904 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 result
= (wxCheckBox
*)new wxCheckBox();
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1926 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
*resultobj
;
1928 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1929 wxWindow
*arg2
= (wxWindow
*) 0 ;
1931 wxString
*arg4
= 0 ;
1932 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1933 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1934 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1935 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1936 long arg7
= (long) 0 ;
1937 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1938 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1939 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1940 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1942 bool temp4
= False
;
1945 bool temp9
= False
;
1946 PyObject
* obj0
= 0 ;
1947 PyObject
* obj1
= 0 ;
1948 PyObject
* obj3
= 0 ;
1949 PyObject
* obj4
= 0 ;
1950 PyObject
* obj5
= 0 ;
1951 PyObject
* obj7
= 0 ;
1952 PyObject
* obj8
= 0 ;
1954 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1961 arg4
= wxString_in_helper(obj3
);
1962 if (arg4
== NULL
) SWIG_fail
;
1968 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1974 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1978 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1980 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1985 arg9
= wxString_in_helper(obj8
);
1986 if (arg9
== NULL
) SWIG_fail
;
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 resultobj
= PyInt_FromLong((long)result
);
2020 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2022 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "self", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 result
= (bool)(arg1
)->GetValue();
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 resultobj
= PyInt_FromLong((long)result
);
2045 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
*resultobj
;
2047 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2049 PyObject
* obj0
= 0 ;
2051 (char *) "self", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 result
= (bool)(arg1
)->IsChecked();
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 resultobj
= PyInt_FromLong((long)result
);
2070 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 (char *) "self",(char *) "state", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2083 arg2
= (bool const) SPyObj_AsBool(obj1
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 (arg1
)->SetValue(arg2
);
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2093 Py_INCREF(Py_None
); resultobj
= Py_None
;
2100 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2106 (char *) "self", NULL
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 resultobj
= PyInt_FromLong((long)result
);
2125 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2131 (char *) "self",(char *) "state", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2143 Py_INCREF(Py_None
); resultobj
= Py_None
;
2150 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2152 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "self", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= PyInt_FromLong((long)result
);
2175 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2179 PyObject
* obj0
= 0 ;
2181 (char *) "self", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2193 resultobj
= PyInt_FromLong((long)result
);
2200 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2203 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2205 return Py_BuildValue((char *)"");
2207 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2208 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2213 static PyObject
*_wrap_ChoiceNameStr_get() {
2218 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2220 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2227 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2229 wxWindow
*arg1
= (wxWindow
*) 0 ;
2231 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2232 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2233 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2234 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2235 int arg5
= (int) 0 ;
2236 wxString
*arg6
= (wxString
*) NULL
;
2237 long arg7
= (long) 0 ;
2238 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2239 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2240 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2241 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2245 bool temp8
= False
;
2246 PyObject
* obj0
= 0 ;
2247 PyObject
* obj2
= 0 ;
2248 PyObject
* obj3
= 0 ;
2249 PyObject
* obj4
= 0 ;
2250 PyObject
* obj6
= 0 ;
2251 PyObject
* obj7
= 0 ;
2253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2261 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2267 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2272 arg5
= PyList_Size(obj4
);
2273 arg6
= wxString_LIST_helper(obj4
);
2274 if (arg6
== NULL
) SWIG_fail
;
2278 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2285 arg9
= wxString_in_helper(obj7
);
2286 if (arg9
== NULL
) SWIG_fail
;
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2299 if (arg6
) delete [] arg6
;
2308 if (arg6
) delete [] arg6
;
2318 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 result
= (wxChoice
*)new wxChoice();
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2340 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
*resultobj
;
2342 wxChoice
*arg1
= (wxChoice
*) 0 ;
2343 wxWindow
*arg2
= (wxWindow
*) 0 ;
2345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2349 int arg6
= (int) 0 ;
2350 wxString
*arg7
= (wxString
*) NULL
;
2351 long arg8
= (long) 0 ;
2352 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2353 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2354 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2355 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2359 bool temp9
= False
;
2360 PyObject
* obj0
= 0 ;
2361 PyObject
* obj1
= 0 ;
2362 PyObject
* obj3
= 0 ;
2363 PyObject
* obj4
= 0 ;
2364 PyObject
* obj5
= 0 ;
2365 PyObject
* obj7
= 0 ;
2366 PyObject
* obj8
= 0 ;
2368 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2388 arg6
= PyList_Size(obj5
);
2389 arg7
= wxString_LIST_helper(obj5
);
2390 if (arg7
== NULL
) SWIG_fail
;
2394 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2396 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2401 arg10
= wxString_in_helper(obj8
);
2402 if (arg10
== NULL
) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 resultobj
= PyInt_FromLong((long)result
);
2415 if (arg7
) delete [] arg7
;
2424 if (arg7
) delete [] arg7
;
2434 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxChoice
*arg1
= (wxChoice
*) 0 ;
2438 PyObject
* obj0
= 0 ;
2440 (char *) "self", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 result
= (int)(arg1
)->GetColumns();
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 resultobj
= PyInt_FromLong((long)result
);
2459 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
*resultobj
;
2461 wxChoice
*arg1
= (wxChoice
*) 0 ;
2462 int arg2
= (int) (int)1 ;
2463 PyObject
* obj0
= 0 ;
2465 (char *) "self",(char *) "n", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 (arg1
)->SetColumns(arg2
);
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 Py_INCREF(Py_None
); resultobj
= Py_None
;
2484 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxChoice
*arg1
= (wxChoice
*) 0 ;
2488 PyObject
* obj0
= 0 ;
2490 (char *) "self",(char *) "n", NULL
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 (arg1
)->SetSelection(arg2
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2502 Py_INCREF(Py_None
); resultobj
= Py_None
;
2509 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 wxChoice
*arg1
= (wxChoice
*) 0 ;
2512 wxString
*arg2
= 0 ;
2513 bool temp2
= False
;
2514 PyObject
* obj0
= 0 ;
2515 PyObject
* obj1
= 0 ;
2517 (char *) "self",(char *) "string", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2523 arg2
= wxString_in_helper(obj1
);
2524 if (arg2
== NULL
) SWIG_fail
;
2528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2529 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2534 Py_INCREF(Py_None
); resultobj
= Py_None
;
2549 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 wxChoice
*arg1
= (wxChoice
*) 0 ;
2553 wxString
*arg3
= 0 ;
2554 bool temp3
= False
;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj2
= 0 ;
2558 (char *) "self",(char *) "n",(char *) "s", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2564 arg3
= wxString_in_helper(obj2
);
2565 if (arg3
== NULL
) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2593 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2595 return Py_BuildValue((char *)"");
2597 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2598 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2603 static PyObject
*_wrap_ComboBoxNameStr_get() {
2608 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2610 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2617 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxWindow
*arg1
= (wxWindow
*) 0 ;
2621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2625 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2626 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2627 int arg6
= (int) 0 ;
2628 wxString
*arg7
= (wxString
*) NULL
;
2629 long arg8
= (long) 0 ;
2630 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2631 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2632 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2633 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2635 bool temp3
= False
;
2638 bool temp9
= False
;
2639 PyObject
* obj0
= 0 ;
2640 PyObject
* obj2
= 0 ;
2641 PyObject
* obj3
= 0 ;
2642 PyObject
* obj4
= 0 ;
2643 PyObject
* obj5
= 0 ;
2644 PyObject
* obj7
= 0 ;
2645 PyObject
* obj8
= 0 ;
2647 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2654 arg3
= wxString_in_helper(obj2
);
2655 if (arg3
== NULL
) SWIG_fail
;
2662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2673 arg6
= PyList_Size(obj5
);
2674 arg7
= wxString_LIST_helper(obj5
);
2675 if (arg7
== NULL
) SWIG_fail
;
2679 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2686 arg10
= wxString_in_helper(obj8
);
2687 if (arg10
== NULL
) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2704 if (arg7
) delete [] arg7
;
2717 if (arg7
) delete [] arg7
;
2727 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 result
= (wxComboBox
*)new wxComboBox();
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2749 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2752 wxWindow
*arg2
= (wxWindow
*) 0 ;
2754 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2755 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2756 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2757 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2758 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2759 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2760 int arg7
= (int) 0 ;
2761 wxString
*arg8
= (wxString
*) NULL
;
2762 long arg9
= (long) 0 ;
2763 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2764 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2765 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2766 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2768 bool temp4
= False
;
2771 bool temp10
= False
;
2772 PyObject
* obj0
= 0 ;
2773 PyObject
* obj1
= 0 ;
2774 PyObject
* obj3
= 0 ;
2775 PyObject
* obj4
= 0 ;
2776 PyObject
* obj5
= 0 ;
2777 PyObject
* obj6
= 0 ;
2778 PyObject
* obj8
= 0 ;
2779 PyObject
* obj9
= 0 ;
2781 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2789 arg4
= wxString_in_helper(obj3
);
2790 if (arg4
== NULL
) SWIG_fail
;
2797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2803 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2808 arg7
= PyList_Size(obj6
);
2809 arg8
= wxString_LIST_helper(obj6
);
2810 if (arg8
== NULL
) SWIG_fail
;
2814 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2815 if (arg10
== NULL
) {
2816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2821 arg11
= wxString_in_helper(obj9
);
2822 if (arg11
== NULL
) SWIG_fail
;
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2833 resultobj
= PyInt_FromLong((long)result
);
2839 if (arg8
) delete [] arg8
;
2852 if (arg8
) delete [] arg8
;
2862 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "self", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= ((wxComboBox
const *)arg1
)->GetValue();
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2893 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
*resultobj
;
2895 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2896 wxString
*arg2
= 0 ;
2897 bool temp2
= False
;
2898 PyObject
* obj0
= 0 ;
2899 PyObject
* obj1
= 0 ;
2901 (char *) "self",(char *) "value", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2907 arg2
= wxString_in_helper(obj1
);
2908 if (arg2
== NULL
) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 (arg1
)->SetValue((wxString
const &)*arg2
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 Py_INCREF(Py_None
); resultobj
= Py_None
;
2933 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
;
2935 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2936 PyObject
* obj0
= 0 ;
2938 (char *) "self", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2950 Py_INCREF(Py_None
); resultobj
= Py_None
;
2957 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2960 PyObject
* obj0
= 0 ;
2962 (char *) "self", NULL
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2974 Py_INCREF(Py_None
); resultobj
= Py_None
;
2981 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
*resultobj
;
2983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2984 PyObject
* obj0
= 0 ;
2986 (char *) "self", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2998 Py_INCREF(Py_None
); resultobj
= Py_None
;
3005 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
*resultobj
;
3007 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3011 (char *) "self",(char *) "pos", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
3015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 (arg1
)->SetInsertionPoint(arg2
);
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3023 Py_INCREF(Py_None
); resultobj
= Py_None
;
3030 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3034 PyObject
* obj0
= 0 ;
3036 (char *) "self", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3048 resultobj
= PyInt_FromLong((long)result
);
3055 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3059 PyObject
* obj0
= 0 ;
3061 (char *) "self", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3073 resultobj
= PyInt_FromLong((long)result
);
3080 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
*resultobj
;
3082 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3085 wxString
*arg4
= 0 ;
3086 bool temp4
= False
;
3087 PyObject
* obj0
= 0 ;
3088 PyObject
* obj3
= 0 ;
3090 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3096 arg4
= wxString_in_helper(obj3
);
3097 if (arg4
== NULL
) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3107 Py_INCREF(Py_None
); resultobj
= Py_None
;
3122 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3126 PyObject
* obj0
= 0 ;
3128 (char *) "self",(char *) "n", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 (arg1
)->SetSelection(arg2
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3140 Py_INCREF(Py_None
); resultobj
= Py_None
;
3147 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
*resultobj
;
3149 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3152 PyObject
* obj0
= 0 ;
3154 (char *) "self",(char *) "from",(char *) "to", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 (arg1
)->SetSelection(arg2
,arg3
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3166 Py_INCREF(Py_None
); resultobj
= Py_None
;
3173 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
*resultobj
;
3175 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3177 PyObject
* obj0
= 0 ;
3178 PyObject
* obj1
= 0 ;
3180 (char *) "self",(char *) "editable", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3186 arg2
= (bool) SPyObj_AsBool(obj1
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 (arg1
)->SetEditable(arg2
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 Py_INCREF(Py_None
); resultobj
= Py_None
;
3203 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "self", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 (arg1
)->SetInsertionPointEnd();
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3220 Py_INCREF(Py_None
); resultobj
= Py_None
;
3227 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3234 (char *) "self",(char *) "from",(char *) "to", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 (arg1
)->Remove(arg2
,arg3
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 Py_INCREF(Py_None
); resultobj
= Py_None
;
3253 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3256 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3258 return Py_BuildValue((char *)"");
3260 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3261 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3266 static PyObject
*_wrap_GaugeNameStr_get() {
3271 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3273 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3280 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxWindow
*arg1
= (wxWindow
*) 0 ;
3285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3289 long arg6
= (long) wxGA_HORIZONTAL
;
3290 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3291 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3292 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3293 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3297 bool temp8
= False
;
3298 PyObject
* obj0
= 0 ;
3299 PyObject
* obj3
= 0 ;
3300 PyObject
* obj4
= 0 ;
3301 PyObject
* obj6
= 0 ;
3302 PyObject
* obj7
= 0 ;
3304 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3322 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3324 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3329 arg8
= wxString_in_helper(obj7
);
3330 if (arg8
== NULL
) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3356 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 result
= (wxGauge
*)new wxGauge();
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3371 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3378 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxGauge
*arg1
= (wxGauge
*) 0 ;
3381 wxWindow
*arg2
= (wxWindow
*) 0 ;
3384 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3385 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3386 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3387 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3388 long arg7
= (long) wxGA_HORIZONTAL
;
3389 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3390 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3391 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3392 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3396 bool temp9
= False
;
3397 PyObject
* obj0
= 0 ;
3398 PyObject
* obj1
= 0 ;
3399 PyObject
* obj4
= 0 ;
3400 PyObject
* obj5
= 0 ;
3401 PyObject
* obj7
= 0 ;
3402 PyObject
* obj8
= 0 ;
3404 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3413 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3419 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3423 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3430 arg9
= wxString_in_helper(obj8
);
3431 if (arg9
== NULL
) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= PyInt_FromLong((long)result
);
3457 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxGauge
*arg1
= (wxGauge
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3463 (char *) "self",(char *) "range", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 (arg1
)->SetRange(arg2
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3482 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxGauge
*arg1
= (wxGauge
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3488 (char *) "self", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= PyInt_FromLong((long)result
);
3507 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxGauge
*arg1
= (wxGauge
*) 0 ;
3511 PyObject
* obj0
= 0 ;
3513 (char *) "self",(char *) "pos", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 (arg1
)->SetValue(arg2
);
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxGauge
*arg1
= (wxGauge
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3538 (char *) "self", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 resultobj
= PyInt_FromLong((long)result
);
3557 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxGauge
*arg1
= (wxGauge
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3563 (char *) "self", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= PyInt_FromLong((long)result
);
3582 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxGauge
*arg1
= (wxGauge
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3588 (char *) "self",(char *) "w", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 (arg1
)->SetShadowWidth(arg2
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 Py_INCREF(Py_None
); resultobj
= Py_None
;
3607 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3609 wxGauge
*arg1
= (wxGauge
*) 0 ;
3611 PyObject
* obj0
= 0 ;
3613 (char *) "self", NULL
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 resultobj
= PyInt_FromLong((long)result
);
3632 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxGauge
*arg1
= (wxGauge
*) 0 ;
3636 PyObject
* obj0
= 0 ;
3638 (char *) "self",(char *) "w", NULL
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 (arg1
)->SetBezelFace(arg2
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 Py_INCREF(Py_None
); resultobj
= Py_None
;
3657 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxGauge
*arg1
= (wxGauge
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3663 (char *) "self", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 resultobj
= PyInt_FromLong((long)result
);
3682 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3685 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3687 return Py_BuildValue((char *)"");
3689 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3690 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3695 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3700 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3702 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3709 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3710 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3715 static PyObject
*_wrap_StaticBoxNameStr_get() {
3720 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3722 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3729 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3730 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3735 static PyObject
*_wrap_StaticTextNameStr_get() {
3740 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3742 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3749 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxWindow
*arg1
= (wxWindow
*) 0 ;
3753 wxString
*arg3
= 0 ;
3754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3758 long arg6
= (long) 0 ;
3759 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3760 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3761 wxStaticBox
*result
;
3762 bool temp3
= False
;
3765 bool temp7
= False
;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj2
= 0 ;
3768 PyObject
* obj3
= 0 ;
3769 PyObject
* obj4
= 0 ;
3770 PyObject
* obj6
= 0 ;
3772 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3778 arg3
= wxString_in_helper(obj2
);
3779 if (arg3
== NULL
) SWIG_fail
;
3785 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3791 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3796 arg7
= wxString_in_helper(obj6
);
3797 if (arg7
== NULL
) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= wxPyMake_wxObject(result
);
3833 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxStaticBox
*result
;
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (wxStaticBox
*)new wxStaticBox();
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= wxPyMake_wxObject(result
);
3857 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3860 wxWindow
*arg2
= (wxWindow
*) 0 ;
3862 wxString
*arg4
= 0 ;
3863 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3864 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3865 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3866 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3867 long arg7
= (long) 0 ;
3868 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3869 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3871 bool temp4
= False
;
3874 bool temp8
= False
;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3877 PyObject
* obj3
= 0 ;
3878 PyObject
* obj4
= 0 ;
3879 PyObject
* obj5
= 0 ;
3880 PyObject
* obj7
= 0 ;
3882 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3887 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3889 arg4
= wxString_in_helper(obj3
);
3890 if (arg4
== NULL
) SWIG_fail
;
3896 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3902 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3907 arg8
= wxString_in_helper(obj7
);
3908 if (arg8
== NULL
) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= PyInt_FromLong((long)result
);
3942 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3945 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3947 return Py_BuildValue((char *)"");
3949 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 wxWindow
*arg1
= (wxWindow
*) 0 ;
3953 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3954 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3955 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3956 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3957 long arg5
= (long) wxLI_HORIZONTAL
;
3958 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3959 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3960 wxStaticLine
*result
;
3963 bool temp6
= False
;
3964 PyObject
* obj0
= 0 ;
3965 PyObject
* obj2
= 0 ;
3966 PyObject
* obj3
= 0 ;
3967 PyObject
* obj5
= 0 ;
3969 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3983 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3988 arg6
= wxString_in_helper(obj5
);
3989 if (arg6
== NULL
) SWIG_fail
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4015 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 wxStaticLine
*result
;
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (wxStaticLine
*)new wxStaticLine();
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4037 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4040 wxWindow
*arg2
= (wxWindow
*) 0 ;
4042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4046 long arg6
= (long) wxLI_HORIZONTAL
;
4047 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4052 bool temp7
= False
;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4055 PyObject
* obj3
= 0 ;
4056 PyObject
* obj4
= 0 ;
4057 PyObject
* obj6
= 0 ;
4059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4079 arg7
= wxString_in_helper(obj6
);
4080 if (arg7
== NULL
) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= PyInt_FromLong((long)result
);
4106 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4112 (char *) "self", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= PyInt_FromLong((long)result
);
4131 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (int)wxStaticLine::GetDefaultSize();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= PyInt_FromLong((long)result
);
4153 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4156 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4158 return Py_BuildValue((char *)"");
4160 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxWindow
*arg1
= (wxWindow
*) 0 ;
4164 wxString
*arg3
= 0 ;
4165 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4166 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4167 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4168 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4169 long arg6
= (long) 0 ;
4170 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4171 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4172 wxStaticText
*result
;
4173 bool temp3
= False
;
4176 bool temp7
= False
;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj2
= 0 ;
4179 PyObject
* obj3
= 0 ;
4180 PyObject
* obj4
= 0 ;
4181 PyObject
* obj6
= 0 ;
4183 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4189 arg3
= wxString_in_helper(obj2
);
4190 if (arg3
== NULL
) SWIG_fail
;
4196 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4202 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4207 arg7
= wxString_in_helper(obj6
);
4208 if (arg7
== NULL
) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4242 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxStaticText
*result
;
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (wxStaticText
*)new wxStaticText();
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4264 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4267 wxWindow
*arg2
= (wxWindow
*) 0 ;
4269 wxString
*arg4
= 0 ;
4270 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4271 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4272 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4273 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4274 long arg7
= (long) 0 ;
4275 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4276 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4278 bool temp4
= False
;
4281 bool temp8
= False
;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4284 PyObject
* obj3
= 0 ;
4285 PyObject
* obj4
= 0 ;
4286 PyObject
* obj5
= 0 ;
4287 PyObject
* obj7
= 0 ;
4289 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4294 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4296 arg4
= wxString_in_helper(obj3
);
4297 if (arg4
== NULL
) SWIG_fail
;
4303 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4309 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4314 arg8
= wxString_in_helper(obj7
);
4315 if (arg8
== NULL
) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 resultobj
= PyInt_FromLong((long)result
);
4349 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4352 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4354 return Py_BuildValue((char *)"");
4356 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxWindow
*arg1
= (wxWindow
*) 0 ;
4360 wxBitmap
*arg3
= 0 ;
4361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4365 long arg6
= (long) 0 ;
4366 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4368 wxStaticBitmap
*result
;
4371 bool temp7
= False
;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj2
= 0 ;
4374 PyObject
* obj3
= 0 ;
4375 PyObject
* obj4
= 0 ;
4376 PyObject
* obj6
= 0 ;
4378 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4383 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4401 arg7
= wxString_in_helper(obj6
);
4402 if (arg7
== NULL
) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4428 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxStaticBitmap
*result
;
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4450 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4453 wxWindow
*arg2
= (wxWindow
*) 0 ;
4455 wxBitmap
*arg4
= 0 ;
4456 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4457 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4458 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4459 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4460 long arg7
= (long) 0 ;
4461 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4462 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4466 bool temp8
= False
;
4467 PyObject
* obj0
= 0 ;
4468 PyObject
* obj1
= 0 ;
4469 PyObject
* obj3
= 0 ;
4470 PyObject
* obj4
= 0 ;
4471 PyObject
* obj5
= 0 ;
4472 PyObject
* obj7
= 0 ;
4474 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4480 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4487 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4493 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4498 arg8
= wxString_in_helper(obj7
);
4499 if (arg8
== NULL
) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= PyInt_FromLong((long)result
);
4525 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= (arg1
)->GetBitmap();
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4544 wxBitmap
* resultptr
;
4545 resultptr
= new wxBitmap((wxBitmap
&) result
);
4546 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4554 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4557 wxBitmap
*arg2
= 0 ;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4561 (char *) "self",(char *) "bitmap", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4566 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4568 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 Py_INCREF(Py_None
); resultobj
= Py_None
;
4584 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4591 (char *) "self",(char *) "icon", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4598 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 Py_INCREF(Py_None
); resultobj
= Py_None
;
4614 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4617 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4619 return Py_BuildValue((char *)"");
4621 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4622 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4627 static PyObject
*_wrap_ListBoxNameStr_get() {
4632 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4634 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4641 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
;
4643 wxWindow
*arg1
= (wxWindow
*) 0 ;
4645 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4646 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4647 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4648 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4649 int arg5
= (int) 0 ;
4650 wxString
*arg6
= (wxString
*) NULL
;
4651 long arg7
= (long) 0 ;
4652 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4653 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4654 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4655 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4659 bool temp8
= False
;
4660 PyObject
* obj0
= 0 ;
4661 PyObject
* obj2
= 0 ;
4662 PyObject
* obj3
= 0 ;
4663 PyObject
* obj4
= 0 ;
4664 PyObject
* obj6
= 0 ;
4665 PyObject
* obj7
= 0 ;
4667 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4681 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4686 arg5
= PyList_Size(obj4
);
4687 arg6
= wxString_LIST_helper(obj4
);
4688 if (arg6
== NULL
) SWIG_fail
;
4692 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4694 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4699 arg9
= wxString_in_helper(obj7
);
4700 if (arg9
== NULL
) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4713 if (arg6
) delete [] arg6
;
4722 if (arg6
) delete [] arg6
;
4732 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= (wxListBox
*)new wxListBox();
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4754 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 wxListBox
*arg1
= (wxListBox
*) 0 ;
4757 wxWindow
*arg2
= (wxWindow
*) 0 ;
4759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4763 int arg6
= (int) 0 ;
4764 wxString
*arg7
= (wxString
*) NULL
;
4765 long arg8
= (long) 0 ;
4766 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4767 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4768 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4769 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4773 bool temp9
= False
;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4776 PyObject
* obj3
= 0 ;
4777 PyObject
* obj4
= 0 ;
4778 PyObject
* obj5
= 0 ;
4779 PyObject
* obj7
= 0 ;
4780 PyObject
* obj8
= 0 ;
4782 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4791 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4797 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4802 arg6
= PyList_Size(obj5
);
4803 arg7
= wxString_LIST_helper(obj5
);
4804 if (arg7
== NULL
) SWIG_fail
;
4808 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4815 arg10
= wxString_in_helper(obj8
);
4816 if (arg10
== NULL
) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= PyInt_FromLong((long)result
);
4829 if (arg7
) delete [] arg7
;
4838 if (arg7
) delete [] arg7
;
4848 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxListBox
*arg1
= (wxListBox
*) 0 ;
4851 wxString
*arg2
= 0 ;
4853 PyObject
*arg4
= (PyObject
*) NULL
;
4854 bool temp2
= False
;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4857 PyObject
* obj3
= 0 ;
4859 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4865 arg2
= wxString_in_helper(obj1
);
4866 if (arg2
== NULL
) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 Py_INCREF(Py_None
); resultobj
= Py_None
;
4894 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxListBox
*arg1
= (wxListBox
*) 0 ;
4897 wxArrayString
*arg2
= 0 ;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4902 (char *) "self",(char *) "items",(char *) "pos", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4908 if (! PySequence_Check(obj1
)) {
4909 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4912 arg2
= new wxArrayString
;
4913 int i
, len
=PySequence_Length(obj1
);
4914 for (i
=0; i
<len
; i
++) {
4915 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4917 PyObject
* str
= PyObject_Unicode(item
);
4919 PyObject
* str
= PyObject_Str(item
);
4921 arg2
->Add(Py2wxString(str
));
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 Py_INCREF(Py_None
); resultobj
= Py_None
;
4935 if (arg2
) delete arg2
;
4940 if (arg2
) delete arg2
;
4946 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxListBox
*arg1
= (wxListBox
*) 0 ;
4949 wxArrayString
*arg2
= 0 ;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4953 (char *) "self",(char *) "items", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4959 if (! PySequence_Check(obj1
)) {
4960 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4963 arg2
= new wxArrayString
;
4964 int i
, len
=PySequence_Length(obj1
);
4965 for (i
=0; i
<len
; i
++) {
4966 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4968 PyObject
* str
= PyObject_Unicode(item
);
4970 PyObject
* str
= PyObject_Str(item
);
4972 arg2
->Add(Py2wxString(str
));
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 (arg1
)->Set((wxArrayString
const &)*arg2
);
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 Py_INCREF(Py_None
); resultobj
= Py_None
;
4986 if (arg2
) delete arg2
;
4991 if (arg2
) delete arg2
;
4997 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxListBox
*arg1
= (wxListBox
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5004 (char *) "self",(char *) "n", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
5008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= PyInt_FromLong((long)result
);
5023 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxListBox
*arg1
= (wxListBox
*) 0 ;
5027 bool arg3
= (bool) True
;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj2
= 0 ;
5031 (char *) "self",(char *) "n",(char *) "select", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 arg3
= (bool) SPyObj_AsBool(obj2
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 (arg1
)->SetSelection(arg2
,arg3
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 Py_INCREF(Py_None
); resultobj
= Py_None
;
5056 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxListBox
*arg1
= (wxListBox
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5062 (char *) "self",(char *) "n", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 (arg1
)->Select(arg2
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 Py_INCREF(Py_None
); resultobj
= Py_None
;
5081 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxListBox
*arg1
= (wxListBox
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5087 (char *) "self",(char *) "n", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 (arg1
)->Deselect(arg2
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 Py_INCREF(Py_None
); resultobj
= Py_None
;
5106 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxListBox
*arg1
= (wxListBox
*) 0 ;
5109 int arg2
= (int) -1 ;
5110 PyObject
* obj0
= 0 ;
5112 (char *) "self",(char *) "itemToLeaveSelected", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
5116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->DeselectAll(arg2
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 Py_INCREF(Py_None
); resultobj
= Py_None
;
5131 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxListBox
*arg1
= (wxListBox
*) 0 ;
5134 wxString
*arg2
= 0 ;
5135 bool arg3
= (bool) True
;
5137 bool temp2
= False
;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5140 PyObject
* obj2
= 0 ;
5142 (char *) "self",(char *) "s",(char *) "select", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5148 arg2
= wxString_in_helper(obj1
);
5149 if (arg2
== NULL
) SWIG_fail
;
5154 arg3
= (bool) SPyObj_AsBool(obj2
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= PyInt_FromLong((long)result
);
5180 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxListBox
*arg1
= (wxListBox
*) 0 ;
5184 PyObject
* obj0
= 0 ;
5186 (char *) "self", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5205 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxListBox
*arg1
= (wxListBox
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5211 (char *) "self",(char *) "n", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 (arg1
)->SetFirstItem(arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 Py_INCREF(Py_None
); resultobj
= Py_None
;
5230 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxListBox
*arg1
= (wxListBox
*) 0 ;
5233 wxString
*arg2
= 0 ;
5234 bool temp2
= False
;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5238 (char *) "self",(char *) "s", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5244 arg2
= wxString_in_helper(obj1
);
5245 if (arg2
== NULL
) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 Py_INCREF(Py_None
); resultobj
= Py_None
;
5270 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxListBox
*arg1
= (wxListBox
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5276 (char *) "self",(char *) "n", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 (arg1
)->EnsureVisible(arg2
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 Py_INCREF(Py_None
); resultobj
= Py_None
;
5295 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxListBox
*arg1
= (wxListBox
*) 0 ;
5298 wxString
*arg2
= 0 ;
5299 bool temp2
= False
;
5300 PyObject
* obj0
= 0 ;
5301 PyObject
* obj1
= 0 ;
5303 (char *) "self",(char *) "s", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5309 arg2
= wxString_in_helper(obj1
);
5310 if (arg2
== NULL
) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 Py_INCREF(Py_None
); resultobj
= Py_None
;
5335 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxListBox
*arg1
= (wxListBox
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= PyInt_FromLong((long)result
);
5360 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5363 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5365 return Py_BuildValue((char *)"");
5367 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxWindow
*arg1
= (wxWindow
*) 0 ;
5371 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5372 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5373 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5374 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5375 int arg5
= (int) 0 ;
5376 wxString
*arg6
= (wxString
*) NULL
;
5377 long arg7
= (long) 0 ;
5378 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5379 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5380 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5381 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5382 wxCheckListBox
*result
;
5385 bool temp8
= False
;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj2
= 0 ;
5388 PyObject
* obj3
= 0 ;
5389 PyObject
* obj4
= 0 ;
5390 PyObject
* obj6
= 0 ;
5391 PyObject
* obj7
= 0 ;
5393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5401 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5407 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5412 arg5
= PyList_Size(obj4
);
5413 arg6
= wxString_LIST_helper(obj4
);
5414 if (arg6
== NULL
) SWIG_fail
;
5418 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5420 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5425 arg9
= wxString_in_helper(obj7
);
5426 if (arg9
== NULL
) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5439 if (arg6
) delete [] arg6
;
5448 if (arg6
) delete [] arg6
;
5458 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxCheckListBox
*result
;
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (wxCheckListBox
*)new wxCheckListBox();
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5480 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5483 wxWindow
*arg2
= (wxWindow
*) 0 ;
5485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5489 int arg6
= (int) 0 ;
5490 wxString
*arg7
= (wxString
*) NULL
;
5491 long arg8
= (long) 0 ;
5492 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5493 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5494 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5495 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5499 bool temp9
= False
;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5502 PyObject
* obj3
= 0 ;
5503 PyObject
* obj4
= 0 ;
5504 PyObject
* obj5
= 0 ;
5505 PyObject
* obj7
= 0 ;
5506 PyObject
* obj8
= 0 ;
5508 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5528 arg6
= PyList_Size(obj5
);
5529 arg7
= wxString_LIST_helper(obj5
);
5530 if (arg7
== NULL
) SWIG_fail
;
5534 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5541 arg10
= wxString_in_helper(obj8
);
5542 if (arg10
== NULL
) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= PyInt_FromLong((long)result
);
5555 if (arg7
) delete [] arg7
;
5564 if (arg7
) delete [] arg7
;
5574 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5579 PyObject
* obj0
= 0 ;
5581 (char *) "self",(char *) "index", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 result
= (bool)(arg1
)->IsChecked(arg2
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= PyInt_FromLong((long)result
);
5600 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5604 int arg3
= (int) True
;
5605 PyObject
* obj0
= 0 ;
5607 (char *) "self",(char *) "index",(char *) "check", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->Check(arg2
,arg3
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5632 (char *) "self", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (int)(arg1
)->GetItemHeight();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= PyInt_FromLong((long)result
);
5651 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "pt", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= PyInt_FromLong((long)result
);
5683 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5691 (char *) "self",(char *) "x",(char *) "y", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= PyInt_FromLong((long)result
);
5710 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5713 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5715 return Py_BuildValue((char *)"");
5717 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
5718 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
5723 static PyObject
*_wrap_TextCtrlNameStr_get() {
5728 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5730 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5737 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5738 PyObject
*resultobj
;
5741 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (wxTextAttr
*)new wxTextAttr();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5756 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5757 PyObject
*resultobj
;
5758 wxColour
*arg1
= 0 ;
5759 wxColour
const &arg2_defvalue
= wxNullColour
;
5760 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5761 wxFont
const &arg3_defvalue
= wxNullFont
;
5762 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5763 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5767 PyObject
* obj0
= 0 ;
5768 PyObject
* obj1
= 0 ;
5769 PyObject
* obj2
= 0 ;
5771 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5774 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5783 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5802 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5807 argc
= PyObject_Length(args
);
5808 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5809 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5812 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5814 if ((argc
>= 1) && (argc
<= 4)) {
5817 _v
= wxColour_typecheck(argv
[0]);
5821 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5824 _v
= wxColour_typecheck(argv
[1]);
5828 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5832 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5841 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5843 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5849 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5854 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
;
5856 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5859 (char *) "self", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 Py_INCREF(Py_None
); resultobj
= Py_None
;
5878 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5881 wxColour
*arg2
= 0 ;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj1
= 0 ;
5886 (char *) "self",(char *) "colText", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5893 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 Py_INCREF(Py_None
); resultobj
= Py_None
;
5909 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5912 wxColour
*arg2
= 0 ;
5914 PyObject
* obj0
= 0 ;
5915 PyObject
* obj1
= 0 ;
5917 (char *) "self",(char *) "colBack", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 Py_INCREF(Py_None
); resultobj
= Py_None
;
5940 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5944 long arg3
= (long) wxTEXT_ATTR_FONT
;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5948 (char *) "self",(char *) "font",(char *) "flags", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5955 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 Py_INCREF(Py_None
); resultobj
= Py_None
;
5971 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
;
5973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5977 (char *) "self",(char *) "alignment", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 Py_INCREF(Py_None
); resultobj
= Py_None
;
5996 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5999 wxArrayInt
*arg2
= 0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6003 (char *) "self",(char *) "tabs", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6009 if (! PySequence_Check(obj1
)) {
6010 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6013 arg2
= new wxArrayInt
;
6014 int i
, len
=PySequence_Length(obj1
);
6015 for (i
=0; i
<len
; i
++) {
6016 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6017 PyObject
* number
= PyNumber_Int(item
);
6018 arg2
->Add(PyInt_AS_LONG(number
));
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 Py_INCREF(Py_None
); resultobj
= Py_None
;
6032 if (arg2
) delete arg2
;
6037 if (arg2
) delete arg2
;
6043 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self",(char *) "indent", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 (arg1
)->SetLeftIndent(arg2
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6074 (char *) "self",(char *) "indent", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
6078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 (arg1
)->SetRightIndent(arg2
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 Py_INCREF(Py_None
); resultobj
= Py_None
;
6093 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6097 PyObject
* obj0
= 0 ;
6099 (char *) "self",(char *) "flags", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 (arg1
)->SetFlags(arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 Py_INCREF(Py_None
); resultobj
= Py_None
;
6118 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6124 (char *) "self", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= PyInt_FromLong((long)result
);
6143 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "self", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= PyInt_FromLong((long)result
);
6168 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "self", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= PyInt_FromLong((long)result
);
6193 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= PyInt_FromLong((long)result
);
6218 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6224 (char *) "self", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= PyInt_FromLong((long)result
);
6243 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6249 (char *) "self", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= PyInt_FromLong((long)result
);
6268 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= PyInt_FromLong((long)result
);
6293 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self",(char *) "flag", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= PyInt_FromLong((long)result
);
6319 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6325 (char *) "self", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6334 result
= (wxColour
*) &_result_ref
;
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6347 static PyObject
*_wrap_TextAttr_GetBackgroundColour(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_GetBackgroundColour",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 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6362 result
= (wxColour
*) &_result_ref
;
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6375 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6381 (char *) "self", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6390 result
= (wxFont
*) &_result_ref
;
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6403 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "self", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= PyInt_FromLong((long)result
);
6428 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "self", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6443 result
= (wxArrayInt
*) &_result_ref
;
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= PyList_New(0);
6452 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6453 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6454 PyList_Append(resultobj
, val
);
6464 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= PyInt_FromLong((long)result
);
6489 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= PyInt_FromLong((long)result
);
6514 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6520 (char *) "self", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= PyInt_FromLong((long)result
);
6539 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= PyInt_FromLong((long)result
);
6564 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxTextAttr
*arg1
= 0 ;
6567 wxTextAttr
*arg2
= 0 ;
6568 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 PyObject
* obj2
= 0 ;
6574 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6582 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6584 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6586 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 wxTextAttr
* resultptr
;
6596 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6597 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6605 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6608 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6610 return Py_BuildValue((char *)"");
6612 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxWindow
*arg1
= (wxWindow
*) 0 ;
6616 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6617 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6618 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6619 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6620 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6621 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6622 long arg6
= (long) 0 ;
6623 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6624 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6625 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6626 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6628 bool temp3
= False
;
6631 bool temp8
= False
;
6632 PyObject
* obj0
= 0 ;
6633 PyObject
* obj2
= 0 ;
6634 PyObject
* obj3
= 0 ;
6635 PyObject
* obj4
= 0 ;
6636 PyObject
* obj6
= 0 ;
6637 PyObject
* obj7
= 0 ;
6639 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6646 arg3
= wxString_in_helper(obj2
);
6647 if (arg3
== NULL
) SWIG_fail
;
6654 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6660 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6664 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6666 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6671 arg8
= wxString_in_helper(obj7
);
6672 if (arg8
== NULL
) SWIG_fail
;
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= wxPyMake_wxObject(result
);
6708 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (wxTextCtrl
*)new wxTextCtrl();
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= wxPyMake_wxObject(result
);
6732 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6735 wxWindow
*arg2
= (wxWindow
*) 0 ;
6737 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6738 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6739 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6740 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6741 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6742 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6743 long arg7
= (long) 0 ;
6744 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6745 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6746 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6747 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6749 bool temp4
= False
;
6752 bool temp9
= False
;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 PyObject
* obj3
= 0 ;
6756 PyObject
* obj4
= 0 ;
6757 PyObject
* obj5
= 0 ;
6758 PyObject
* obj7
= 0 ;
6759 PyObject
* obj8
= 0 ;
6761 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6769 arg4
= wxString_in_helper(obj3
);
6770 if (arg4
== NULL
) SWIG_fail
;
6777 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6783 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6787 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6789 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6794 arg9
= wxString_in_helper(obj8
);
6795 if (arg9
== NULL
) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= PyInt_FromLong((long)result
);
6829 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6835 (char *) "self", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6860 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6863 wxString
*arg2
= 0 ;
6864 bool temp2
= False
;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6868 (char *) "self",(char *) "value", NULL
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6874 arg2
= wxString_in_helper(obj1
);
6875 if (arg2
== NULL
) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 (arg1
)->SetValue((wxString
const &)*arg2
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6900 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6908 (char *) "self",(char *) "from",(char *) "to", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6933 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6938 PyObject
* obj0
= 0 ;
6940 (char *) "self",(char *) "lineNo", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= PyInt_FromLong((long)result
);
6959 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "self",(char *) "lineNo", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) 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
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6991 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6995 PyObject
* obj0
= 0 ;
6997 (char *) "self", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= PyInt_FromLong((long)result
);
7016 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= PyInt_FromLong((long)result
);
7041 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= PyInt_FromLong((long)result
);
7066 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
;
7068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7070 PyObject
* obj0
= 0 ;
7072 (char *) "self", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= PyInt_FromLong((long)result
);
7091 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7095 PyObject
* obj0
= 0 ;
7097 (char *) "self", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= PyInt_FromLong((long)result
);
7116 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7119 long *arg2
= (long *) 0 ;
7120 long *arg3
= (long *) 0 ;
7123 PyObject
* obj0
= 0 ;
7125 (char *) "self", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 Py_INCREF(Py_None
); resultobj
= Py_None
;
7141 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7142 resultobj
= t_output_helper(resultobj
,o
);
7145 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7146 resultobj
= t_output_helper(resultobj
,o
);
7154 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7158 PyObject
* obj0
= 0 ;
7160 (char *) "self", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7185 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "self", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 Py_INCREF(Py_None
); resultobj
= Py_None
;
7209 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
;
7211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7214 wxString
*arg4
= 0 ;
7215 bool temp4
= False
;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj3
= 0 ;
7219 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7225 arg4
= wxString_in_helper(obj3
);
7226 if (arg4
== NULL
) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7251 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "self",(char *) "from",(char *) "to", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 (arg1
)->Remove(arg2
,arg3
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 Py_INCREF(Py_None
); resultobj
= Py_None
;
7277 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7280 wxString
*arg2
= 0 ;
7282 bool temp2
= False
;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7286 (char *) "self",(char *) "file", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7292 arg2
= wxString_in_helper(obj1
);
7293 if (arg2
== NULL
) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= PyInt_FromLong((long)result
);
7318 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7321 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7322 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7324 bool temp2
= False
;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7328 (char *) "self",(char *) "file", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7335 arg2
= wxString_in_helper(obj1
);
7336 if (arg2
== NULL
) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= PyInt_FromLong((long)result
);
7362 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7367 (char *) "self", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 (arg1
)->MarkDirty();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 Py_INCREF(Py_None
); resultobj
= Py_None
;
7386 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7389 PyObject
* obj0
= 0 ;
7391 (char *) "self", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 (arg1
)->DiscardEdits();
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 Py_INCREF(Py_None
); resultobj
= Py_None
;
7410 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7413 unsigned long arg2
;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7417 (char *) "self",(char *) "len", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7423 arg2
= (unsigned long) SPyObj_AsUnsignedLong(obj1
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 (arg1
)->SetMaxLength(arg2
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 Py_INCREF(Py_None
); resultobj
= Py_None
;
7440 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7443 wxString
*arg2
= 0 ;
7444 bool temp2
= False
;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 (char *) "self",(char *) "text", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7454 arg2
= wxString_in_helper(obj1
);
7455 if (arg2
== NULL
) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 (arg1
)->WriteText((wxString
const &)*arg2
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 Py_INCREF(Py_None
); resultobj
= Py_None
;
7480 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7483 wxString
*arg2
= 0 ;
7484 bool temp2
= False
;
7485 PyObject
* obj0
= 0 ;
7486 PyObject
* obj1
= 0 ;
7488 (char *) "self",(char *) "text", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7494 arg2
= wxString_in_helper(obj1
);
7495 if (arg2
== NULL
) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 (arg1
)->AppendText((wxString
const &)*arg2
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 Py_INCREF(Py_None
); resultobj
= Py_None
;
7520 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7523 wxKeyEvent
*arg2
= 0 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "event", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7533 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= PyInt_FromLong((long)result
);
7551 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7556 wxTextAttr
*arg4
= 0 ;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj3
= 0 ;
7561 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7566 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7568 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= PyInt_FromLong((long)result
);
7584 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7588 wxTextAttr
*arg3
= 0 ;
7590 PyObject
* obj0
= 0 ;
7591 PyObject
* obj2
= 0 ;
7593 (char *) "self",(char *) "position",(char *) "style", NULL
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7598 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7600 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= PyInt_FromLong((long)result
);
7616 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7619 wxTextAttr
*arg2
= 0 ;
7621 PyObject
* obj0
= 0 ;
7622 PyObject
* obj1
= 0 ;
7624 (char *) "self",(char *) "style", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7631 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= PyInt_FromLong((long)result
);
7647 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7653 (char *) "self", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7662 result
= (wxTextAttr
*) &_result_ref
;
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7675 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7683 (char *) "self",(char *) "x",(char *) "y", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= PyInt_FromLong((long)result
);
7702 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7706 long *arg3
= (long *) 0 ;
7707 long *arg4
= (long *) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self",(char *) "pos", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 Py_INCREF(Py_None
); resultobj
= Py_None
;
7728 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7729 resultobj
= t_output_helper(resultobj
,o
);
7732 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7733 resultobj
= t_output_helper(resultobj
,o
);
7741 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self",(char *) "pos", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 (arg1
)->ShowPosition(arg2
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 Py_INCREF(Py_None
); resultobj
= Py_None
;
7766 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7771 (char *) "self", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 Py_INCREF(Py_None
); resultobj
= Py_None
;
7790 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7793 PyObject
* obj0
= 0 ;
7795 (char *) "self", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 Py_INCREF(Py_None
); resultobj
= Py_None
;
7814 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "self", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 Py_INCREF(Py_None
); resultobj
= Py_None
;
7838 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= PyInt_FromLong((long)result
);
7863 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "self", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= PyInt_FromLong((long)result
);
7888 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7892 PyObject
* obj0
= 0 ;
7894 (char *) "self", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= PyInt_FromLong((long)result
);
7913 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 Py_INCREF(Py_None
); resultobj
= Py_None
;
7937 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7965 PyObject
* obj0
= 0 ;
7967 (char *) "self", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= PyInt_FromLong((long)result
);
7986 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7992 (char *) "self", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= PyInt_FromLong((long)result
);
8011 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "self",(char *) "pos", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 (arg1
)->SetInsertionPoint(arg2
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8036 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8039 PyObject
* obj0
= 0 ;
8041 (char *) "self", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 (arg1
)->SetInsertionPointEnd();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= PyInt_FromLong((long)result
);
8085 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8089 PyObject
* obj0
= 0 ;
8091 (char *) "self", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= PyInt_FromLong((long)result
);
8110 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "self",(char *) "from",(char *) "to", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 (arg1
)->SetSelection(arg2
,arg3
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8141 (char *) "self", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 (arg1
)->SelectAll();
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 Py_INCREF(Py_None
); resultobj
= Py_None
;
8160 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8167 (char *) "self",(char *) "editable", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8173 arg2
= (bool) SPyObj_AsBool(obj1
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 (arg1
)->SetEditable(arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 Py_INCREF(Py_None
); resultobj
= Py_None
;
8190 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8193 bool arg2
= (bool) True
;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8198 (char *) "self",(char *) "show", NULL
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
8202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8205 arg2
= (bool) SPyObj_AsBool(obj1
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= PyInt_FromLong((long)result
);
8223 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8227 PyObject
* obj0
= 0 ;
8229 (char *) "self", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
8233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (bool)(arg1
)->HideNativeCaret();
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= PyInt_FromLong((long)result
);
8248 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8251 wxString
*arg2
= 0 ;
8252 bool temp2
= False
;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8256 (char *) "self",(char *) "text", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8262 arg2
= wxString_in_helper(obj1
);
8263 if (arg2
== NULL
) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 Py_INCREF(Py_None
); resultobj
= Py_None
;
8288 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8294 PyObject
* obj0
= 0 ;
8296 (char *) "self",(char *) "from",(char *) "to", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8321 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8324 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8326 return Py_BuildValue((char *)"");
8328 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
;
8331 wxMouseEvent
*arg2
= 0 ;
8334 wxTextUrlEvent
*result
;
8335 PyObject
* obj1
= 0 ;
8337 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
8341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8343 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8359 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8362 wxMouseEvent
*result
;
8363 PyObject
* obj0
= 0 ;
8365 (char *) "self", NULL
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8374 result
= (wxMouseEvent
*) &_result_ref
;
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8387 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8389 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8391 PyObject
* obj0
= 0 ;
8393 (char *) "self", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= PyInt_FromLong((long)result
);
8412 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8416 PyObject
* obj0
= 0 ;
8418 (char *) "self", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= PyInt_FromLong((long)result
);
8437 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8440 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8442 return Py_BuildValue((char *)"");
8444 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
8445 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
8450 static PyObject
*_wrap_ScrollBarNameStr_get() {
8455 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8457 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8464 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxWindow
*arg1
= (wxWindow
*) 0 ;
8467 int arg2
= (int) -1 ;
8468 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8469 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8470 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8471 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8472 long arg5
= (long) wxSB_HORIZONTAL
;
8473 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8474 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8475 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8476 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8477 wxScrollBar
*result
;
8480 bool temp7
= False
;
8481 PyObject
* obj0
= 0 ;
8482 PyObject
* obj2
= 0 ;
8483 PyObject
* obj3
= 0 ;
8484 PyObject
* obj5
= 0 ;
8485 PyObject
* obj6
= 0 ;
8487 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8495 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8501 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8505 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8512 arg7
= wxString_in_helper(obj6
);
8513 if (arg7
== NULL
) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8539 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxScrollBar
*result
;
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (wxScrollBar
*)new wxScrollBar();
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8561 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8564 wxWindow
*arg2
= (wxWindow
*) 0 ;
8565 int arg3
= (int) -1 ;
8566 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8567 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8568 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8569 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8570 long arg6
= (long) wxSB_HORIZONTAL
;
8571 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8572 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8573 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8578 bool temp8
= False
;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8581 PyObject
* obj3
= 0 ;
8582 PyObject
* obj4
= 0 ;
8583 PyObject
* obj6
= 0 ;
8584 PyObject
* obj7
= 0 ;
8586 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8605 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8607 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8612 arg8
= wxString_in_helper(obj7
);
8613 if (arg8
== NULL
) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= PyInt_FromLong((long)result
);
8639 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8643 PyObject
* obj0
= 0 ;
8645 (char *) "self", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= PyInt_FromLong((long)result
);
8664 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8668 PyObject
* obj0
= 0 ;
8670 (char *) "self", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= PyInt_FromLong((long)result
);
8689 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8693 PyObject
* obj0
= 0 ;
8695 (char *) "self", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= PyInt_FromLong((long)result
);
8714 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8718 PyObject
* obj0
= 0 ;
8720 (char *) "self", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 resultobj
= PyInt_FromLong((long)result
);
8739 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8743 PyObject
* obj0
= 0 ;
8745 (char *) "self", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= PyInt_FromLong((long)result
);
8764 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8770 (char *) "self",(char *) "viewStart", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 (arg1
)->SetThumbPosition(arg2
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 Py_INCREF(Py_None
); resultobj
= Py_None
;
8789 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8796 bool arg6
= (bool) True
;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj5
= 0 ;
8800 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8807 arg6
= (bool) SPyObj_AsBool(obj5
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 Py_INCREF(Py_None
); resultobj
= Py_None
;
8825 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8828 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8830 return Py_BuildValue((char *)"");
8832 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
8833 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
8838 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
8843 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8845 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8852 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
8853 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
8858 static PyObject
*_wrap_SpinCtrlNameStr_get() {
8863 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8865 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8872 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxWindow
*arg1
= (wxWindow
*) 0 ;
8875 int arg2
= (int) -1 ;
8876 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8877 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8878 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8879 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8880 long arg5
= (long) wxSP_HORIZONTAL
;
8881 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8882 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8883 wxSpinButton
*result
;
8886 bool temp6
= False
;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj2
= 0 ;
8889 PyObject
* obj3
= 0 ;
8890 PyObject
* obj5
= 0 ;
8892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8906 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8911 arg6
= wxString_in_helper(obj5
);
8912 if (arg6
== NULL
) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8938 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxSpinButton
*result
;
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (wxSpinButton
*)new wxSpinButton();
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8960 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8962 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8963 wxWindow
*arg2
= (wxWindow
*) 0 ;
8964 int arg3
= (int) -1 ;
8965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8969 long arg6
= (long) wxSP_HORIZONTAL
;
8970 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8971 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8975 bool temp7
= False
;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj3
= 0 ;
8979 PyObject
* obj4
= 0 ;
8980 PyObject
* obj6
= 0 ;
8982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8987 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8997 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9002 arg7
= wxString_in_helper(obj6
);
9003 if (arg7
== NULL
) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= PyInt_FromLong((long)result
);
9029 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9033 PyObject
* obj0
= 0 ;
9035 (char *) "self", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= PyInt_FromLong((long)result
);
9054 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9060 (char *) "self", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= PyInt_FromLong((long)result
);
9079 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9083 PyObject
* obj0
= 0 ;
9085 (char *) "self", NULL
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= PyInt_FromLong((long)result
);
9104 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9108 PyObject
* obj0
= 0 ;
9110 (char *) "self",(char *) "val", NULL
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 (arg1
)->SetValue(arg2
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 Py_INCREF(Py_None
); resultobj
= Py_None
;
9129 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9133 PyObject
* obj0
= 0 ;
9135 (char *) "self",(char *) "minVal", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
9139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 (arg1
)->SetMin(arg2
);
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 Py_INCREF(Py_None
); resultobj
= Py_None
;
9154 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "self",(char *) "maxVal", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 (arg1
)->SetMax(arg2
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 Py_INCREF(Py_None
); resultobj
= Py_None
;
9179 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9186 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 (arg1
)->SetRange(arg2
,arg3
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 Py_INCREF(Py_None
); resultobj
= Py_None
;
9205 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9211 (char *) "self", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= PyInt_FromLong((long)result
);
9230 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
9232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9233 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
9235 return Py_BuildValue((char *)"");
9237 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxWindow
*arg1
= (wxWindow
*) 0 ;
9240 int arg2
= (int) -1 ;
9241 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9242 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9243 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9244 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9245 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9246 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9247 long arg6
= (long) wxSP_ARROW_KEYS
;
9248 int arg7
= (int) 0 ;
9249 int arg8
= (int) 100 ;
9250 int arg9
= (int) 0 ;
9251 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
9252 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
9254 bool temp3
= False
;
9257 bool temp10
= False
;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj2
= 0 ;
9260 PyObject
* obj3
= 0 ;
9261 PyObject
* obj4
= 0 ;
9262 PyObject
* obj9
= 0 ;
9264 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9271 arg3
= wxString_in_helper(obj2
);
9272 if (arg3
== NULL
) SWIG_fail
;
9279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9290 arg10
= wxString_in_helper(obj9
);
9291 if (arg10
== NULL
) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9325 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 result
= (wxSpinCtrl
*)new wxSpinCtrl();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9347 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9350 wxWindow
*arg2
= (wxWindow
*) 0 ;
9351 int arg3
= (int) -1 ;
9352 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9353 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9354 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9355 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9356 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9357 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9358 long arg7
= (long) wxSP_ARROW_KEYS
;
9359 int arg8
= (int) 0 ;
9360 int arg9
= (int) 100 ;
9361 int arg10
= (int) 0 ;
9362 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
9363 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9365 bool temp4
= False
;
9368 bool temp11
= False
;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 PyObject
* obj3
= 0 ;
9372 PyObject
* obj4
= 0 ;
9373 PyObject
* obj5
= 0 ;
9374 PyObject
* obj10
= 0 ;
9376 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
9380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9384 arg4
= wxString_in_helper(obj3
);
9385 if (arg4
== NULL
) SWIG_fail
;
9392 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9398 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9403 arg11
= wxString_in_helper(obj10
);
9404 if (arg11
== NULL
) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= PyInt_FromLong((long)result
);
9438 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= PyInt_FromLong((long)result
);
9463 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self",(char *) "value", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 (arg1
)->SetValue(arg2
);
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 Py_INCREF(Py_None
); resultobj
= Py_None
;
9488 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9491 wxString
*arg2
= 0 ;
9492 bool temp2
= False
;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9496 (char *) "self",(char *) "text", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 (arg1
)->SetValue((wxString
const &)*arg2
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 Py_INCREF(Py_None
); resultobj
= Py_None
;
9528 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9533 PyObject
* obj0
= 0 ;
9535 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 (arg1
)->SetRange(arg2
,arg3
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 Py_INCREF(Py_None
); resultobj
= Py_None
;
9554 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9560 (char *) "self", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= PyInt_FromLong((long)result
);
9579 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9583 PyObject
* obj0
= 0 ;
9585 (char *) "self", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= PyInt_FromLong((long)result
);
9604 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9611 (char *) "self",(char *) "from",(char *) "to", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 (arg1
)->SetSelection(arg2
,arg3
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 Py_INCREF(Py_None
); resultobj
= Py_None
;
9630 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9633 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9635 return Py_BuildValue((char *)"");
9637 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9640 int arg2
= (int) 0 ;
9641 wxSpinEvent
*result
;
9643 (char *) "commandType",(char *) "winid", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SpinEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
9661 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9665 PyObject
* obj0
= 0 ;
9667 (char *) "self", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= PyInt_FromLong((long)result
);
9686 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "self",(char *) "pos", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 (arg1
)->SetPosition(arg2
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 Py_INCREF(Py_None
); resultobj
= Py_None
;
9711 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9714 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
9716 return Py_BuildValue((char *)"");
9718 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
9719 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
9724 static PyObject
*_wrap_RadioBoxNameStr_get() {
9729 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9731 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9738 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
9739 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
9744 static PyObject
*_wrap_RadioButtonNameStr_get() {
9749 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9751 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9758 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxWindow
*arg1
= (wxWindow
*) 0 ;
9762 wxString
*arg3
= 0 ;
9763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9767 int arg6
= (int) 0 ;
9768 wxString
*arg7
= (wxString
*) NULL
;
9769 int arg8
= (int) 0 ;
9770 long arg9
= (long) wxRA_HORIZONTAL
;
9771 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9772 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9773 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9774 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9776 bool temp3
= False
;
9779 bool temp10
= False
;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj2
= 0 ;
9782 PyObject
* obj3
= 0 ;
9783 PyObject
* obj4
= 0 ;
9784 PyObject
* obj5
= 0 ;
9785 PyObject
* obj8
= 0 ;
9786 PyObject
* obj9
= 0 ;
9788 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9794 arg3
= wxString_in_helper(obj2
);
9795 if (arg3
== NULL
) SWIG_fail
;
9801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9812 arg6
= PyList_Size(obj5
);
9813 arg7
= wxString_LIST_helper(obj5
);
9814 if (arg7
== NULL
) SWIG_fail
;
9818 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9819 if (arg10
== NULL
) {
9820 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9825 arg11
= wxString_in_helper(obj9
);
9826 if (arg11
== NULL
) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 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
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9843 if (arg7
) delete [] arg7
;
9856 if (arg7
) delete [] arg7
;
9866 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (wxRadioBox
*)new wxRadioBox();
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9888 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9891 wxWindow
*arg2
= (wxWindow
*) 0 ;
9893 wxString
*arg4
= 0 ;
9894 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9895 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9896 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9897 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9898 int arg7
= (int) 0 ;
9899 wxString
*arg8
= (wxString
*) NULL
;
9900 int arg9
= (int) 0 ;
9901 long arg10
= (long) wxRA_HORIZONTAL
;
9902 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9903 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9904 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9905 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9907 bool temp4
= False
;
9910 bool temp11
= False
;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9913 PyObject
* obj3
= 0 ;
9914 PyObject
* obj4
= 0 ;
9915 PyObject
* obj5
= 0 ;
9916 PyObject
* obj6
= 0 ;
9917 PyObject
* obj9
= 0 ;
9918 PyObject
* obj10
= 0 ;
9920 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9927 arg4
= wxString_in_helper(obj3
);
9928 if (arg4
== NULL
) SWIG_fail
;
9934 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9940 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9945 arg7
= PyList_Size(obj6
);
9946 arg8
= wxString_LIST_helper(obj6
);
9947 if (arg8
== NULL
) SWIG_fail
;
9951 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9952 if (arg11
== NULL
) {
9953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9958 arg12
= wxString_in_helper(obj10
);
9959 if (arg12
== NULL
) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 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
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= PyInt_FromLong((long)result
);
9976 if (arg8
) delete [] arg8
;
9989 if (arg8
) delete [] arg8
;
9999 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10003 PyObject
* obj0
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "n", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 (arg1
)->SetSelection(arg2
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 Py_INCREF(Py_None
); resultobj
= Py_None
;
10024 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10028 PyObject
* obj0
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "self", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= PyInt_FromLong((long)result
);
10049 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) 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
)->GetStringSelection();
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_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10083 wxString
*arg2
= 0 ;
10085 bool temp2
= False
;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self",(char *) "s", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10095 arg2
= wxString_in_helper(obj1
);
10096 if (arg2
== NULL
) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= PyInt_FromLong((long)result
);
10121 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
10131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= PyInt_FromLong((long)result
);
10146 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10149 wxString
*arg2
= 0 ;
10151 bool temp2
= False
;
10152 PyObject
* obj0
= 0 ;
10153 PyObject
* obj1
= 0 ;
10154 char *kwnames
[] = {
10155 (char *) "self",(char *) "s", NULL
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
10159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10161 arg2
= wxString_in_helper(obj1
);
10162 if (arg2
== NULL
) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= PyInt_FromLong((long)result
);
10187 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "n", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10219 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10223 wxString
*arg3
= 0 ;
10224 bool temp3
= False
;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj2
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self",(char *) "n",(char *) "label", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10234 arg3
= wxString_in_helper(obj2
);
10235 if (arg3
== NULL
) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 Py_INCREF(Py_None
); resultobj
= Py_None
;
10260 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10264 bool arg3
= (bool) True
;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj2
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self",(char *) "n",(char *) "enable", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10275 arg3
= (bool) SPyObj_AsBool(obj2
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 (arg1
)->Enable(arg2
,arg3
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 Py_INCREF(Py_None
); resultobj
= Py_None
;
10293 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10295 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10297 bool arg3
= (bool) True
;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj2
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self",(char *) "n",(char *) "show", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10308 arg3
= (bool) SPyObj_AsBool(obj2
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 (arg1
)->Show(arg2
,arg3
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 Py_INCREF(Py_None
); resultobj
= Py_None
;
10326 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= PyInt_FromLong((long)result
);
10351 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10355 PyObject
* obj0
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
10361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= PyInt_FromLong((long)result
);
10376 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= PyInt_FromLong((long)result
);
10404 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
10406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10407 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
10409 return Py_BuildValue((char *)"");
10411 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxWindow
*arg1
= (wxWindow
*) 0 ;
10415 wxString
*arg3
= 0 ;
10416 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10417 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10418 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10419 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10420 long arg6
= (long) 0 ;
10421 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10422 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10423 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
10424 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10425 wxRadioButton
*result
;
10426 bool temp3
= False
;
10429 bool temp8
= False
;
10430 PyObject
* obj0
= 0 ;
10431 PyObject
* obj2
= 0 ;
10432 PyObject
* obj3
= 0 ;
10433 PyObject
* obj4
= 0 ;
10434 PyObject
* obj6
= 0 ;
10435 PyObject
* obj7
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10443 arg3
= wxString_in_helper(obj2
);
10444 if (arg3
== NULL
) SWIG_fail
;
10450 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10456 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10460 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10461 if (arg7
== NULL
) {
10462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10467 arg8
= wxString_in_helper(obj7
);
10468 if (arg8
== NULL
) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10502 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxRadioButton
*result
;
10505 char *kwnames
[] = {
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (wxRadioButton
*)new wxRadioButton();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10524 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10527 wxWindow
*arg2
= (wxWindow
*) 0 ;
10529 wxString
*arg4
= 0 ;
10530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10534 long arg7
= (long) 0 ;
10535 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10536 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10537 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
10538 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10540 bool temp4
= False
;
10543 bool temp9
= False
;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj3
= 0 ;
10547 PyObject
* obj4
= 0 ;
10548 PyObject
* obj5
= 0 ;
10549 PyObject
* obj7
= 0 ;
10550 PyObject
* obj8
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10559 arg4
= wxString_in_helper(obj3
);
10560 if (arg4
== NULL
) SWIG_fail
;
10566 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10572 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10576 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10577 if (arg8
== NULL
) {
10578 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10583 arg9
= wxString_in_helper(obj8
);
10584 if (arg9
== NULL
) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= PyInt_FromLong((long)result
);
10618 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (bool)(arg1
)->GetValue();
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= PyInt_FromLong((long)result
);
10643 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
;
10645 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self",(char *) "value", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10656 arg2
= (bool) SPyObj_AsBool(obj1
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 (arg1
)->SetValue(arg2
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 Py_INCREF(Py_None
); resultobj
= Py_None
;
10673 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10676 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10678 return Py_BuildValue((char *)"");
10680 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
10681 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
10686 static PyObject
*_wrap_SliderNameStr_get() {
10691 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10693 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10700 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxWindow
*arg1
= (wxWindow
*) 0 ;
10707 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10708 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10709 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10710 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10711 long arg8
= (long) wxSL_HORIZONTAL
;
10712 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10713 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10714 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10715 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10719 bool temp10
= False
;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj5
= 0 ;
10722 PyObject
* obj6
= 0 ;
10723 PyObject
* obj8
= 0 ;
10724 PyObject
* obj9
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10734 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10740 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10744 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10745 if (arg9
== NULL
) {
10746 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10751 arg10
= wxString_in_helper(obj9
);
10752 if (arg10
== NULL
) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10778 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10781 char *kwnames
[] = {
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (wxSlider
*)new wxSlider();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10800 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxSlider
*arg1
= (wxSlider
*) 0 ;
10803 wxWindow
*arg2
= (wxWindow
*) 0 ;
10808 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10809 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10810 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10811 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10812 long arg9
= (long) wxSL_HORIZONTAL
;
10813 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10814 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10815 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10816 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10820 bool temp11
= False
;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 PyObject
* obj6
= 0 ;
10824 PyObject
* obj7
= 0 ;
10825 PyObject
* obj9
= 0 ;
10826 PyObject
* obj10
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10837 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10843 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10847 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10848 if (arg10
== NULL
) {
10849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10854 arg11
= wxString_in_helper(obj10
);
10855 if (arg11
== NULL
) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= PyInt_FromLong((long)result
);
10881 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxSlider
*arg1
= (wxSlider
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= PyInt_FromLong((long)result
);
10906 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxSlider
*arg1
= (wxSlider
*) 0 ;
10910 PyObject
* obj0
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self",(char *) "value", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 (arg1
)->SetValue(arg2
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 Py_INCREF(Py_None
); resultobj
= Py_None
;
10931 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxSlider
*arg1
= (wxSlider
*) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 (arg1
)->SetRange(arg2
,arg3
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxSlider
*arg1
= (wxSlider
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= PyInt_FromLong((long)result
);
10982 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxSlider
*arg1
= (wxSlider
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= PyInt_FromLong((long)result
);
11007 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxSlider
*arg1
= (wxSlider
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self",(char *) "minValue", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->SetMin(arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxSlider
*arg1
= (wxSlider
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "maxValue", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 (arg1
)->SetMax(arg2
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxSlider
*arg1
= (wxSlider
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self",(char *) "lineSize", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
11067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 (arg1
)->SetLineSize(arg2
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 Py_INCREF(Py_None
); resultobj
= Py_None
;
11082 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxSlider
*arg1
= (wxSlider
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self",(char *) "pageSize", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
11092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->SetPageSize(arg2
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 Py_INCREF(Py_None
); resultobj
= Py_None
;
11107 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxSlider
*arg1
= (wxSlider
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= PyInt_FromLong((long)result
);
11132 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11134 wxSlider
*arg1
= (wxSlider
*) 0 ;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= PyInt_FromLong((long)result
);
11157 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
*resultobj
;
11159 wxSlider
*arg1
= (wxSlider
*) 0 ;
11161 PyObject
* obj0
= 0 ;
11162 char *kwnames
[] = {
11163 (char *) "self",(char *) "lenPixels", NULL
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
11167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->SetThumbLength(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxSlider
*arg1
= (wxSlider
*) 0 ;
11186 PyObject
* obj0
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= PyInt_FromLong((long)result
);
11207 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
;
11209 wxSlider
*arg1
= (wxSlider
*) 0 ;
11212 PyObject
* obj0
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "self",(char *) "n",(char *) "pos", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 (arg1
)->SetTickFreq(arg2
,arg3
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxSlider
*arg1
= (wxSlider
*) 0 ;
11237 PyObject
* obj0
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= PyInt_FromLong((long)result
);
11258 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxSlider
*arg1
= (wxSlider
*) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 (arg1
)->ClearTicks();
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11282 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxSlider
*arg1
= (wxSlider
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self",(char *) "tickPos", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
11292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 (arg1
)->SetTick(arg2
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 Py_INCREF(Py_None
); resultobj
= Py_None
;
11307 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxSlider
*arg1
= (wxSlider
*) 0 ;
11310 PyObject
* obj0
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
11316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->ClearSel();
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxSlider
*arg1
= (wxSlider
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "self", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
11341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= PyInt_FromLong((long)result
);
11356 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxSlider
*arg1
= (wxSlider
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
11366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= PyInt_FromLong((long)result
);
11381 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxSlider
*arg1
= (wxSlider
*) 0 ;
11386 PyObject
* obj0
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self",(char *) "min",(char *) "max", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 (arg1
)->SetSelection(arg2
,arg3
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 Py_INCREF(Py_None
); resultobj
= Py_None
;
11407 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
11409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11410 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
11412 return Py_BuildValue((char *)"");
11414 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
11415 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
11420 static PyObject
*_wrap_ToggleButtonNameStr_get() {
11425 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11427 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11434 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
;
11436 wxWindow
*arg1
= (wxWindow
*) 0 ;
11438 wxString
*arg3
= 0 ;
11439 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11440 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11441 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11442 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11443 long arg6
= (long) 0 ;
11444 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11445 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11446 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
11447 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11448 wxToggleButton
*result
;
11449 bool temp3
= False
;
11452 bool temp8
= False
;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 PyObject
* obj3
= 0 ;
11456 PyObject
* obj4
= 0 ;
11457 PyObject
* obj6
= 0 ;
11458 PyObject
* obj7
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11466 arg3
= wxString_in_helper(obj2
);
11467 if (arg3
== NULL
) SWIG_fail
;
11473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11483 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11484 if (arg7
== NULL
) {
11485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11490 arg8
= wxString_in_helper(obj7
);
11491 if (arg8
== NULL
) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11525 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxToggleButton
*result
;
11528 char *kwnames
[] = {
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (wxToggleButton
*)new wxToggleButton();
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11547 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11550 wxWindow
*arg2
= (wxWindow
*) 0 ;
11552 wxString
*arg4
= 0 ;
11553 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11554 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11555 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11556 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11557 long arg7
= (long) 0 ;
11558 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11559 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11560 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
11561 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11563 bool temp4
= False
;
11566 bool temp9
= False
;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 PyObject
* obj4
= 0 ;
11571 PyObject
* obj5
= 0 ;
11572 PyObject
* obj7
= 0 ;
11573 PyObject
* obj8
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11582 arg4
= wxString_in_helper(obj3
);
11583 if (arg4
== NULL
) SWIG_fail
;
11589 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11595 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11599 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11600 if (arg8
== NULL
) {
11601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11606 arg9
= wxString_in_helper(obj8
);
11607 if (arg9
== NULL
) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= PyInt_FromLong((long)result
);
11641 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11645 PyObject
* obj0
= 0 ;
11646 PyObject
* obj1
= 0 ;
11647 char *kwnames
[] = {
11648 (char *) "self",(char *) "value", NULL
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11654 arg2
= (bool) SPyObj_AsBool(obj1
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 (arg1
)->SetValue(arg2
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 Py_INCREF(Py_None
); resultobj
= Py_None
;
11671 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= PyInt_FromLong((long)result
);
11696 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11699 wxString
*arg2
= 0 ;
11700 bool temp2
= False
;
11701 PyObject
* obj0
= 0 ;
11702 PyObject
* obj1
= 0 ;
11703 char *kwnames
[] = {
11704 (char *) "self",(char *) "label", NULL
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11710 arg2
= wxString_in_helper(obj1
);
11711 if (arg2
== NULL
) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 (arg1
)->SetLabel((wxString
const &)*arg2
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 Py_INCREF(Py_None
); resultobj
= Py_None
;
11736 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11739 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11741 return Py_BuildValue((char *)"");
11743 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
11744 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
11749 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
11754 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11756 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11763 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11765 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11767 PyObject
* obj0
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
11788 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "self",(char *) "n", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11802 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= wxPyMake_wxObject(result
);
11821 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= PyInt_FromLong((long)result
);
11846 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11850 wxString
*arg3
= 0 ;
11852 bool temp3
= False
;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 PyObject
* obj2
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "n",(char *) "strText", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11863 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 arg3
= wxString_in_helper(obj2
);
11868 if (arg3
== NULL
) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= PyInt_FromLong((long)result
);
11893 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "self",(char *) "n", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11907 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11930 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11933 wxImageList
*arg2
= (wxImageList
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 PyObject
* obj1
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self",(char *) "imageList", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 (arg1
)->SetImageList(arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 Py_INCREF(Py_None
); resultobj
= Py_None
;
11957 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11960 wxImageList
*arg2
= (wxImageList
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 PyObject
* obj1
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self",(char *) "imageList", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->AssignImageList(arg2
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11984 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11987 wxImageList
*result
;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= wxPyMake_wxObject(result
);
12011 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self",(char *) "n", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12025 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= PyInt_FromLong((long)result
);
12042 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self",(char *) "n",(char *) "imageId", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12057 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= PyInt_FromLong((long)result
);
12074 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 PyObject
* obj1
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self",(char *) "size", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12089 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 Py_INCREF(Py_None
); resultobj
= Py_None
;
12105 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 PyObject
* obj1
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "sizePage", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 wxSize
* resultptr
;
12132 resultptr
= new wxSize((wxSize
&) result
);
12133 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12141 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self",(char *) "n", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12155 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (bool)(arg1
)->DeletePage(arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= PyInt_FromLong((long)result
);
12172 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 PyObject
* obj1
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "n", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12186 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (bool)(arg1
)->RemovePage(arg2
);
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= PyInt_FromLong((long)result
);
12203 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (bool)(arg1
)->DeleteAllPages();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= PyInt_FromLong((long)result
);
12228 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12231 wxWindow
*arg2
= (wxWindow
*) 0 ;
12232 wxString
*arg3
= 0 ;
12233 bool arg4
= (bool) False
;
12234 int arg5
= (int) -1 ;
12236 bool temp3
= False
;
12237 PyObject
* obj0
= 0 ;
12238 PyObject
* obj1
= 0 ;
12239 PyObject
* obj2
= 0 ;
12240 PyObject
* obj3
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12249 arg3
= wxString_in_helper(obj2
);
12250 if (arg3
== NULL
) SWIG_fail
;
12255 arg4
= (bool) SPyObj_AsBool(obj3
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= PyInt_FromLong((long)result
);
12281 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12285 wxWindow
*arg3
= (wxWindow
*) 0 ;
12286 wxString
*arg4
= 0 ;
12287 bool arg5
= (bool) False
;
12288 int arg6
= (int) -1 ;
12290 bool temp4
= False
;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 PyObject
* obj2
= 0 ;
12294 PyObject
* obj3
= 0 ;
12295 PyObject
* obj4
= 0 ;
12296 char *kwnames
[] = {
12297 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
12301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12303 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12308 arg4
= wxString_in_helper(obj3
);
12309 if (arg4
== NULL
) SWIG_fail
;
12314 arg5
= (bool) SPyObj_AsBool(obj4
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= PyInt_FromLong((long)result
);
12340 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
;
12342 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 PyObject
* obj1
= 0 ;
12347 char *kwnames
[] = {
12348 (char *) "self",(char *) "n", NULL
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12354 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (int)(arg1
)->SetSelection(arg2
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= PyInt_FromLong((long)result
);
12371 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12374 bool arg2
= (bool) True
;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self",(char *) "forward", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12385 arg2
= (bool) SPyObj_AsBool(obj1
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 (arg1
)->AdvanceSelection(arg2
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 Py_INCREF(Py_None
); resultobj
= Py_None
;
12403 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
12405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12406 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
12408 return Py_BuildValue((char *)"");
12410 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12413 int arg2
= (int) 0 ;
12414 int arg3
= (int) -1 ;
12415 int arg4
= (int) -1 ;
12416 wxBookCtrlEvent
*result
;
12417 char *kwnames
[] = {
12418 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
12436 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= PyInt_FromLong((long)result
);
12461 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self",(char *) "nSel", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 (arg1
)->SetSelection(arg2
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 Py_INCREF(Py_None
); resultobj
= Py_None
;
12486 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
12496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= PyInt_FromLong((long)result
);
12511 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "nOldSel", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->SetOldSelection(arg2
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 Py_INCREF(Py_None
); resultobj
= Py_None
;
12536 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12539 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
12541 return Py_BuildValue((char *)"");
12543 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxWindow
*arg1
= (wxWindow
*) 0 ;
12547 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12548 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12549 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12550 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12551 long arg5
= (long) 0 ;
12552 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
12553 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12554 wxNotebook
*result
;
12557 bool temp6
= False
;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj2
= 0 ;
12560 PyObject
* obj3
= 0 ;
12561 PyObject
* obj5
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12571 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12577 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12582 arg6
= wxString_in_helper(obj5
);
12583 if (arg6
== NULL
) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= wxPyMake_wxObject(result
);
12611 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxNotebook
*result
;
12614 char *kwnames
[] = {
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 result
= (wxNotebook
*)new wxNotebook();
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= wxPyMake_wxObject(result
);
12635 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12638 wxWindow
*arg2
= (wxWindow
*) 0 ;
12640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12644 long arg6
= (long) 0 ;
12645 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12646 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12650 bool temp7
= False
;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 PyObject
* obj3
= 0 ;
12654 PyObject
* obj4
= 0 ;
12655 PyObject
* obj6
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12677 arg7
= wxString_in_helper(obj6
);
12678 if (arg7
== NULL
) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= PyInt_FromLong((long)result
);
12704 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
;
12706 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12708 PyObject
* obj0
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= PyInt_FromLong((long)result
);
12729 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self",(char *) "padding", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12744 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 Py_INCREF(Py_None
); resultobj
= Py_None
;
12760 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12765 PyObject
* obj0
= 0 ;
12766 PyObject
* obj1
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self",(char *) "sz", NULL
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 Py_INCREF(Py_None
); resultobj
= Py_None
;
12791 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12794 wxPoint
*arg2
= 0 ;
12795 long *arg3
= (long *) 0 ;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self",(char *) "pt", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= PyInt_FromLong((long)result
);
12821 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12822 resultobj
= t_output_helper(resultobj
,o
);
12830 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 PyObject
* obj1
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self",(char *) "sizePage", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12846 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 wxSize
* resultptr
;
12857 resultptr
= new wxSize((wxSize
&) result
);
12858 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12866 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12869 wxWindow
*arg2
= (wxWindow
*) 0 ;
12870 wxColour
*arg3
= 0 ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 PyObject
* obj2
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "window",(char *) "colour", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12881 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12884 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 Py_INCREF(Py_None
); resultobj
= Py_None
;
12900 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12903 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12905 return Py_BuildValue((char *)"");
12907 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12910 int arg2
= (int) 0 ;
12911 int arg3
= (int) -1 ;
12912 int arg4
= (int) -1 ;
12913 wxNotebookEvent
*result
;
12914 char *kwnames
[] = {
12915 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12933 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12936 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12938 return Py_BuildValue((char *)"");
12940 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxWindow
*arg1
= (wxWindow
*) 0 ;
12944 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12945 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12946 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12947 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12948 long arg5
= (long) 0 ;
12949 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12950 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12951 wxListbook
*result
;
12954 bool temp6
= False
;
12955 PyObject
* obj0
= 0 ;
12956 PyObject
* obj2
= 0 ;
12957 PyObject
* obj3
= 0 ;
12958 PyObject
* obj5
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12968 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12974 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12979 arg6
= wxString_in_helper(obj5
);
12980 if (arg6
== NULL
) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
13006 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxListbook
*result
;
13009 char *kwnames
[] = {
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (wxListbook
*)new wxListbook();
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
13028 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxListbook
*arg1
= (wxListbook
*) 0 ;
13031 wxWindow
*arg2
= (wxWindow
*) 0 ;
13033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13037 long arg6
= (long) 0 ;
13038 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13039 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13043 bool temp7
= False
;
13044 PyObject
* obj0
= 0 ;
13045 PyObject
* obj1
= 0 ;
13046 PyObject
* obj3
= 0 ;
13047 PyObject
* obj4
= 0 ;
13048 PyObject
* obj6
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13070 arg7
= wxString_in_helper(obj6
);
13071 if (arg7
== NULL
) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= PyInt_FromLong((long)result
);
13097 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxListbook
*arg1
= (wxListbook
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
13107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= PyInt_FromLong((long)result
);
13122 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
13124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13125 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
13127 return Py_BuildValue((char *)"");
13129 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13132 int arg2
= (int) 0 ;
13133 int arg3
= (int) -1 ;
13134 int arg4
= (int) -1 ;
13135 wxListbookEvent
*result
;
13136 char *kwnames
[] = {
13137 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
13155 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13158 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
13160 return Py_BuildValue((char *)"");
13162 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13163 PyObject
*resultobj
;
13164 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13165 wxBookCtrlSizer
*result
;
13166 PyObject
* obj0
= 0 ;
13167 char *kwnames
[] = {
13168 (char *) "nb", NULL
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
13172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
13187 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 (arg1
)->RecalcSizes();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 Py_INCREF(Py_None
); resultobj
= Py_None
;
13211 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= (arg1
)->CalcMin();
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13230 wxSize
* resultptr
;
13231 resultptr
= new wxSize((wxSize
&) result
);
13232 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13240 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13243 wxBookCtrl
*result
;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (wxBookCtrl
*)(arg1
)->GetControl();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
13265 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13268 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
13270 return Py_BuildValue((char *)"");
13272 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13275 wxNotebookSizer
*result
;
13276 PyObject
* obj0
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "nb", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
13297 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
13306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 (arg1
)->RecalcSizes();
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 Py_INCREF(Py_None
); resultobj
= Py_None
;
13321 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
;
13323 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (arg1
)->CalcMin();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 wxSize
* resultptr
;
13341 resultptr
= new wxSize((wxSize
&) result
);
13342 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13350 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13353 wxNotebook
*result
;
13354 PyObject
* obj0
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (wxNotebook
*)(arg1
)->GetNotebook();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= wxPyMake_wxObject(result
);
13377 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13380 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
13382 return Py_BuildValue((char *)"");
13384 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (int)(arg1
)->GetId();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= PyInt_FromLong((long)result
);
13409 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13413 PyObject
* obj0
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (wxControl
*)(arg1
)->GetControl();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= wxPyMake_wxObject(result
);
13436 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
;
13438 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13439 wxToolBarBase
*result
;
13440 PyObject
* obj0
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= wxPyMake_wxObject(result
);
13463 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
;
13465 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (int)(arg1
)->IsButton();
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= PyInt_FromLong((long)result
);
13488 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13492 PyObject
* obj0
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (int)(arg1
)->IsControl();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= PyInt_FromLong((long)result
);
13513 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (int)(arg1
)->IsSeparator();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= PyInt_FromLong((long)result
);
13538 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13542 PyObject
* obj0
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (int)(arg1
)->GetStyle();
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= PyInt_FromLong((long)result
);
13563 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
13573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (int)(arg1
)->GetKind();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= PyInt_FromLong((long)result
);
13588 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (bool)(arg1
)->IsEnabled();
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= PyInt_FromLong((long)result
);
13613 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13614 PyObject
*resultobj
;
13615 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13617 PyObject
* obj0
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "self", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
13623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 result
= (bool)(arg1
)->IsToggled();
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= PyInt_FromLong((long)result
);
13638 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13642 PyObject
* obj0
= 0 ;
13643 char *kwnames
[] = {
13644 (char *) "self", NULL
13647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
13648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (bool)(arg1
)->CanBeToggled();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= PyInt_FromLong((long)result
);
13663 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
;
13665 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13667 PyObject
* obj0
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13678 result
= (wxBitmap
*) &_result_ref
;
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13691 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13706 result
= (wxBitmap
*) &_result_ref
;
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13719 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13723 PyObject
* obj0
= 0 ;
13724 char *kwnames
[] = {
13725 (char *) "self", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (arg1
)->GetBitmap();
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13738 wxBitmap
* resultptr
;
13739 resultptr
= new wxBitmap((wxBitmap
&) result
);
13740 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13748 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13752 PyObject
* obj0
= 0 ;
13753 char *kwnames
[] = {
13754 (char *) "self", NULL
13757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (arg1
)->GetLabel();
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13779 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 result
= (arg1
)->GetShortHelp();
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13810 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (arg1
)->GetLongHelp();
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13841 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "self",(char *) "enable", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13855 arg2
= (bool) SPyObj_AsBool(obj1
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (bool)(arg1
)->Enable(arg2
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= PyInt_FromLong((long)result
);
13872 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 Py_INCREF(Py_None
); resultobj
= Py_None
;
13896 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self",(char *) "toggle", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13910 arg2
= (bool) SPyObj_AsBool(obj1
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (bool)(arg1
)->SetToggle(arg2
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= PyInt_FromLong((long)result
);
13927 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13930 wxString
*arg2
= 0 ;
13932 bool temp2
= False
;
13933 PyObject
* obj0
= 0 ;
13934 PyObject
* obj1
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "self",(char *) "help", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13942 arg2
= wxString_in_helper(obj1
);
13943 if (arg2
== NULL
) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= PyInt_FromLong((long)result
);
13968 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13971 wxString
*arg2
= 0 ;
13973 bool temp2
= False
;
13974 PyObject
* obj0
= 0 ;
13975 PyObject
* obj1
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "self",(char *) "help", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13983 arg2
= wxString_in_helper(obj1
);
13984 if (arg2
== NULL
) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= PyInt_FromLong((long)result
);
14009 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14012 wxBitmap
*arg2
= 0 ;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "self",(char *) "bmp", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14022 if (arg2
== NULL
) {
14023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 Py_INCREF(Py_None
); resultobj
= Py_None
;
14039 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
;
14041 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14042 wxBitmap
*arg2
= 0 ;
14043 PyObject
* obj0
= 0 ;
14044 PyObject
* obj1
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self",(char *) "bmp", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14052 if (arg2
== NULL
) {
14053 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 Py_INCREF(Py_None
); resultobj
= Py_None
;
14069 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14072 wxString
*arg2
= 0 ;
14073 bool temp2
= False
;
14074 PyObject
* obj0
= 0 ;
14075 PyObject
* obj1
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self",(char *) "label", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14083 arg2
= wxString_in_helper(obj1
);
14084 if (arg2
== NULL
) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 (arg1
)->SetLabel((wxString
const &)*arg2
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 Py_INCREF(Py_None
); resultobj
= Py_None
;
14109 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 Py_INCREF(Py_None
); resultobj
= Py_None
;
14133 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14136 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
14137 PyObject
* obj0
= 0 ;
14138 PyObject
* obj1
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self",(char *) "tbar", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14145 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 (arg1
)->Attach(arg2
);
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14160 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= result
;
14185 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14188 PyObject
*arg2
= (PyObject
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self",(char *) "clientData", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
14196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 wxToolBarToolBase_SetClientData(arg1
,arg2
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 Py_INCREF(Py_None
); resultobj
= Py_None
;
14212 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
14214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14215 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
14217 return Py_BuildValue((char *)"");
14219 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14223 wxString
*arg3
= 0 ;
14224 wxBitmap
*arg4
= 0 ;
14225 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
14226 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
14227 int arg6
= (int) wxITEM_NORMAL
;
14228 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14229 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14230 wxString
const &arg8_defvalue
= wxPyEmptyString
;
14231 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14232 PyObject
*arg9
= (PyObject
*) NULL
;
14233 wxToolBarToolBase
*result
;
14234 bool temp3
= False
;
14235 bool temp7
= False
;
14236 bool temp8
= False
;
14237 PyObject
* obj0
= 0 ;
14238 PyObject
* obj2
= 0 ;
14239 PyObject
* obj3
= 0 ;
14240 PyObject
* obj4
= 0 ;
14241 PyObject
* obj6
= 0 ;
14242 PyObject
* obj7
= 0 ;
14243 PyObject
* obj8
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
14249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14251 arg3
= wxString_in_helper(obj2
);
14252 if (arg3
== NULL
) SWIG_fail
;
14255 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14256 if (arg4
== NULL
) {
14257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14260 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14261 if (arg5
== NULL
) {
14262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14267 arg7
= wxString_in_helper(obj6
);
14268 if (arg7
== NULL
) SWIG_fail
;
14274 arg8
= wxString_in_helper(obj7
);
14275 if (arg8
== NULL
) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= wxPyMake_wxObject(result
);
14322 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14327 wxString
*arg4
= 0 ;
14328 wxBitmap
*arg5
= 0 ;
14329 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
14330 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
14331 int arg7
= (int) wxITEM_NORMAL
;
14332 wxString
const &arg8_defvalue
= wxPyEmptyString
;
14333 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14334 wxString
const &arg9_defvalue
= wxPyEmptyString
;
14335 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14336 PyObject
*arg10
= (PyObject
*) NULL
;
14337 wxToolBarToolBase
*result
;
14338 bool temp4
= False
;
14339 bool temp8
= False
;
14340 bool temp9
= False
;
14341 PyObject
* obj0
= 0 ;
14342 PyObject
* obj1
= 0 ;
14343 PyObject
* obj3
= 0 ;
14344 PyObject
* obj4
= 0 ;
14345 PyObject
* obj5
= 0 ;
14346 PyObject
* obj7
= 0 ;
14347 PyObject
* obj8
= 0 ;
14348 PyObject
* obj9
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14356 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14360 arg4
= wxString_in_helper(obj3
);
14361 if (arg4
== NULL
) SWIG_fail
;
14364 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14365 if (arg5
== NULL
) {
14366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14369 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14370 if (arg6
== NULL
) {
14371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14376 arg8
= wxString_in_helper(obj7
);
14377 if (arg8
== NULL
) SWIG_fail
;
14383 arg9
= wxString_in_helper(obj8
);
14384 if (arg9
== NULL
) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 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
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= wxPyMake_wxObject(result
);
14431 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14434 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
14435 wxToolBarToolBase
*result
;
14436 PyObject
* obj0
= 0 ;
14437 PyObject
* obj1
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self",(char *) "tool", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= wxPyMake_wxObject(result
);
14461 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14465 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
14466 wxToolBarToolBase
*result
;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 PyObject
* obj2
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self",(char *) "pos",(char *) "tool", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14477 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= wxPyMake_wxObject(result
);
14497 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14500 wxControl
*arg2
= (wxControl
*) 0 ;
14501 wxToolBarToolBase
*result
;
14502 PyObject
* obj0
= 0 ;
14503 PyObject
* obj1
= 0 ;
14504 char *kwnames
[] = {
14505 (char *) "self",(char *) "control", NULL
14508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
14509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= wxPyMake_wxObject(result
);
14527 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14531 wxControl
*arg3
= (wxControl
*) 0 ;
14532 wxToolBarToolBase
*result
;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 PyObject
* obj2
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self",(char *) "pos",(char *) "control", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14543 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= wxPyMake_wxObject(result
);
14563 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self",(char *) "id", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= wxPyMake_wxObject(result
);
14591 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14594 wxToolBarToolBase
*result
;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
14601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= wxPyMake_wxObject(result
);
14618 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14622 wxToolBarToolBase
*result
;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self",(char *) "pos", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
14630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14632 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= wxPyMake_wxObject(result
);
14651 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14655 wxToolBarToolBase
*result
;
14656 PyObject
* obj0
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "self",(char *) "id", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= wxPyMake_wxObject(result
);
14679 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 PyObject
* obj1
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "self",(char *) "pos", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
14691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14693 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= PyInt_FromLong((long)result
);
14710 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14715 PyObject
* obj0
= 0 ;
14716 char *kwnames
[] = {
14717 (char *) "self",(char *) "id", NULL
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= (bool)(arg1
)->DeleteTool(arg2
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= PyInt_FromLong((long)result
);
14736 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 char *kwnames
[] = {
14741 (char *) "self", NULL
14744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
14745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->ClearTools();
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 Py_INCREF(Py_None
); resultobj
= Py_None
;
14760 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= (bool)(arg1
)->Realize();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= PyInt_FromLong((long)result
);
14785 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
;
14787 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj2
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self",(char *) "id",(char *) "enable", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14799 arg3
= (bool) SPyObj_AsBool(obj2
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 (arg1
)->EnableTool(arg2
,arg3
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 PyObject
* obj2
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self",(char *) "id",(char *) "toggle", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14830 arg3
= (bool) SPyObj_AsBool(obj2
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->ToggleTool(arg2
,arg3
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 Py_INCREF(Py_None
); resultobj
= Py_None
;
14847 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 PyObject
* obj2
= 0 ;
14854 char *kwnames
[] = {
14855 (char *) "self",(char *) "id",(char *) "toggle", NULL
14858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14861 arg3
= (bool) SPyObj_AsBool(obj2
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 (arg1
)->SetToggle(arg2
,arg3
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 Py_INCREF(Py_None
); resultobj
= Py_None
;
14878 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14883 PyObject
* obj0
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self",(char *) "id", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= result
;
14904 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14908 PyObject
*arg3
= (PyObject
*) 0 ;
14909 PyObject
* obj0
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self",(char *) "id",(char *) "clientData", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 Py_INCREF(Py_None
); resultobj
= Py_None
;
14932 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "id", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= PyInt_FromLong((long)result
);
14958 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self",(char *) "id", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) 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
= (bool)(arg1
)->GetToolState(arg2
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= PyInt_FromLong((long)result
);
14984 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "id", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= PyInt_FromLong((long)result
);
15010 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15014 wxString
*arg3
= 0 ;
15015 bool temp3
= False
;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj2
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self",(char *) "id",(char *) "helpString", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
15023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15025 arg3
= wxString_in_helper(obj2
);
15026 if (arg3
== NULL
) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 Py_INCREF(Py_None
); resultobj
= Py_None
;
15051 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self",(char *) "id", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (arg1
)->GetToolShortHelp(arg2
);
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15083 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15087 wxString
*arg3
= 0 ;
15088 bool temp3
= False
;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj2
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self",(char *) "id",(char *) "helpString", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
15096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15098 arg3
= wxString_in_helper(obj2
);
15099 if (arg3
== NULL
) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 Py_INCREF(Py_None
); resultobj
= Py_None
;
15124 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self",(char *) "id", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (arg1
)->GetToolLongHelp(arg2
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15156 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
;
15158 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self",(char *) "x",(char *) "y", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 (arg1
)->SetMargins(arg2
,arg3
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 PyObject
* obj1
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self",(char *) "size", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15197 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 (arg1
)->SetMargins((wxSize
const &)*arg2
);
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 Py_INCREF(Py_None
); resultobj
= Py_None
;
15213 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self",(char *) "packing", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 (arg1
)->SetToolPacking(arg2
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 Py_INCREF(Py_None
); resultobj
= Py_None
;
15238 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "separation", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 (arg1
)->SetToolSeparation(arg2
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 Py_INCREF(Py_None
); resultobj
= Py_None
;
15263 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
15273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (arg1
)->GetToolMargins();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15282 wxSize
* resultptr
;
15283 resultptr
= new wxSize((wxSize
&) result
);
15284 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15292 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (arg1
)->GetMargins();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15311 wxSize
* resultptr
;
15312 resultptr
= new wxSize((wxSize
&) result
);
15313 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15321 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
15331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (int)(arg1
)->GetToolPacking();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= PyInt_FromLong((long)result
);
15346 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15350 PyObject
* obj0
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (int)(arg1
)->GetToolSeparation();
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= PyInt_FromLong((long)result
);
15371 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self",(char *) "nRows", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 (arg1
)->SetRows(arg2
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 Py_INCREF(Py_None
); resultobj
= Py_None
;
15396 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 char *kwnames
[] = {
15403 (char *) "self",(char *) "rows",(char *) "cols", NULL
15406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 Py_INCREF(Py_None
); resultobj
= Py_None
;
15422 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15424 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (int)(arg1
)->GetMaxRows();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= PyInt_FromLong((long)result
);
15447 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15451 PyObject
* obj0
= 0 ;
15452 char *kwnames
[] = {
15453 (char *) "self", NULL
15456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
15457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (int)(arg1
)->GetMaxCols();
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= PyInt_FromLong((long)result
);
15472 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self",(char *) "size", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15487 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 Py_INCREF(Py_None
); resultobj
= Py_None
;
15503 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 result
= (arg1
)->GetToolBitmapSize();
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15522 wxSize
* resultptr
;
15523 resultptr
= new wxSize((wxSize
&) result
);
15524 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15532 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15536 PyObject
* obj0
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "self", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
15542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (arg1
)->GetToolSize();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15551 wxSize
* resultptr
;
15552 resultptr
= new wxSize((wxSize
&) result
);
15553 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15561 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15566 wxToolBarToolBase
*result
;
15567 PyObject
* obj0
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self",(char *) "x",(char *) "y", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= wxPyMake_wxObject(result
);
15590 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15594 wxToolBarToolBase
*result
;
15595 PyObject
* obj0
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "self",(char *) "toolid", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindById",kwnames
,&obj0
,&arg2
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= wxPyMake_wxObject(result
);
15618 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
15628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 result
= (bool)(arg1
)->IsVertical();
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= PyInt_FromLong((long)result
);
15643 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
15645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15646 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
15648 return Py_BuildValue((char *)"");
15650 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxWindow
*arg1
= (wxWindow
*) 0 ;
15654 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15655 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15656 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15657 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15658 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15659 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
15660 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15664 bool temp6
= False
;
15665 PyObject
* obj0
= 0 ;
15666 PyObject
* obj2
= 0 ;
15667 PyObject
* obj3
= 0 ;
15668 PyObject
* obj5
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
15674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15678 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15684 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15689 arg6
= wxString_in_helper(obj5
);
15690 if (arg6
== NULL
) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= wxPyMake_wxObject(result
);
15718 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15721 char *kwnames
[] = {
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (wxToolBar
*)new wxToolBar();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= wxPyMake_wxObject(result
);
15742 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15745 wxWindow
*arg2
= (wxWindow
*) 0 ;
15747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15751 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15752 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15757 bool temp7
= False
;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 PyObject
* obj3
= 0 ;
15761 PyObject
* obj4
= 0 ;
15762 PyObject
* obj6
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15769 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15773 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15779 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15784 arg7
= wxString_in_helper(obj6
);
15785 if (arg7
== NULL
) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= PyInt_FromLong((long)result
);
15811 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15816 wxToolBarToolBase
*result
;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self",(char *) "x",(char *) "y", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= wxPyMake_wxObject(result
);
15840 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15843 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15845 return Py_BuildValue((char *)"");
15847 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
15848 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
15853 static PyObject
*_wrap_ListCtrlNameStr_get() {
15858 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15860 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15867 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxColour
const &arg1_defvalue
= wxNullColour
;
15870 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15871 wxColour
const &arg2_defvalue
= wxNullColour
;
15872 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15873 wxFont
const &arg3_defvalue
= wxNullFont
;
15874 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15875 wxListItemAttr
*result
;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 PyObject
* obj2
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15889 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15899 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15900 if (arg3
== NULL
) {
15901 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15918 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15921 wxColour
*arg2
= 0 ;
15923 PyObject
* obj0
= 0 ;
15924 PyObject
* obj1
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self",(char *) "colText", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15933 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15942 Py_INCREF(Py_None
); resultobj
= Py_None
;
15949 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
;
15951 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15952 wxColour
*arg2
= 0 ;
15954 PyObject
* obj0
= 0 ;
15955 PyObject
* obj1
= 0 ;
15956 char *kwnames
[] = {
15957 (char *) "self",(char *) "colBack", NULL
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15964 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 Py_INCREF(Py_None
); resultobj
= Py_None
;
15980 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15984 PyObject
* obj0
= 0 ;
15985 PyObject
* obj1
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self",(char *) "font", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15993 if (arg2
== NULL
) {
15994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 (arg1
)->SetFont((wxFont
const &)*arg2
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 Py_INCREF(Py_None
); resultobj
= Py_None
;
16010 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16014 PyObject
* obj0
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (bool)(arg1
)->HasTextColour();
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= PyInt_FromLong((long)result
);
16035 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16039 PyObject
* obj0
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (bool)(arg1
)->HasBackgroundColour();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= PyInt_FromLong((long)result
);
16060 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
;
16062 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16064 PyObject
* obj0
= 0 ;
16065 char *kwnames
[] = {
16066 (char *) "self", NULL
16069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
16070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (bool)(arg1
)->HasFont();
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= PyInt_FromLong((long)result
);
16085 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16087 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16089 PyObject
* obj0
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self", NULL
16094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
16095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (arg1
)->GetTextColour();
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16104 wxColour
* resultptr
;
16105 resultptr
= new wxColour((wxColour
&) result
);
16106 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16114 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (arg1
)->GetBackgroundColour();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16133 wxColour
* resultptr
;
16134 resultptr
= new wxColour((wxColour
&) result
);
16135 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16143 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (arg1
)->GetFont();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 wxFont
* resultptr
;
16163 resultptr
= new wxFont((wxFont
&) result
);
16164 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16172 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 wxListItemAttr_Destroy(arg1
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 Py_INCREF(Py_None
); resultobj
= Py_None
;
16196 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
16198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16199 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
16201 return Py_BuildValue((char *)"");
16203 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxListItem
*result
;
16206 char *kwnames
[] = {
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (wxListItem
*)new wxListItem();
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= wxPyMake_wxObject(result
);
16227 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxListItem
*arg1
= (wxListItem
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
16236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16244 Py_INCREF(Py_None
); resultobj
= Py_None
;
16251 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxListItem
*arg1
= (wxListItem
*) 0 ;
16254 PyObject
* obj0
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 Py_INCREF(Py_None
); resultobj
= Py_None
;
16275 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxListItem
*arg1
= (wxListItem
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 (arg1
)->ClearAttributes();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 Py_INCREF(Py_None
); resultobj
= Py_None
;
16299 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxListItem
*arg1
= (wxListItem
*) 0 ;
16303 PyObject
* obj0
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "mask", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 (arg1
)->SetMask(arg2
);
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxListItem
*arg1
= (wxListItem
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self",(char *) "id", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 (arg1
)->SetId(arg2
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 Py_INCREF(Py_None
); resultobj
= Py_None
;
16349 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxListItem
*arg1
= (wxListItem
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self",(char *) "col", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 (arg1
)->SetColumn(arg2
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16374 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxListItem
*arg1
= (wxListItem
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self",(char *) "state", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 (arg1
)->SetState(arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 Py_INCREF(Py_None
); resultobj
= Py_None
;
16399 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxListItem
*arg1
= (wxListItem
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self",(char *) "stateMask", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 (arg1
)->SetStateMask(arg2
);
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 Py_INCREF(Py_None
); resultobj
= Py_None
;
16424 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxListItem
*arg1
= (wxListItem
*) 0 ;
16427 wxString
*arg2
= 0 ;
16428 bool temp2
= False
;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self",(char *) "text", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16438 arg2
= wxString_in_helper(obj1
);
16439 if (arg2
== NULL
) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 (arg1
)->SetText((wxString
const &)*arg2
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 Py_INCREF(Py_None
); resultobj
= Py_None
;
16464 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxListItem
*arg1
= (wxListItem
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self",(char *) "image", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 (arg1
)->SetImage(arg2
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 Py_INCREF(Py_None
); resultobj
= Py_None
;
16489 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxListItem
*arg1
= (wxListItem
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "data", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 (arg1
)->SetData(arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 Py_INCREF(Py_None
); resultobj
= Py_None
;
16514 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxListItem
*arg1
= (wxListItem
*) 0 ;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self",(char *) "width", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
16524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 (arg1
)->SetWidth(arg2
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 Py_INCREF(Py_None
); resultobj
= Py_None
;
16539 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxListItem
*arg1
= (wxListItem
*) 0 ;
16543 PyObject
* obj0
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "align", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 Py_INCREF(Py_None
); resultobj
= Py_None
;
16564 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxListItem
*arg1
= (wxListItem
*) 0 ;
16567 wxColour
*arg2
= 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self",(char *) "colText", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16579 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 Py_INCREF(Py_None
); resultobj
= Py_None
;
16595 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxListItem
*arg1
= (wxListItem
*) 0 ;
16598 wxColour
*arg2
= 0 ;
16600 PyObject
* obj0
= 0 ;
16601 PyObject
* obj1
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self",(char *) "colBack", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16610 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 Py_INCREF(Py_None
); resultobj
= Py_None
;
16626 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxListItem
*arg1
= (wxListItem
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self",(char *) "font", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16639 if (arg2
== NULL
) {
16640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 (arg1
)->SetFont((wxFont
const &)*arg2
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 Py_INCREF(Py_None
); resultobj
= Py_None
;
16656 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxListItem
*arg1
= (wxListItem
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (long)(arg1
)->GetMask();
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= PyInt_FromLong((long)result
);
16681 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxListItem
*arg1
= (wxListItem
*) 0 ;
16685 PyObject
* obj0
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (long)(arg1
)->GetId();
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= PyInt_FromLong((long)result
);
16706 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxListItem
*arg1
= (wxListItem
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (int)(arg1
)->GetColumn();
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= PyInt_FromLong((long)result
);
16731 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxListItem
*arg1
= (wxListItem
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
16741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= (long)(arg1
)->GetState();
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= PyInt_FromLong((long)result
);
16756 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxListItem
*arg1
= (wxListItem
*) 0 ;
16760 PyObject
* obj0
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
16766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 wxString
const &_result_ref
= (arg1
)->GetText();
16771 result
= (wxString
*) &_result_ref
;
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16781 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16790 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxListItem
*arg1
= (wxListItem
*) 0 ;
16794 PyObject
* obj0
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (int)(arg1
)->GetImage();
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= PyInt_FromLong((long)result
);
16815 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxListItem
*arg1
= (wxListItem
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (long)(arg1
)->GetData();
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= PyInt_FromLong((long)result
);
16840 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxListItem
*arg1
= (wxListItem
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (int)(arg1
)->GetWidth();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= PyInt_FromLong((long)result
);
16865 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxListItem
*arg1
= (wxListItem
*) 0 ;
16869 PyObject
* obj0
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "self", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (int)(arg1
)->GetAlign();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= PyInt_FromLong((long)result
);
16890 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxListItem
*arg1
= (wxListItem
*) 0 ;
16893 wxListItemAttr
*result
;
16894 PyObject
* obj0
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16915 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxListItem
*arg1
= (wxListItem
*) 0 ;
16919 PyObject
* obj0
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (bool)(arg1
)->HasAttributes();
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= PyInt_FromLong((long)result
);
16940 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
;
16942 wxListItem
*arg1
= (wxListItem
*) 0 ;
16944 PyObject
* obj0
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "self", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 wxColour
* resultptr
;
16960 resultptr
= new wxColour((wxColour
&) result
);
16961 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16969 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxListItem
*arg1
= (wxListItem
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "self", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16988 wxColour
* resultptr
;
16989 resultptr
= new wxColour((wxColour
&) result
);
16990 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16998 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
;
17000 wxListItem
*arg1
= (wxListItem
*) 0 ;
17002 PyObject
* obj0
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "self", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
17008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= ((wxListItem
const *)arg1
)->GetFont();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 wxFont
* resultptr
;
17018 resultptr
= new wxFont((wxFont
&) result
);
17019 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17027 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxListItem
*arg1
= (wxListItem
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self",(char *) "m_mask", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17038 if (arg1
) (arg1
)->m_mask
= arg2
;
17040 Py_INCREF(Py_None
); resultobj
= Py_None
;
17047 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxListItem
*arg1
= (wxListItem
*) 0 ;
17051 PyObject
* obj0
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "self", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
17057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17058 result
= (long) ((arg1
)->m_mask
);
17060 resultobj
= PyInt_FromLong((long)result
);
17067 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxListItem
*arg1
= (wxListItem
*) 0 ;
17071 PyObject
* obj0
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "m_itemId", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17078 if (arg1
) (arg1
)->m_itemId
= arg2
;
17080 Py_INCREF(Py_None
); resultobj
= Py_None
;
17087 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxListItem
*arg1
= (wxListItem
*) 0 ;
17091 PyObject
* obj0
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
17097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17098 result
= (long) ((arg1
)->m_itemId
);
17100 resultobj
= PyInt_FromLong((long)result
);
17107 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxListItem
*arg1
= (wxListItem
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self",(char *) "m_col", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17118 if (arg1
) (arg1
)->m_col
= arg2
;
17120 Py_INCREF(Py_None
); resultobj
= Py_None
;
17127 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxListItem
*arg1
= (wxListItem
*) 0 ;
17131 PyObject
* obj0
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
17137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17138 result
= (int) ((arg1
)->m_col
);
17140 resultobj
= PyInt_FromLong((long)result
);
17147 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxListItem
*arg1
= (wxListItem
*) 0 ;
17151 PyObject
* obj0
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self",(char *) "m_state", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17158 if (arg1
) (arg1
)->m_state
= arg2
;
17160 Py_INCREF(Py_None
); resultobj
= Py_None
;
17167 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxListItem
*arg1
= (wxListItem
*) 0 ;
17171 PyObject
* obj0
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "self", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
17177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17178 result
= (long) ((arg1
)->m_state
);
17180 resultobj
= PyInt_FromLong((long)result
);
17187 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxListItem
*arg1
= (wxListItem
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self",(char *) "m_stateMask", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17198 if (arg1
) (arg1
)->m_stateMask
= arg2
;
17200 Py_INCREF(Py_None
); resultobj
= Py_None
;
17207 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxListItem
*arg1
= (wxListItem
*) 0 ;
17211 PyObject
* obj0
= 0 ;
17212 char *kwnames
[] = {
17213 (char *) "self", NULL
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
17217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17218 result
= (long) ((arg1
)->m_stateMask
);
17220 resultobj
= PyInt_FromLong((long)result
);
17227 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxListItem
*arg1
= (wxListItem
*) 0 ;
17230 wxString
*arg2
= (wxString
*) 0 ;
17231 bool temp2
= False
;
17232 PyObject
* obj0
= 0 ;
17233 PyObject
* obj1
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self",(char *) "m_text", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17241 arg2
= wxString_in_helper(obj1
);
17242 if (arg2
== NULL
) SWIG_fail
;
17245 if (arg1
) (arg1
)->m_text
= *arg2
;
17247 Py_INCREF(Py_None
); resultobj
= Py_None
;
17262 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
;
17264 wxListItem
*arg1
= (wxListItem
*) 0 ;
17266 PyObject
* obj0
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
17272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17273 result
= (wxString
*)& ((arg1
)->m_text
);
17277 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17279 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17288 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxListItem
*arg1
= (wxListItem
*) 0 ;
17292 PyObject
* obj0
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self",(char *) "m_image", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17299 if (arg1
) (arg1
)->m_image
= arg2
;
17301 Py_INCREF(Py_None
); resultobj
= Py_None
;
17308 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxListItem
*arg1
= (wxListItem
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
17318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17319 result
= (int) ((arg1
)->m_image
);
17321 resultobj
= PyInt_FromLong((long)result
);
17328 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxListItem
*arg1
= (wxListItem
*) 0 ;
17332 PyObject
* obj0
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "self",(char *) "m_data", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17339 if (arg1
) (arg1
)->m_data
= arg2
;
17341 Py_INCREF(Py_None
); resultobj
= Py_None
;
17348 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxListItem
*arg1
= (wxListItem
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 char *kwnames
[] = {
17354 (char *) "self", NULL
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
17358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17359 result
= (long) ((arg1
)->m_data
);
17361 resultobj
= PyInt_FromLong((long)result
);
17368 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17370 wxListItem
*arg1
= (wxListItem
*) 0 ;
17372 PyObject
* obj0
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self",(char *) "m_format", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17379 if (arg1
) (arg1
)->m_format
= arg2
;
17381 Py_INCREF(Py_None
); resultobj
= Py_None
;
17388 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxListItem
*arg1
= (wxListItem
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
17398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17399 result
= (int) ((arg1
)->m_format
);
17401 resultobj
= PyInt_FromLong((long)result
);
17408 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxListItem
*arg1
= (wxListItem
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self",(char *) "m_width", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17419 if (arg1
) (arg1
)->m_width
= arg2
;
17421 Py_INCREF(Py_None
); resultobj
= Py_None
;
17428 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxListItem
*arg1
= (wxListItem
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
17438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17439 result
= (int) ((arg1
)->m_width
);
17441 resultobj
= PyInt_FromLong((long)result
);
17448 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
17450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17451 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
17453 return Py_BuildValue((char *)"");
17455 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17458 int arg2
= (int) 0 ;
17459 wxListEvent
*result
;
17460 char *kwnames
[] = {
17461 (char *) "commandType",(char *) "id", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
17479 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self",(char *) "m_code", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 if (arg1
) (arg1
)->m_code
= arg2
;
17492 Py_INCREF(Py_None
); resultobj
= Py_None
;
17499 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
17509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17510 result
= (int) ((arg1
)->m_code
);
17512 resultobj
= PyInt_FromLong((long)result
);
17519 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17523 PyObject
* obj0
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self",(char *) "m_oldItemIndex", NULL
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17530 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
17532 Py_INCREF(Py_None
); resultobj
= Py_None
;
17539 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17550 result
= (long) ((arg1
)->m_oldItemIndex
);
17552 resultobj
= PyInt_FromLong((long)result
);
17559 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17563 PyObject
* obj0
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self",(char *) "m_itemIndex", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17570 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
17572 Py_INCREF(Py_None
); resultobj
= Py_None
;
17579 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17590 result
= (long) ((arg1
)->m_itemIndex
);
17592 resultobj
= PyInt_FromLong((long)result
);
17599 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self",(char *) "m_col", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17610 if (arg1
) (arg1
)->m_col
= arg2
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
17629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17630 result
= (int) ((arg1
)->m_col
);
17632 resultobj
= PyInt_FromLong((long)result
);
17639 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17642 wxPoint
*arg2
= (wxPoint
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self",(char *) "m_pointDrag", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17652 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17661 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17665 PyObject
* obj0
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17672 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
17674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
17681 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17684 wxListItem
*result
;
17685 PyObject
* obj0
= 0 ;
17686 char *kwnames
[] = {
17687 (char *) "self", NULL
17690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
17691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17692 result
= (wxListItem
*)& ((arg1
)->m_item
);
17695 resultobj
= wxPyMake_wxObject(result
);
17703 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= (int)(arg1
)->GetKeyCode();
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 resultobj
= PyInt_FromLong((long)result
);
17728 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17732 PyObject
* obj0
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= (long)(arg1
)->GetIndex();
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= PyInt_FromLong((long)result
);
17753 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17757 PyObject
* obj0
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "self", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (int)(arg1
)->GetColumn();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= PyInt_FromLong((long)result
);
17778 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 result
= (arg1
)->GetPoint();
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17797 wxPoint
* resultptr
;
17798 resultptr
= new wxPoint((wxPoint
&) result
);
17799 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17807 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
;
17809 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17811 PyObject
* obj0
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 wxString
const &_result_ref
= (arg1
)->GetLabel();
17822 result
= (wxString
*) &_result_ref
;
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17832 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17841 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 wxString
const &_result_ref
= (arg1
)->GetText();
17856 result
= (wxString
*) &_result_ref
;
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17866 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17875 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (int)(arg1
)->GetImage();
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= PyInt_FromLong((long)result
);
17900 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (long)(arg1
)->GetData();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= PyInt_FromLong((long)result
);
17925 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 result
= (long)(arg1
)->GetMask();
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= PyInt_FromLong((long)result
);
17950 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17953 wxListItem
*result
;
17954 PyObject
* obj0
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17965 result
= (wxListItem
*) &_result_ref
;
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17978 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (long)(arg1
)->GetCacheFrom();
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= PyInt_FromLong((long)result
);
18003 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
18013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (long)(arg1
)->GetCacheTo();
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= PyInt_FromLong((long)result
);
18028 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18032 PyObject
* obj0
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 resultobj
= PyInt_FromLong((long)result
);
18053 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18057 PyObject
* obj0
= 0 ;
18058 PyObject
* obj1
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "self",(char *) "editCancelled", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
18064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18066 arg2
= (bool) SPyObj_AsBool(obj1
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 (arg1
)->SetEditCanceled(arg2
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 Py_INCREF(Py_None
); resultobj
= Py_None
;
18083 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18086 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
18088 return Py_BuildValue((char *)"");
18090 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxWindow
*arg1
= (wxWindow
*) 0 ;
18093 int arg2
= (int) -1 ;
18094 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18095 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18096 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18097 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18098 long arg5
= (long) wxLC_ICON
;
18099 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
18100 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
18101 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
18102 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18103 wxPyListCtrl
*result
;
18106 bool temp7
= False
;
18107 PyObject
* obj0
= 0 ;
18108 PyObject
* obj2
= 0 ;
18109 PyObject
* obj3
= 0 ;
18110 PyObject
* obj5
= 0 ;
18111 PyObject
* obj6
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
18117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18121 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18127 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18131 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18132 if (arg6
== NULL
) {
18133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18138 arg7
= wxString_in_helper(obj6
);
18139 if (arg7
== NULL
) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
18165 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxPyListCtrl
*result
;
18168 char *kwnames
[] = {
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (wxPyListCtrl
*)new wxPyListCtrl();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
18187 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18190 wxWindow
*arg2
= (wxWindow
*) 0 ;
18191 int arg3
= (int) -1 ;
18192 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18193 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18194 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18195 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18196 long arg6
= (long) wxLC_ICON
;
18197 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18198 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18199 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
18200 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18204 bool temp8
= False
;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18207 PyObject
* obj3
= 0 ;
18208 PyObject
* obj4
= 0 ;
18209 PyObject
* obj6
= 0 ;
18210 PyObject
* obj7
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18231 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18232 if (arg7
== NULL
) {
18233 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18238 arg8
= wxString_in_helper(obj7
);
18239 if (arg8
== NULL
) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= PyInt_FromLong((long)result
);
18265 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18268 PyObject
*arg2
= (PyObject
*) 0 ;
18269 PyObject
*arg3
= (PyObject
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 PyObject
* obj2
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self",(char *) "self",(char *) "_class", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 Py_INCREF(Py_None
); resultobj
= Py_None
;
18295 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18298 wxColour
*arg2
= 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "col", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18311 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= PyInt_FromLong((long)result
);
18327 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18330 wxColour
*arg2
= 0 ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self",(char *) "col", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= PyInt_FromLong((long)result
);
18359 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18363 wxListItem
*result
;
18364 PyObject
* obj0
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "col", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= wxPyMake_wxObject(result
);
18387 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18391 wxListItem
*arg3
= 0 ;
18393 PyObject
* obj0
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self",(char *) "col",(char *) "item", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18401 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18402 if (arg3
== NULL
) {
18403 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= PyInt_FromLong((long)result
);
18419 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self",(char *) "col", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
18430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= PyInt_FromLong((long)result
);
18445 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18451 PyObject
* obj0
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self",(char *) "col",(char *) "width", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= PyInt_FromLong((long)result
);
18472 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
;
18474 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18476 PyObject
* obj0
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
18482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= PyInt_FromLong((long)result
);
18497 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
;
18499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18501 PyObject
* obj0
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "self", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
18507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18516 wxRect
* resultptr
;
18517 resultptr
= new wxRect((wxRect
&) result
);
18518 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18526 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18529 wxTextCtrl
*result
;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18545 resultobj
= wxPyMake_wxObject(result
);
18553 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18557 int arg3
= (int) 0 ;
18558 wxListItem
*result
;
18559 PyObject
* obj0
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self",(char *) "itemId",(char *) "col", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= wxPyMake_wxObject(result
);
18582 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18585 wxListItem
*arg2
= 0 ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self",(char *) "info", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18596 if (arg2
== NULL
) {
18597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 result
= (bool)(arg1
)->SetItem(*arg2
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= PyInt_FromLong((long)result
);
18613 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18618 wxString
*arg4
= 0 ;
18619 int arg5
= (int) -1 ;
18621 bool temp4
= False
;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj3
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
18629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18631 arg4
= wxString_in_helper(obj3
);
18632 if (arg4
== NULL
) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= PyInt_FromLong((long)result
);
18657 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= PyInt_FromLong((long)result
);
18684 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 resultobj
= PyInt_FromLong((long)result
);
18712 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18713 PyObject
*resultobj
;
18714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18719 PyObject
* obj0
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= PyInt_FromLong((long)result
);
18740 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
;
18742 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self",(char *) "item", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
18751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18772 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18776 wxString
*arg3
= 0 ;
18777 bool temp3
= False
;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj2
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "item",(char *) "str", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18787 arg3
= wxString_in_helper(obj2
);
18788 if (arg3
== NULL
) SWIG_fail
;
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 Py_INCREF(Py_None
); resultobj
= Py_None
;
18813 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self",(char *) "item", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= PyInt_FromLong((long)result
);
18839 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self",(char *) "item",(char *) "data", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= PyInt_FromLong((long)result
);
18866 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self",(char *) "item", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18886 wxPoint
* resultptr
;
18887 resultptr
= new wxPoint((wxPoint
&) result
);
18888 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18896 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18900 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18902 PyObject
* obj0
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "self",(char *) "item",(char *) "code", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18917 wxRect
* resultptr
;
18918 resultptr
= new wxRect((wxRect
&) result
);
18919 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18927 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18931 wxPoint
*arg3
= 0 ;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj2
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "self",(char *) "item",(char *) "pos", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= PyInt_FromLong((long)result
);
18960 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= PyInt_FromLong((long)result
);
18985 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= PyInt_FromLong((long)result
);
19010 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19029 wxSize
* resultptr
;
19030 resultptr
= new wxSize((wxSize
&) result
);
19031 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19039 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= PyInt_FromLong((long)result
);
19064 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19083 wxColour
* resultptr
;
19084 resultptr
= new wxColour((wxColour
&) result
);
19085 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19093 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19096 wxColour
*arg2
= 0 ;
19098 PyObject
* obj0
= 0 ;
19099 PyObject
* obj1
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self",(char *) "col", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19108 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 Py_INCREF(Py_None
); resultobj
= Py_None
;
19124 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= PyInt_FromLong((long)result
);
19149 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19153 bool arg3
= (bool) True
;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj2
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self",(char *) "style",(char *) "add", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19164 arg3
= (bool) SPyObj_AsBool(obj2
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 (arg1
)->SetSingleStyle(arg2
,arg3
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 Py_INCREF(Py_None
); resultobj
= Py_None
;
19182 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 char *kwnames
[] = {
19188 (char *) "self",(char *) "style", NULL
19191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
19192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->SetWindowStyleFlag(arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19211 int arg3
= (int) wxLIST_NEXT_ALL
;
19212 int arg4
= (int) wxLIST_STATE_DONTCARE
;
19214 PyObject
* obj0
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= PyInt_FromLong((long)result
);
19235 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
;
19237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19239 wxImageList
*result
;
19240 PyObject
* obj0
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self",(char *) "which", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= wxPyMake_wxObject(result
);
19263 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19266 wxImageList
*arg2
= (wxImageList
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 char *kwnames
[] = {
19271 (char *) "self",(char *) "imageList",(char *) "which", NULL
19274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 (arg1
)->SetImageList(arg2
,arg3
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 Py_INCREF(Py_None
); resultobj
= Py_None
;
19291 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19294 wxImageList
*arg2
= (wxImageList
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "imageList",(char *) "which", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 (arg1
)->AssignImageList(arg2
,arg3
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 Py_INCREF(Py_None
); resultobj
= Py_None
;
19319 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= PyInt_FromLong((long)result
);
19344 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self",(char *) "item", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 (arg1
)->RefreshItem(arg2
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 Py_INCREF(Py_None
); resultobj
= Py_None
;
19369 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 (arg1
)->RefreshItems(arg2
,arg3
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 Py_INCREF(Py_None
); resultobj
= Py_None
;
19395 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19398 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
19400 PyObject
* obj0
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "flag", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 result
= (bool)(arg1
)->Arrange(arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= PyInt_FromLong((long)result
);
19421 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19426 PyObject
* obj0
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "item", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 result
= (bool)(arg1
)->DeleteItem(arg2
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= PyInt_FromLong((long)result
);
19447 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (bool)(arg1
)->DeleteAllItems();
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= PyInt_FromLong((long)result
);
19472 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self",(char *) "col", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 result
= (bool)(arg1
)->DeleteColumn(arg2
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= PyInt_FromLong((long)result
);
19498 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= (bool)(arg1
)->DeleteAllColumns();
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= PyInt_FromLong((long)result
);
19523 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19526 PyObject
* obj0
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 (arg1
)->ClearAll();
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 Py_INCREF(Py_None
); resultobj
= Py_None
;
19547 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19551 wxTextCtrl
*result
;
19552 PyObject
* obj0
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "self",(char *) "item", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
19558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= wxPyMake_wxObject(result
);
19575 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19580 PyObject
* obj0
= 0 ;
19581 PyObject
* obj1
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self",(char *) "cancel", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19589 arg2
= (bool) SPyObj_AsBool(obj1
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (bool)(arg1
)->EndEditLabel(arg2
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= PyInt_FromLong((long)result
);
19606 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self",(char *) "item", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
19617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (bool)(arg1
)->EnsureVisible(arg2
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= PyInt_FromLong((long)result
);
19632 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19636 wxString
*arg3
= 0 ;
19637 bool arg4
= (bool) False
;
19639 bool temp3
= False
;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj2
= 0 ;
19642 PyObject
* obj3
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
19648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19650 arg3
= wxString_in_helper(obj2
);
19651 if (arg3
== NULL
) SWIG_fail
;
19656 arg4
= (bool) SPyObj_AsBool(obj3
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= PyInt_FromLong((long)result
);
19682 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19688 PyObject
* obj0
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self",(char *) "start",(char *) "data", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= PyInt_FromLong((long)result
);
19709 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19713 wxPoint
*arg3
= 0 ;
19717 PyObject
* obj0
= 0 ;
19718 PyObject
* obj2
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= PyInt_FromLong((long)result
);
19743 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19746 wxPoint
*arg2
= 0 ;
19751 PyObject
* obj0
= 0 ;
19752 PyObject
* obj1
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self",(char *) "point", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= PyInt_FromLong((long)result
);
19773 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19774 resultobj
= t_output_helper(resultobj
,o
);
19782 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
;
19784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19785 wxListItem
*arg2
= 0 ;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self",(char *) "info", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19796 if (arg2
== NULL
) {
19797 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (long)(arg1
)->InsertItem(*arg2
);
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= PyInt_FromLong((long)result
);
19813 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19817 wxString
*arg3
= 0 ;
19819 bool temp3
= False
;
19820 PyObject
* obj0
= 0 ;
19821 PyObject
* obj2
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self",(char *) "index",(char *) "label", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19829 arg3
= wxString_in_helper(obj2
);
19830 if (arg3
== NULL
) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= PyInt_FromLong((long)result
);
19855 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= PyInt_FromLong((long)result
);
19882 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19886 wxString
*arg3
= 0 ;
19889 bool temp3
= False
;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj2
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19899 arg3
= wxString_in_helper(obj2
);
19900 if (arg3
== NULL
) SWIG_fail
;
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= PyInt_FromLong((long)result
);
19925 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19929 wxListItem
*arg3
= 0 ;
19931 PyObject
* obj0
= 0 ;
19932 PyObject
* obj2
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self",(char *) "col",(char *) "info", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19939 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19940 if (arg3
== NULL
) {
19941 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19950 resultobj
= PyInt_FromLong((long)result
);
19957 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19961 wxString
*arg3
= 0 ;
19962 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19963 int arg5
= (int) -1 ;
19965 bool temp3
= False
;
19966 PyObject
* obj0
= 0 ;
19967 PyObject
* obj2
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19975 arg3
= wxString_in_helper(obj2
);
19976 if (arg3
== NULL
) SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= PyInt_FromLong((long)result
);
20001 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20005 PyObject
* obj0
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "self",(char *) "count", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
20011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 (arg1
)->SetItemCount(arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 Py_INCREF(Py_None
); resultobj
= Py_None
;
20026 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self",(char *) "dx",(char *) "dy", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= PyInt_FromLong((long)result
);
20053 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
;
20055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20057 wxColour
*arg3
= 0 ;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj2
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self",(char *) "item",(char *) "col", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20069 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 Py_INCREF(Py_None
); resultobj
= Py_None
;
20085 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self",(char *) "item", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 wxColour
* resultptr
;
20106 resultptr
= new wxColour((wxColour
&) result
);
20107 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20115 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20119 wxColour
*arg3
= 0 ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj2
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self",(char *) "item",(char *) "col", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20131 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20147 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self",(char *) "item", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20167 wxColour
* resultptr
;
20168 resultptr
= new wxColour((wxColour
&) result
);
20169 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20177 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20180 PyObject
*arg2
= (PyObject
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self",(char *) "func", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
20189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= PyInt_FromLong((long)result
);
20205 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= wxPyMake_wxObject(result
);
20232 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
20234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20235 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
20237 return Py_BuildValue((char *)"");
20239 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxWindow
*arg1
= (wxWindow
*) 0 ;
20242 int arg2
= (int) -1 ;
20243 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20244 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20245 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20246 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20247 long arg5
= (long) wxLC_REPORT
;
20248 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20249 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20250 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20251 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20252 wxListView
*result
;
20255 bool temp7
= False
;
20256 PyObject
* obj0
= 0 ;
20257 PyObject
* obj2
= 0 ;
20258 PyObject
* obj3
= 0 ;
20259 PyObject
* obj5
= 0 ;
20260 PyObject
* obj6
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20280 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20281 if (arg6
== NULL
) {
20282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20287 arg7
= wxString_in_helper(obj6
);
20288 if (arg7
== NULL
) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
20314 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxListView
*result
;
20317 char *kwnames
[] = {
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 result
= (wxListView
*)new wxListView();
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
20336 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxListView
*arg1
= (wxListView
*) 0 ;
20339 wxWindow
*arg2
= (wxWindow
*) 0 ;
20340 int arg3
= (int) -1 ;
20341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20343 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20344 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20345 long arg6
= (long) wxLC_REPORT
;
20346 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20347 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20348 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20349 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20353 bool temp8
= False
;
20354 PyObject
* obj0
= 0 ;
20355 PyObject
* obj1
= 0 ;
20356 PyObject
* obj3
= 0 ;
20357 PyObject
* obj4
= 0 ;
20358 PyObject
* obj6
= 0 ;
20359 PyObject
* obj7
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20380 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20381 if (arg7
== NULL
) {
20382 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20387 arg8
= wxString_in_helper(obj7
);
20388 if (arg8
== NULL
) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= PyInt_FromLong((long)result
);
20414 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
;
20416 wxListView
*arg1
= (wxListView
*) 0 ;
20418 bool arg3
= (bool) True
;
20419 PyObject
* obj0
= 0 ;
20420 PyObject
* obj2
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self",(char *) "n",(char *) "on", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20429 arg3
= (bool) SPyObj_AsBool(obj2
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 (arg1
)->Select(arg2
,arg3
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 Py_INCREF(Py_None
); resultobj
= Py_None
;
20447 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxListView
*arg1
= (wxListView
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self",(char *) "index", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
20457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 (arg1
)->Focus(arg2
);
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20465 Py_INCREF(Py_None
); resultobj
= Py_None
;
20472 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
;
20474 wxListView
*arg1
= (wxListView
*) 0 ;
20476 PyObject
* obj0
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 resultobj
= PyInt_FromLong((long)result
);
20497 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxListView
*arg1
= (wxListView
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "item", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20516 resultobj
= PyInt_FromLong((long)result
);
20523 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxListView
*arg1
= (wxListView
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= PyInt_FromLong((long)result
);
20548 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
;
20550 wxListView
*arg1
= (wxListView
*) 0 ;
20553 PyObject
* obj0
= 0 ;
20554 char *kwnames
[] = {
20555 (char *) "self",(char *) "index", NULL
20558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (bool)(arg1
)->IsSelected(arg2
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= PyInt_FromLong((long)result
);
20574 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxListView
*arg1
= (wxListView
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "col",(char *) "image", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 (arg1
)->SetColumnImage(arg2
,arg3
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 Py_INCREF(Py_None
); resultobj
= Py_None
;
20600 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxListView
*arg1
= (wxListView
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 char *kwnames
[] = {
20606 (char *) "self",(char *) "col", NULL
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
20610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 (arg1
)->ClearColumnImage(arg2
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
20627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20628 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
20630 return Py_BuildValue((char *)"");
20632 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
20633 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
20638 static PyObject
*_wrap_TreeCtrlNameStr_get() {
20643 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20645 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20652 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxTreeItemId
*result
;
20655 char *kwnames
[] = {
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 result
= (wxTreeItemId
*)new wxTreeItemId();
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
20674 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20675 PyObject
*resultobj
;
20676 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 Py_INCREF(Py_None
); resultobj
= Py_None
;
20698 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20702 PyObject
* obj0
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= PyInt_FromLong((long)result
);
20723 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20726 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self",(char *) "other", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= PyInt_FromLong((long)result
);
20751 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20754 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20756 PyObject
* obj0
= 0 ;
20757 PyObject
* obj1
= 0 ;
20758 char *kwnames
[] = {
20759 (char *) "self",(char *) "other", NULL
20762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= PyInt_FromLong((long)result
);
20779 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20782 void *arg2
= (void *) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self",(char *) "m_pItem", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20792 if (arg1
) (arg1
)->m_pItem
= arg2
;
20794 Py_INCREF(Py_None
); resultobj
= Py_None
;
20801 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20803 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20805 PyObject
* obj0
= 0 ;
20806 char *kwnames
[] = {
20807 (char *) "self", NULL
20810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20812 result
= (void *) ((arg1
)->m_pItem
);
20814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
20821 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20824 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20826 return Py_BuildValue((char *)"");
20828 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 PyObject
*arg1
= (PyObject
*) NULL
;
20831 wxPyTreeItemData
*result
;
20832 PyObject
* obj0
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "obj", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20855 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (PyObject
*)(arg1
)->GetData();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= result
;
20880 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20883 PyObject
*arg2
= (PyObject
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self",(char *) "obj", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 (arg1
)->SetData(arg2
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 Py_INCREF(Py_None
); resultobj
= Py_None
;
20907 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20910 wxTreeItemId
*result
;
20911 PyObject
* obj0
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20922 result
= (wxTreeItemId
*) &_result_ref
;
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20935 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20938 wxTreeItemId
*arg2
= 0 ;
20939 PyObject
* obj0
= 0 ;
20940 PyObject
* obj1
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self",(char *) "id", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20948 if (arg2
== NULL
) {
20949 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 Py_INCREF(Py_None
); resultobj
= Py_None
;
20965 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20968 PyObject
* obj0
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 wxPyTreeItemData_Destroy(arg1
);
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 Py_INCREF(Py_None
); resultobj
= Py_None
;
20989 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20992 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20994 return Py_BuildValue((char *)"");
20996 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20999 int arg2
= (int) 0 ;
21000 wxTreeEvent
*result
;
21001 char *kwnames
[] = {
21002 (char *) "commandType",(char *) "id", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
21020 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21023 wxTreeItemId result
;
21024 PyObject
* obj0
= 0 ;
21025 char *kwnames
[] = {
21026 (char *) "self", NULL
21029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 wxTreeItemId
* resultptr
;
21040 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21041 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21049 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21052 wxTreeItemId
*arg2
= 0 ;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self",(char *) "item", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 if (arg2
== NULL
) {
21063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 Py_INCREF(Py_None
); resultobj
= Py_None
;
21079 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21082 wxTreeItemId result
;
21083 PyObject
* obj0
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "self", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
21089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21098 wxTreeItemId
* resultptr
;
21099 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21100 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21108 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21111 wxTreeItemId
*arg2
= 0 ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self",(char *) "item", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21121 if (arg2
== NULL
) {
21122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 Py_INCREF(Py_None
); resultobj
= Py_None
;
21138 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21140 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21142 PyObject
* obj0
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21157 wxPoint
* resultptr
;
21158 resultptr
= new wxPoint((wxPoint
&) result
);
21159 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21167 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21170 wxPoint
*arg2
= 0 ;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self",(char *) "pt", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 Py_INCREF(Py_None
); resultobj
= Py_None
;
21198 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21201 wxKeyEvent
*result
;
21202 PyObject
* obj0
= 0 ;
21203 char *kwnames
[] = {
21204 (char *) "self", NULL
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
21208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
21213 result
= (wxKeyEvent
*) &_result_ref
;
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
21226 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21228 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21230 PyObject
* obj0
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= PyInt_FromLong((long)result
);
21251 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
;
21253 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21254 wxKeyEvent
*arg2
= 0 ;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self",(char *) "evt", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21264 if (arg2
== NULL
) {
21265 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21274 Py_INCREF(Py_None
); resultobj
= Py_None
;
21281 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
;
21283 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
21296 result
= (wxString
*) &_result_ref
;
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21306 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21315 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21318 wxString
*arg2
= 0 ;
21319 bool temp2
= False
;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self",(char *) "label", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21329 arg2
= wxString_in_helper(obj1
);
21330 if (arg2
== NULL
) SWIG_fail
;
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 (arg1
)->SetLabel((wxString
const &)*arg2
);
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 Py_INCREF(Py_None
); resultobj
= Py_None
;
21355 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21359 PyObject
* obj0
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= PyInt_FromLong((long)result
);
21380 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21382 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self",(char *) "editCancelled", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21393 arg2
= (bool) SPyObj_AsBool(obj1
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 (arg1
)->SetEditCanceled(arg2
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21413 wxString
*arg2
= 0 ;
21414 bool temp2
= False
;
21415 PyObject
* obj0
= 0 ;
21416 PyObject
* obj1
= 0 ;
21417 char *kwnames
[] = {
21418 (char *) "self",(char *) "toolTip", NULL
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
21422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21424 arg2
= wxString_in_helper(obj1
);
21425 if (arg2
== NULL
) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 (arg1
)->SetToolTip((wxString
const &)*arg2
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 Py_INCREF(Py_None
); resultobj
= Py_None
;
21450 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21453 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
21455 return Py_BuildValue((char *)"");
21457 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxWindow
*arg1
= (wxWindow
*) 0 ;
21460 int arg2
= (int) -1 ;
21461 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21462 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21463 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21464 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21465 long arg5
= (long) wxTR_DEFAULT_STYLE
;
21466 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21467 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21468 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
21469 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21470 wxPyTreeCtrl
*result
;
21473 bool temp7
= False
;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj2
= 0 ;
21476 PyObject
* obj3
= 0 ;
21477 PyObject
* obj5
= 0 ;
21478 PyObject
* obj6
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21488 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21494 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21498 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21499 if (arg6
== NULL
) {
21500 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21505 arg7
= wxString_in_helper(obj6
);
21506 if (arg7
== NULL
) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= wxPyMake_wxObject(result
);
21534 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxPyTreeCtrl
*result
;
21537 char *kwnames
[] = {
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= wxPyMake_wxObject(result
);
21558 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21561 wxWindow
*arg2
= (wxWindow
*) 0 ;
21562 int arg3
= (int) -1 ;
21563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21567 long arg6
= (long) wxTR_DEFAULT_STYLE
;
21568 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21569 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21570 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
21571 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21575 bool temp8
= False
;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj3
= 0 ;
21579 PyObject
* obj4
= 0 ;
21580 PyObject
* obj6
= 0 ;
21581 PyObject
* obj7
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
21587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21588 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21602 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21603 if (arg7
== NULL
) {
21604 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21609 arg8
= wxString_in_helper(obj7
);
21610 if (arg8
== NULL
) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= PyInt_FromLong((long)result
);
21636 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21639 PyObject
*arg2
= (PyObject
*) 0 ;
21640 PyObject
*arg3
= (PyObject
*) 0 ;
21641 PyObject
* obj0
= 0 ;
21642 PyObject
* obj1
= 0 ;
21643 PyObject
* obj2
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "self",(char *) "self",(char *) "_class", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
21676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21691 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21694 unsigned int result
;
21695 PyObject
* obj0
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21716 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21719 unsigned int arg2
;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self",(char *) "indent", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21729 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 (arg1
)->SetIndent(arg2
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 Py_INCREF(Py_None
); resultobj
= Py_None
;
21746 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21749 unsigned int result
;
21750 PyObject
* obj0
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21771 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21774 unsigned int arg2
;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self",(char *) "spacing", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21784 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 (arg1
)->SetSpacing(arg2
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 Py_INCREF(Py_None
); resultobj
= Py_None
;
21801 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21804 wxImageList
*result
;
21805 PyObject
* obj0
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
21811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= wxPyMake_wxObject(result
);
21828 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21831 wxImageList
*result
;
21832 PyObject
* obj0
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
21838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= wxPyMake_wxObject(result
);
21855 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21857 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21858 wxImageList
*arg2
= (wxImageList
*) 0 ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 char *kwnames
[] = {
21862 (char *) "self",(char *) "imageList", NULL
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 (arg1
)->SetImageList(arg2
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 Py_INCREF(Py_None
); resultobj
= Py_None
;
21882 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21885 wxImageList
*arg2
= (wxImageList
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self",(char *) "imageList", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 (arg1
)->SetStateImageList(arg2
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 Py_INCREF(Py_None
); resultobj
= Py_None
;
21909 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21912 wxImageList
*arg2
= (wxImageList
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self",(char *) "imageList", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21921 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 (arg1
)->AssignImageList(arg2
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 Py_INCREF(Py_None
); resultobj
= Py_None
;
21936 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21939 wxImageList
*arg2
= (wxImageList
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "imageList", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 (arg1
)->AssignStateImageList(arg2
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 Py_INCREF(Py_None
); resultobj
= Py_None
;
21963 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21966 wxTreeItemId
*arg2
= 0 ;
21968 PyObject
* obj0
= 0 ;
21969 PyObject
* obj1
= 0 ;
21970 char *kwnames
[] = {
21971 (char *) "self",(char *) "item", NULL
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21977 if (arg2
== NULL
) {
21978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22000 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22003 wxTreeItemId
*arg2
= 0 ;
22004 int arg3
= (int) wxTreeItemIcon_Normal
;
22006 PyObject
* obj0
= 0 ;
22007 PyObject
* obj1
= 0 ;
22008 char *kwnames
[] = {
22009 (char *) "self",(char *) "item",(char *) "which", NULL
22012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22015 if (arg2
== NULL
) {
22016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= PyInt_FromLong((long)result
);
22032 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
;
22034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22035 wxTreeItemId
*arg2
= 0 ;
22036 wxPyTreeItemData
*result
;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "item", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22046 if (arg2
== NULL
) {
22047 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
22063 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
;
22065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22066 wxTreeItemId
*arg2
= 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self",(char *) "item", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
22075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22077 if (arg2
== NULL
) {
22078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= result
;
22094 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22097 wxTreeItemId
*arg2
= 0 ;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "item", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22108 if (arg2
== NULL
) {
22109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22119 wxColour
* resultptr
;
22120 resultptr
= new wxColour((wxColour
&) result
);
22121 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22129 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22132 wxTreeItemId
*arg2
= 0 ;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 char *kwnames
[] = {
22137 (char *) "self",(char *) "item", NULL
22140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22143 if (arg2
== NULL
) {
22144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22154 wxColour
* resultptr
;
22155 resultptr
= new wxColour((wxColour
&) result
);
22156 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22164 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
;
22166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22167 wxTreeItemId
*arg2
= 0 ;
22169 PyObject
* obj0
= 0 ;
22170 PyObject
* obj1
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self",(char *) "item", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22178 if (arg2
== NULL
) {
22179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22189 wxFont
* resultptr
;
22190 resultptr
= new wxFont((wxFont
&) result
);
22191 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
22199 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22202 wxTreeItemId
*arg2
= 0 ;
22203 wxString
*arg3
= 0 ;
22204 bool temp3
= False
;
22205 PyObject
* obj0
= 0 ;
22206 PyObject
* obj1
= 0 ;
22207 PyObject
* obj2
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "item",(char *) "text", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= wxString_in_helper(obj2
);
22220 if (arg3
== NULL
) SWIG_fail
;
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
22227 wxPyEndAllowThreads(__tstate
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22230 Py_INCREF(Py_None
); resultobj
= Py_None
;
22245 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
;
22247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22248 wxTreeItemId
*arg2
= 0 ;
22250 int arg4
= (int) wxTreeItemIcon_Normal
;
22251 PyObject
* obj0
= 0 ;
22252 PyObject
* obj1
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22260 if (arg2
== NULL
) {
22261 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 Py_INCREF(Py_None
); resultobj
= Py_None
;
22277 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22280 wxTreeItemId
*arg2
= 0 ;
22281 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 PyObject
* obj1
= 0 ;
22284 PyObject
* obj2
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self",(char *) "item",(char *) "data", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22292 if (arg2
== NULL
) {
22293 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22295 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 Py_INCREF(Py_None
); resultobj
= Py_None
;
22310 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
;
22312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22313 wxTreeItemId
*arg2
= 0 ;
22314 PyObject
*arg3
= (PyObject
*) 0 ;
22315 PyObject
* obj0
= 0 ;
22316 PyObject
* obj1
= 0 ;
22317 PyObject
* obj2
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self",(char *) "item",(char *) "obj", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22325 if (arg2
== NULL
) {
22326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 Py_INCREF(Py_None
); resultobj
= Py_None
;
22343 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22346 wxTreeItemId
*arg2
= 0 ;
22347 bool arg3
= (bool) True
;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 PyObject
* obj2
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self",(char *) "item",(char *) "has", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22358 if (arg2
== NULL
) {
22359 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22363 arg3
= (bool) SPyObj_AsBool(obj2
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 Py_INCREF(Py_None
); resultobj
= Py_None
;
22381 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
;
22383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22384 wxTreeItemId
*arg2
= 0 ;
22385 bool arg3
= (bool) True
;
22386 PyObject
* obj0
= 0 ;
22387 PyObject
* obj1
= 0 ;
22388 PyObject
* obj2
= 0 ;
22389 char *kwnames
[] = {
22390 (char *) "self",(char *) "item",(char *) "bold", NULL
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22396 if (arg2
== NULL
) {
22397 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22401 arg3
= (bool) SPyObj_AsBool(obj2
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 Py_INCREF(Py_None
); resultobj
= Py_None
;
22419 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22422 wxTreeItemId
*arg2
= 0 ;
22423 bool arg3
= (bool) True
;
22424 PyObject
* obj0
= 0 ;
22425 PyObject
* obj1
= 0 ;
22426 PyObject
* obj2
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self",(char *) "item",(char *) "highlight", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22433 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22434 if (arg2
== NULL
) {
22435 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22439 arg3
= (bool) SPyObj_AsBool(obj2
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 Py_INCREF(Py_None
); resultobj
= Py_None
;
22457 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22460 wxTreeItemId
*arg2
= 0 ;
22461 wxColour
*arg3
= 0 ;
22463 PyObject
* obj0
= 0 ;
22464 PyObject
* obj1
= 0 ;
22465 PyObject
* obj2
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self",(char *) "item",(char *) "col", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22473 if (arg2
== NULL
) {
22474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22478 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 Py_INCREF(Py_None
); resultobj
= Py_None
;
22494 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22497 wxTreeItemId
*arg2
= 0 ;
22498 wxColour
*arg3
= 0 ;
22500 PyObject
* obj0
= 0 ;
22501 PyObject
* obj1
= 0 ;
22502 PyObject
* obj2
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "item",(char *) "col", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22510 if (arg2
== NULL
) {
22511 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22515 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 Py_INCREF(Py_None
); resultobj
= Py_None
;
22531 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22534 wxTreeItemId
*arg2
= 0 ;
22536 PyObject
* obj0
= 0 ;
22537 PyObject
* obj1
= 0 ;
22538 PyObject
* obj2
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "item",(char *) "font", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22546 if (arg2
== NULL
) {
22547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22549 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22550 if (arg3
== NULL
) {
22551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 Py_INCREF(Py_None
); resultobj
= Py_None
;
22567 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22570 wxTreeItemId
*arg2
= 0 ;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self",(char *) "item", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22581 if (arg2
== NULL
) {
22582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= PyInt_FromLong((long)result
);
22598 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22601 wxTreeItemId
*arg2
= 0 ;
22603 PyObject
* obj0
= 0 ;
22604 PyObject
* obj1
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self",(char *) "item", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22612 if (arg2
== NULL
) {
22613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= PyInt_FromLong((long)result
);
22629 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22632 wxTreeItemId
*arg2
= 0 ;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "item", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22643 if (arg2
== NULL
) {
22644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= PyInt_FromLong((long)result
);
22660 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
;
22662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22663 wxTreeItemId
*arg2
= 0 ;
22665 PyObject
* obj0
= 0 ;
22666 PyObject
* obj1
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self",(char *) "item", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22673 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22674 if (arg2
== NULL
) {
22675 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= PyInt_FromLong((long)result
);
22691 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
;
22693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22694 wxTreeItemId
*arg2
= 0 ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self",(char *) "item", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22705 if (arg2
== NULL
) {
22706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= PyInt_FromLong((long)result
);
22722 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22723 PyObject
*resultobj
;
22724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22725 wxTreeItemId
*arg2
= 0 ;
22726 bool arg3
= (bool) True
;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 PyObject
* obj2
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self",(char *) "item",(char *) "recursively", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22738 if (arg2
== NULL
) {
22739 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22743 arg3
= (bool) SPyObj_AsBool(obj2
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
22761 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22764 wxTreeItemId result
;
22765 PyObject
* obj0
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "self", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
22771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 wxTreeItemId
* resultptr
;
22781 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22782 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22790 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22793 wxTreeItemId result
;
22794 PyObject
* obj0
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
22800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22809 wxTreeItemId
* resultptr
;
22810 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22811 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22819 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22823 PyObject
* obj0
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
22829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= result
;
22844 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22847 wxTreeItemId
*arg2
= 0 ;
22848 wxTreeItemId result
;
22849 PyObject
* obj0
= 0 ;
22850 PyObject
* obj1
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self",(char *) "item", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22858 if (arg2
== NULL
) {
22859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 wxTreeItemId
* resultptr
;
22870 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22871 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22879 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22882 wxTreeItemId
*arg2
= 0 ;
22884 PyObject
* obj0
= 0 ;
22885 PyObject
* obj1
= 0 ;
22886 char *kwnames
[] = {
22887 (char *) "self",(char *) "item", NULL
22890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22893 if (arg2
== NULL
) {
22894 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= result
;
22910 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22913 wxTreeItemId
*arg2
= 0 ;
22914 void *arg3
= (void *) 0 ;
22916 PyObject
* obj0
= 0 ;
22917 PyObject
* obj1
= 0 ;
22918 PyObject
* obj2
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "self",(char *) "item",(char *) "cookie", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22926 if (arg2
== NULL
) {
22927 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22929 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= result
;
22944 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22947 wxTreeItemId
*arg2
= 0 ;
22948 wxTreeItemId result
;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self",(char *) "item", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22958 if (arg2
== NULL
) {
22959 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22969 wxTreeItemId
* resultptr
;
22970 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22971 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22979 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
;
22981 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22982 wxTreeItemId
*arg2
= 0 ;
22983 wxTreeItemId result
;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self",(char *) "item", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22993 if (arg2
== NULL
) {
22994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23004 wxTreeItemId
* resultptr
;
23005 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23006 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23014 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
;
23016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23017 wxTreeItemId
*arg2
= 0 ;
23018 wxTreeItemId result
;
23019 PyObject
* obj0
= 0 ;
23020 PyObject
* obj1
= 0 ;
23021 char *kwnames
[] = {
23022 (char *) "self",(char *) "item", NULL
23025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
23026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23028 if (arg2
== NULL
) {
23029 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23039 wxTreeItemId
* resultptr
;
23040 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23041 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23049 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23052 wxTreeItemId result
;
23053 PyObject
* obj0
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23068 wxTreeItemId
* resultptr
;
23069 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23070 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23078 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23081 wxTreeItemId
*arg2
= 0 ;
23082 wxTreeItemId result
;
23083 PyObject
* obj0
= 0 ;
23084 PyObject
* obj1
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self",(char *) "item", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23092 if (arg2
== NULL
) {
23093 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23103 wxTreeItemId
* resultptr
;
23104 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23113 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23116 wxTreeItemId
*arg2
= 0 ;
23117 wxTreeItemId result
;
23118 PyObject
* obj0
= 0 ;
23119 PyObject
* obj1
= 0 ;
23120 char *kwnames
[] = {
23121 (char *) "self",(char *) "item", NULL
23124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23127 if (arg2
== NULL
) {
23128 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23138 wxTreeItemId
* resultptr
;
23139 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23140 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23148 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23151 wxString
*arg2
= 0 ;
23152 int arg3
= (int) -1 ;
23153 int arg4
= (int) -1 ;
23154 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
23155 wxTreeItemId result
;
23156 bool temp2
= False
;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 PyObject
* obj4
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23167 arg2
= wxString_in_helper(obj1
);
23168 if (arg2
== NULL
) SWIG_fail
;
23172 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 wxTreeItemId
* resultptr
;
23183 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23184 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23200 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23203 wxTreeItemId
*arg2
= 0 ;
23204 wxString
*arg3
= 0 ;
23205 int arg4
= (int) -1 ;
23206 int arg5
= (int) -1 ;
23207 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
23208 wxTreeItemId result
;
23209 bool temp3
= False
;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 PyObject
* obj2
= 0 ;
23213 PyObject
* obj5
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
23219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23221 if (arg2
== NULL
) {
23222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23225 arg3
= wxString_in_helper(obj2
);
23226 if (arg3
== NULL
) SWIG_fail
;
23230 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23240 wxTreeItemId
* resultptr
;
23241 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23242 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23258 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23261 wxTreeItemId
*arg2
= 0 ;
23262 wxTreeItemId
*arg3
= 0 ;
23263 wxString
*arg4
= 0 ;
23264 int arg5
= (int) -1 ;
23265 int arg6
= (int) -1 ;
23266 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
23267 wxTreeItemId result
;
23268 bool temp4
= False
;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 PyObject
* obj2
= 0 ;
23272 PyObject
* obj3
= 0 ;
23273 PyObject
* obj6
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) 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
;
23284 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23285 if (arg3
== NULL
) {
23286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23289 arg4
= wxString_in_helper(obj3
);
23290 if (arg4
== NULL
) SWIG_fail
;
23294 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23304 wxTreeItemId
* resultptr
;
23305 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23306 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23322 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23325 wxTreeItemId
*arg2
= 0 ;
23327 wxString
*arg4
= 0 ;
23328 int arg5
= (int) -1 ;
23329 int arg6
= (int) -1 ;
23330 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
23331 wxTreeItemId result
;
23332 bool temp4
= False
;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 PyObject
* obj2
= 0 ;
23336 PyObject
* obj3
= 0 ;
23337 PyObject
* obj6
= 0 ;
23338 char *kwnames
[] = {
23339 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
23343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23345 if (arg2
== NULL
) {
23346 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23349 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23353 arg4
= wxString_in_helper(obj3
);
23354 if (arg4
== NULL
) SWIG_fail
;
23358 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23368 wxTreeItemId
* resultptr
;
23369 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23370 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23386 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23389 wxTreeItemId
*arg2
= 0 ;
23390 wxString
*arg3
= 0 ;
23391 int arg4
= (int) -1 ;
23392 int arg5
= (int) -1 ;
23393 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
23394 wxTreeItemId result
;
23395 bool temp3
= False
;
23396 PyObject
* obj0
= 0 ;
23397 PyObject
* obj1
= 0 ;
23398 PyObject
* obj2
= 0 ;
23399 PyObject
* obj5
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23407 if (arg2
== NULL
) {
23408 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23411 arg3
= wxString_in_helper(obj2
);
23412 if (arg3
== NULL
) SWIG_fail
;
23416 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23426 wxTreeItemId
* resultptr
;
23427 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23428 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23444 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23447 wxTreeItemId
*arg2
= 0 ;
23448 PyObject
* obj0
= 0 ;
23449 PyObject
* obj1
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self",(char *) "item", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23457 if (arg2
== NULL
) {
23458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 Py_INCREF(Py_None
); resultobj
= Py_None
;
23474 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23477 wxTreeItemId
*arg2
= 0 ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self",(char *) "item", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23487 if (arg2
== NULL
) {
23488 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 Py_INCREF(Py_None
); resultobj
= Py_None
;
23504 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 (arg1
)->DeleteAllItems();
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 Py_INCREF(Py_None
); resultobj
= Py_None
;
23528 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23531 wxTreeItemId
*arg2
= 0 ;
23532 PyObject
* obj0
= 0 ;
23533 PyObject
* obj1
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self",(char *) "item", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23541 if (arg2
== NULL
) {
23542 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 Py_INCREF(Py_None
); resultobj
= Py_None
;
23558 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23561 wxTreeItemId
*arg2
= 0 ;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self",(char *) "item", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
23569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23570 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23571 if (arg2
== NULL
) {
23572 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 Py_INCREF(Py_None
); resultobj
= Py_None
;
23588 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23591 wxTreeItemId
*arg2
= 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "item", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23601 if (arg2
== NULL
) {
23602 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 Py_INCREF(Py_None
); resultobj
= Py_None
;
23618 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23621 wxTreeItemId
*arg2
= 0 ;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 char *kwnames
[] = {
23625 (char *) "self",(char *) "item", NULL
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
23629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23631 if (arg2
== NULL
) {
23632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 Py_INCREF(Py_None
); resultobj
= Py_None
;
23648 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
;
23650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23651 PyObject
* obj0
= 0 ;
23652 char *kwnames
[] = {
23653 (char *) "self", NULL
23656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
23657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 (arg1
)->Unselect();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 Py_INCREF(Py_None
); resultobj
= Py_None
;
23672 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 (arg1
)->UnselectAll();
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23689 Py_INCREF(Py_None
); resultobj
= Py_None
;
23696 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23697 PyObject
*resultobj
;
23698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23699 wxTreeItemId
*arg2
= 0 ;
23700 PyObject
* obj0
= 0 ;
23701 PyObject
* obj1
= 0 ;
23702 char *kwnames
[] = {
23703 (char *) "self",(char *) "item", NULL
23706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23709 if (arg2
== NULL
) {
23710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 Py_INCREF(Py_None
); resultobj
= Py_None
;
23726 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23729 wxTreeItemId
*arg2
= 0 ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "item", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23738 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23739 if (arg2
== NULL
) {
23740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 Py_INCREF(Py_None
); resultobj
= Py_None
;
23756 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23759 wxTreeItemId
*arg2
= 0 ;
23760 PyObject
* obj0
= 0 ;
23761 PyObject
* obj1
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self",(char *) "item", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23769 if (arg2
== NULL
) {
23770 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 Py_INCREF(Py_None
); resultobj
= Py_None
;
23786 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23789 wxTreeItemId
*arg2
= 0 ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self",(char *) "item", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23798 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23799 if (arg2
== NULL
) {
23800 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 Py_INCREF(Py_None
); resultobj
= Py_None
;
23816 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23819 wxTextCtrl
*result
;
23820 PyObject
* obj0
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "self", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
23826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= wxPyMake_wxObject(result
);
23843 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23846 wxTreeItemId
*arg2
= 0 ;
23847 bool arg3
= (bool) False
;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 PyObject
* obj2
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23858 if (arg2
== NULL
) {
23859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23863 arg3
= (bool) SPyObj_AsBool(obj2
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 Py_INCREF(Py_None
); resultobj
= Py_None
;
23881 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23884 wxTreeItemId
*arg2
= 0 ;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "self",(char *) "item", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23893 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23894 if (arg2
== NULL
) {
23895 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 Py_INCREF(Py_None
); resultobj
= Py_None
;
23911 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23914 wxPoint
*arg2
= 0 ;
23916 wxTreeItemId result
;
23919 PyObject
* obj0
= 0 ;
23920 PyObject
* obj1
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self",(char *) "point", NULL
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23930 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 wxTreeItemId
* resultptr
;
23941 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23942 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23945 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23946 resultobj
= t_output_helper(resultobj
,o
);
23954 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23957 wxTreeItemId
*arg2
= 0 ;
23958 bool arg3
= (bool) False
;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 PyObject
* obj2
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23970 if (arg2
== NULL
) {
23971 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23975 arg3
= (bool) SPyObj_AsBool(obj2
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23986 resultobj
= result
;
23993 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23996 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23998 return Py_BuildValue((char *)"");
24000 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
24001 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
24006 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
24011 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
24013 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
24020 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 wxWindow
*arg1
= (wxWindow
*) 0 ;
24023 int arg2
= (int) (int)-1 ;
24024 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
24025 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24026 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24027 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24028 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24029 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24030 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
24031 wxString
const &arg7_defvalue
= wxPyEmptyString
;
24032 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24033 int arg8
= (int) 0 ;
24034 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
24035 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24036 wxGenericDirCtrl
*result
;
24037 bool temp3
= False
;
24040 bool temp7
= False
;
24041 bool temp9
= False
;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj2
= 0 ;
24044 PyObject
* obj3
= 0 ;
24045 PyObject
* obj4
= 0 ;
24046 PyObject
* obj6
= 0 ;
24047 PyObject
* obj8
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24056 arg3
= wxString_in_helper(obj2
);
24057 if (arg3
== NULL
) SWIG_fail
;
24064 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24070 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24075 arg7
= wxString_in_helper(obj6
);
24076 if (arg7
== NULL
) SWIG_fail
;
24082 arg9
= wxString_in_helper(obj8
);
24083 if (arg9
== NULL
) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
24125 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxGenericDirCtrl
*result
;
24128 char *kwnames
[] = {
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
24147 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24150 wxWindow
*arg2
= (wxWindow
*) 0 ;
24151 int arg3
= (int) (int)-1 ;
24152 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
24153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24154 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
24155 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
24156 wxSize
const &arg6_defvalue
= wxDefaultSize
;
24157 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
24158 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
24159 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24161 int arg9
= (int) 0 ;
24162 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
24163 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
24165 bool temp4
= False
;
24168 bool temp8
= False
;
24169 bool temp10
= False
;
24170 PyObject
* obj0
= 0 ;
24171 PyObject
* obj1
= 0 ;
24172 PyObject
* obj3
= 0 ;
24173 PyObject
* obj4
= 0 ;
24174 PyObject
* obj5
= 0 ;
24175 PyObject
* obj7
= 0 ;
24176 PyObject
* obj9
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
24182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24186 arg4
= wxString_in_helper(obj3
);
24187 if (arg4
== NULL
) SWIG_fail
;
24194 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
24200 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
24205 arg8
= wxString_in_helper(obj7
);
24206 if (arg8
== NULL
) SWIG_fail
;
24212 arg10
= wxString_in_helper(obj9
);
24213 if (arg10
== NULL
) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= PyInt_FromLong((long)result
);
24255 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24258 wxString
*arg2
= 0 ;
24260 bool temp2
= False
;
24261 PyObject
* obj0
= 0 ;
24262 PyObject
* obj1
= 0 ;
24263 char *kwnames
[] = {
24264 (char *) "self",(char *) "path", NULL
24267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24270 arg2
= wxString_in_helper(obj1
);
24271 if (arg2
== NULL
) SWIG_fail
;
24275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= PyInt_FromLong((long)result
);
24296 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
24306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24327 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24330 wxString
*arg2
= 0 ;
24331 bool temp2
= False
;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "self",(char *) "path", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24341 arg2
= wxString_in_helper(obj1
);
24342 if (arg2
== NULL
) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 Py_INCREF(Py_None
); resultobj
= Py_None
;
24367 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
;
24369 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24371 PyObject
* obj0
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
24377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24398 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24402 PyObject
* obj0
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
24408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24429 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24432 wxString
*arg2
= 0 ;
24433 bool temp2
= False
;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self",(char *) "path", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24443 arg2
= wxString_in_helper(obj1
);
24444 if (arg2
== NULL
) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 (arg1
)->SetPath((wxString
const &)*arg2
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 Py_INCREF(Py_None
); resultobj
= Py_None
;
24469 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
;
24471 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24473 PyObject
* obj0
= 0 ;
24474 PyObject
* obj1
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self",(char *) "show", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
24480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24482 arg2
= (bool) SPyObj_AsBool(obj1
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 (arg1
)->ShowHidden(arg2
);
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 Py_INCREF(Py_None
); resultobj
= Py_None
;
24499 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 result
= (bool)(arg1
)->GetShowHidden();
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= PyInt_FromLong((long)result
);
24524 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
;
24526 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
24534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24555 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24558 wxString
*arg2
= 0 ;
24559 bool temp2
= False
;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self",(char *) "filter", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
24567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24569 arg2
= wxString_in_helper(obj1
);
24570 if (arg2
== NULL
) SWIG_fail
;
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 (arg1
)->SetFilter((wxString
const &)*arg2
);
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 Py_INCREF(Py_None
); resultobj
= Py_None
;
24595 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24596 PyObject
*resultobj
;
24597 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
24605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= PyInt_FromLong((long)result
);
24620 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24622 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "n", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
24630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->SetFilterIndex(arg2
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 Py_INCREF(Py_None
); resultobj
= Py_None
;
24645 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
;
24647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24648 wxTreeItemId result
;
24649 PyObject
* obj0
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
24655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (arg1
)->GetRootId();
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24664 wxTreeItemId
* resultptr
;
24665 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24666 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24674 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24677 wxPyTreeCtrl
*result
;
24678 PyObject
* obj0
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= wxPyMake_wxObject(result
);
24701 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
;
24703 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24704 wxDirFilterListCtrl
*result
;
24705 PyObject
* obj0
= 0 ;
24706 char *kwnames
[] = {
24707 (char *) "self", NULL
24710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
24711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
24726 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
;
24728 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24729 wxTreeItemId arg2
;
24730 wxString
*arg3
= 0 ;
24732 wxTreeItemId result
;
24733 wxTreeItemId
*argp2
;
24734 bool temp3
= False
;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 PyObject
* obj2
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self",(char *) "parentId",(char *) "path", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24746 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
24749 arg3
= wxString_in_helper(obj2
);
24750 if (arg3
== NULL
) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24761 wxTreeItemId
* resultptr
;
24762 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24763 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24766 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24767 resultobj
= t_output_helper(resultobj
,o
);
24783 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
;
24785 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24786 PyObject
* obj0
= 0 ;
24787 char *kwnames
[] = {
24788 (char *) "self", NULL
24791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
24792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 (arg1
)->DoResize();
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 Py_INCREF(Py_None
); resultobj
= Py_None
;
24807 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 (arg1
)->ReCreateTree();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 Py_INCREF(Py_None
); resultobj
= Py_None
;
24831 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24834 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
24836 return Py_BuildValue((char *)"");
24838 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24841 int arg2
= (int) (int)-1 ;
24842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24846 long arg5
= (long) 0 ;
24847 wxDirFilterListCtrl
*result
;
24850 PyObject
* obj0
= 0 ;
24851 PyObject
* obj2
= 0 ;
24852 PyObject
* obj3
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24868 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24885 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxDirFilterListCtrl
*result
;
24888 char *kwnames
[] = {
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24907 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24910 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24911 int arg3
= (int) (int)-1 ;
24912 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24913 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24914 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24915 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24916 long arg6
= (long) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 PyObject
* obj1
= 0 ;
24922 PyObject
* obj3
= 0 ;
24923 PyObject
* obj4
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= PyInt_FromLong((long)result
);
24957 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
;
24959 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24960 wxString
*arg2
= 0 ;
24962 bool temp2
= False
;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 char *kwnames
[] = {
24966 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24972 arg2
= wxString_in_helper(obj1
);
24973 if (arg2
== NULL
) SWIG_fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24983 Py_INCREF(Py_None
); resultobj
= Py_None
;
24998 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
25000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25001 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
25003 return Py_BuildValue((char *)"");
25005 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxWindow
*arg1
= (wxWindow
*) 0 ;
25009 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25010 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25011 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25012 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25013 long arg5
= (long) 0 ;
25014 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25015 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25016 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
25017 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25018 wxPyControl
*result
;
25021 bool temp7
= False
;
25022 PyObject
* obj0
= 0 ;
25023 PyObject
* obj2
= 0 ;
25024 PyObject
* obj3
= 0 ;
25025 PyObject
* obj5
= 0 ;
25026 PyObject
* obj6
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
25032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25046 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25047 if (arg6
== NULL
) {
25048 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25053 arg7
= wxString_in_helper(obj6
);
25054 if (arg7
== NULL
) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
25080 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25083 PyObject
*arg2
= (PyObject
*) 0 ;
25084 PyObject
*arg3
= (PyObject
*) 0 ;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 PyObject
* obj2
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "self",(char *) "_class", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 Py_INCREF(Py_None
); resultobj
= Py_None
;
25110 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
25123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 Py_INCREF(Py_None
); resultobj
= Py_None
;
25138 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25145 int arg6
= (int) wxSIZE_AUTO
;
25146 PyObject
* obj0
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 Py_INCREF(Py_None
); resultobj
= Py_None
;
25167 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25172 PyObject
* obj0
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self",(char *) "width",(char *) "height", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 Py_INCREF(Py_None
); resultobj
= Py_None
;
25193 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25198 PyObject
* obj0
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "self",(char *) "x",(char *) "y", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
25204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
25209 wxPyEndAllowThreads(__tstate
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25212 Py_INCREF(Py_None
); resultobj
= Py_None
;
25219 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25220 PyObject
*resultobj
;
25221 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25222 int *arg2
= (int *) 0 ;
25223 int *arg3
= (int *) 0 ;
25226 PyObject
* obj0
= 0 ;
25227 char *kwnames
[] = {
25228 (char *) "self", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
25234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 Py_INCREF(Py_None
); resultobj
= Py_None
;
25244 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25245 resultobj
= t_output_helper(resultobj
,o
);
25248 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25249 resultobj
= t_output_helper(resultobj
,o
);
25257 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25260 int *arg2
= (int *) 0 ;
25261 int *arg3
= (int *) 0 ;
25264 PyObject
* obj0
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "self", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
25272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25283 resultobj
= t_output_helper(resultobj
,o
);
25286 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25287 resultobj
= t_output_helper(resultobj
,o
);
25295 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25298 int *arg2
= (int *) 0 ;
25299 int *arg3
= (int *) 0 ;
25302 PyObject
* obj0
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
25310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 Py_INCREF(Py_None
); resultobj
= Py_None
;
25320 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25321 resultobj
= t_output_helper(resultobj
,o
);
25324 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25325 resultobj
= t_output_helper(resultobj
,o
);
25333 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25337 PyObject
* obj0
= 0 ;
25338 char *kwnames
[] = {
25339 (char *) "self", NULL
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
25343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25352 wxSize
* resultptr
;
25353 resultptr
= new wxSize((wxSize
&) result
);
25354 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25362 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
;
25364 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25366 PyObject
* obj0
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
25372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25381 wxSize
* resultptr
;
25382 resultptr
= new wxSize((wxSize
&) result
);
25383 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25391 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
;
25393 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25394 PyObject
* obj0
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
25400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 (arg1
)->base_InitDialog();
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 Py_INCREF(Py_None
); resultobj
= Py_None
;
25415 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25419 PyObject
* obj0
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 result
= (bool)(arg1
)->base_TransferDataToWindow();
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= PyInt_FromLong((long)result
);
25440 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
;
25442 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 result
= (bool)(arg1
)->base_TransferDataFromWindow();
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= PyInt_FromLong((long)result
);
25465 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
;
25467 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
25475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (bool)(arg1
)->base_Validate();
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= PyInt_FromLong((long)result
);
25490 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= PyInt_FromLong((long)result
);
25515 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25519 PyObject
* obj0
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= PyInt_FromLong((long)result
);
25540 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
25550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 wxSize
* resultptr
;
25560 resultptr
= new wxSize((wxSize
&) result
);
25561 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25569 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
;
25571 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25572 wxWindow
*arg2
= (wxWindow
*) 0 ;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "child", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 (arg1
)->base_AddChild(arg2
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 Py_INCREF(Py_None
); resultobj
= Py_None
;
25596 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25599 wxWindow
*arg2
= (wxWindow
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 PyObject
* obj1
= 0 ;
25602 char *kwnames
[] = {
25603 (char *) "self",(char *) "child", NULL
25606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 (arg1
)->base_RemoveChild(arg2
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 Py_INCREF(Py_None
); resultobj
= Py_None
;
25623 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
25625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25626 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
25628 return Py_BuildValue((char *)"");
25630 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25632 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25633 int arg2
= (int) 0 ;
25634 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25635 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25636 wxHelpEvent
*result
;
25638 PyObject
* obj2
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "type",(char *) "winid",(char *) "pt", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
25647 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
25664 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
;
25666 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25668 PyObject
* obj0
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
25674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
25679 result
= (wxPoint
*) &_result_ref
;
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
25692 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
;
25694 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25695 wxPoint
*arg2
= 0 ;
25697 PyObject
* obj0
= 0 ;
25698 PyObject
* obj1
= 0 ;
25699 char *kwnames
[] = {
25700 (char *) "self",(char *) "pos", NULL
25703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 Py_INCREF(Py_None
); resultobj
= Py_None
;
25723 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25727 PyObject
* obj0
= 0 ;
25728 char *kwnames
[] = {
25729 (char *) "self", NULL
25732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
25733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
25738 result
= (wxString
*) &_result_ref
;
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25748 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25757 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
;
25759 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25760 wxString
*arg2
= 0 ;
25761 bool temp2
= False
;
25762 PyObject
* obj0
= 0 ;
25763 PyObject
* obj1
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self",(char *) "link", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
25769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25771 arg2
= wxString_in_helper(obj1
);
25772 if (arg2
== NULL
) SWIG_fail
;
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 (arg1
)->SetLink((wxString
const &)*arg2
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 Py_INCREF(Py_None
); resultobj
= Py_None
;
25797 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25801 PyObject
* obj0
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self", NULL
25806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
25807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
25812 result
= (wxString
*) &_result_ref
;
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25822 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25831 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
;
25833 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25834 wxString
*arg2
= 0 ;
25835 bool temp2
= False
;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 char *kwnames
[] = {
25839 (char *) "self",(char *) "target", NULL
25842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
25843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25845 arg2
= wxString_in_helper(obj1
);
25846 if (arg2
== NULL
) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 (arg1
)->SetTarget((wxString
const &)*arg2
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 Py_INCREF(Py_None
); resultobj
= Py_None
;
25871 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25874 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
25876 return Py_BuildValue((char *)"");
25878 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxWindow
*arg1
= (wxWindow
*) NULL
;
25881 bool arg2
= (bool) True
;
25882 wxContextHelp
*result
;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "window",(char *) "doNow", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25895 arg2
= (bool) SPyObj_AsBool(obj1
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25913 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25916 PyObject
* obj0
= 0 ;
25917 char *kwnames
[] = {
25918 (char *) "self", NULL
25921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 Py_INCREF(Py_None
); resultobj
= Py_None
;
25937 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25938 PyObject
*resultobj
;
25939 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25940 wxWindow
*arg2
= (wxWindow
*) NULL
;
25942 PyObject
* obj0
= 0 ;
25943 PyObject
* obj1
= 0 ;
25944 char *kwnames
[] = {
25945 (char *) "self",(char *) "window", NULL
25948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= PyInt_FromLong((long)result
);
25967 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25968 PyObject
*resultobj
;
25969 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25971 PyObject
* obj0
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 result
= (bool)(arg1
)->EndContextHelp();
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= PyInt_FromLong((long)result
);
25992 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25995 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25997 return Py_BuildValue((char *)"");
25999 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
;
26001 wxWindow
*arg1
= (wxWindow
*) 0 ;
26002 int arg2
= (int) wxID_CONTEXT_HELP
;
26003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26007 long arg5
= (long) wxBU_AUTODRAW
;
26008 wxContextHelpButton
*result
;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj2
= 0 ;
26013 PyObject
* obj3
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
26046 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
26048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26049 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
26051 return Py_BuildValue((char *)"");
26053 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
;
26055 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26056 wxHelpProvider
*result
;
26057 PyObject
* obj0
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "helpProvider", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
26063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
26078 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxHelpProvider
*result
;
26081 char *kwnames
[] = {
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= (wxHelpProvider
*)wxHelpProvider::Get();
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
26100 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26103 wxWindow
*arg2
= (wxWindow
*) 0 ;
26105 PyObject
* obj0
= 0 ;
26106 PyObject
* obj1
= 0 ;
26107 char *kwnames
[] = {
26108 (char *) "self",(char *) "window", NULL
26111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
26112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26113 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26134 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26137 wxWindow
*arg2
= (wxWindow
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "window", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
26146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 result
= (bool)(arg1
)->ShowHelp(arg2
);
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= PyInt_FromLong((long)result
);
26162 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
;
26164 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26165 wxWindow
*arg2
= (wxWindow
*) 0 ;
26166 wxString
*arg3
= 0 ;
26167 bool temp3
= False
;
26168 PyObject
* obj0
= 0 ;
26169 PyObject
* obj1
= 0 ;
26170 PyObject
* obj2
= 0 ;
26171 char *kwnames
[] = {
26172 (char *) "self",(char *) "window",(char *) "text", NULL
26175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26179 arg3
= wxString_in_helper(obj2
);
26180 if (arg3
== NULL
) SWIG_fail
;
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 Py_INCREF(Py_None
); resultobj
= Py_None
;
26205 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
;
26207 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26209 wxString
*arg3
= 0 ;
26210 bool temp3
= False
;
26211 PyObject
* obj0
= 0 ;
26212 PyObject
* obj2
= 0 ;
26213 char *kwnames
[] = {
26214 (char *) "self",(char *) "id",(char *) "text", NULL
26217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26220 arg3
= wxString_in_helper(obj2
);
26221 if (arg3
== NULL
) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 Py_INCREF(Py_None
); resultobj
= Py_None
;
26246 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 wxHelpProvider_Destroy(arg1
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 Py_INCREF(Py_None
); resultobj
= Py_None
;
26270 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
26272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26273 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
26275 return Py_BuildValue((char *)"");
26277 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxSimpleHelpProvider
*result
;
26280 char *kwnames
[] = {
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
26299 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
26301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26302 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
26304 return Py_BuildValue((char *)"");
26306 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxBitmap
*arg1
= 0 ;
26309 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26310 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26311 wxGenericDragImage
*result
;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "image",(char *) "cursor", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26320 if (arg1
== NULL
) {
26321 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26325 if (arg2
== NULL
) {
26326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26343 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26346 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26347 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26348 wxGenericDragImage
*result
;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "image",(char *) "cursor", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26357 if (arg1
== NULL
) {
26358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26362 if (arg2
== NULL
) {
26363 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26380 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxString
*arg1
= 0 ;
26383 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26384 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26385 wxGenericDragImage
*result
;
26386 bool temp1
= False
;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 char *kwnames
[] = {
26390 (char *) "str",(char *) "cursor", NULL
26393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
26395 arg1
= wxString_in_helper(obj0
);
26396 if (arg1
== NULL
) SWIG_fail
;
26400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26401 if (arg2
== NULL
) {
26402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26427 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxPyTreeCtrl
*arg1
= 0 ;
26430 wxTreeItemId
*arg2
= 0 ;
26431 wxGenericDragImage
*result
;
26432 PyObject
* obj0
= 0 ;
26433 PyObject
* obj1
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "treeCtrl",(char *) "id", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26440 if (arg1
== NULL
) {
26441 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26443 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26444 if (arg2
== NULL
) {
26445 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26461 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxPyListCtrl
*arg1
= 0 ;
26465 wxGenericDragImage
*result
;
26466 PyObject
* obj0
= 0 ;
26467 char *kwnames
[] = {
26468 (char *) "listCtrl",(char *) "id", NULL
26471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
26472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26473 if (arg1
== NULL
) {
26474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26490 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26491 PyObject
*resultobj
;
26492 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26493 PyObject
* obj0
= 0 ;
26494 char *kwnames
[] = {
26495 (char *) "self", NULL
26498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
26499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 Py_INCREF(Py_None
); resultobj
= Py_None
;
26514 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
;
26516 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26517 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 char *kwnames
[] = {
26521 (char *) "self",(char *) "bitmap", NULL
26524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
26525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26526 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 (arg1
)->SetBackingBitmap(arg2
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 Py_INCREF(Py_None
); resultobj
= Py_None
;
26541 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26544 wxPoint
*arg2
= 0 ;
26545 wxWindow
*arg3
= (wxWindow
*) 0 ;
26546 bool arg4
= (bool) False
;
26547 wxRect
*arg5
= (wxRect
*) NULL
;
26550 PyObject
* obj0
= 0 ;
26551 PyObject
* obj1
= 0 ;
26552 PyObject
* obj2
= 0 ;
26553 PyObject
* obj3
= 0 ;
26554 PyObject
* obj4
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26565 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26568 arg4
= (bool) SPyObj_AsBool(obj3
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26573 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= PyInt_FromLong((long)result
);
26589 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26590 PyObject
*resultobj
;
26591 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26592 wxPoint
*arg2
= 0 ;
26593 wxWindow
*arg3
= (wxWindow
*) 0 ;
26594 wxWindow
*arg4
= (wxWindow
*) 0 ;
26597 PyObject
* obj0
= 0 ;
26598 PyObject
* obj1
= 0 ;
26599 PyObject
* obj2
= 0 ;
26600 PyObject
* obj3
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26609 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26611 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26612 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 resultobj
= PyInt_FromLong((long)result
);
26627 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
26637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 result
= (bool)(arg1
)->EndDrag();
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= PyInt_FromLong((long)result
);
26652 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
;
26654 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26655 wxPoint
*arg2
= 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 char *kwnames
[] = {
26661 (char *) "self",(char *) "pt", NULL
26664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
26665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= PyInt_FromLong((long)result
);
26684 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26688 PyObject
* obj0
= 0 ;
26689 char *kwnames
[] = {
26690 (char *) "self", NULL
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
26694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= (bool)(arg1
)->Show();
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= PyInt_FromLong((long)result
);
26709 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26713 PyObject
* obj0
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (bool)(arg1
)->Hide();
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= PyInt_FromLong((long)result
);
26734 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26735 PyObject
*resultobj
;
26736 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26737 wxPoint
*arg2
= 0 ;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "self",(char *) "pos", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26760 wxRect
* resultptr
;
26761 resultptr
= new wxRect((wxRect
&) result
);
26762 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
26770 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
;
26772 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26774 wxPoint
*arg3
= 0 ;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 PyObject
* obj2
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self",(char *) "dc",(char *) "pos", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26787 if (arg2
== NULL
) {
26788 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26792 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= PyInt_FromLong((long)result
);
26808 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26812 wxMemoryDC
*arg3
= 0 ;
26818 PyObject
* obj0
= 0 ;
26819 PyObject
* obj1
= 0 ;
26820 PyObject
* obj2
= 0 ;
26821 PyObject
* obj3
= 0 ;
26822 PyObject
* obj4
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26829 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26830 if (arg2
== NULL
) {
26831 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26833 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26834 if (arg3
== NULL
) {
26835 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26839 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26843 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= PyInt_FromLong((long)result
);
26859 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26862 wxPoint
*arg2
= 0 ;
26863 wxPoint
*arg3
= 0 ;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 PyObject
* obj2
= 0 ;
26872 PyObject
* obj3
= 0 ;
26873 PyObject
* obj4
= 0 ;
26874 char *kwnames
[] = {
26875 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26886 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26889 arg4
= (bool) SPyObj_AsBool(obj3
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26893 arg5
= (bool) SPyObj_AsBool(obj4
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= PyInt_FromLong((long)result
);
26910 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26913 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26915 return Py_BuildValue((char *)"");
26917 static PyMethodDef SwigMethods
[] = {
26918 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26926 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26941 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26952 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26961 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26979 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26992 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26996 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
27002 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
27006 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
27013 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
27032 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
27041 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
27042 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
27070 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
27125 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
27130 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
27141 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
27153 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
27164 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
27168 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
27185 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
27191 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
27216 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
27223 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
27243 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
27249 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
27259 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
27261 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
27266 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
27268 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
27273 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
27278 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
27308 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
27353 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
27358 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
27370 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27374 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
27378 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
27379 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27380 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
27381 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27383 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27384 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27386 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27387 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27397 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27398 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27400 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27401 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
27402 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
27404 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
27405 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27406 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
27412 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
27413 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
27414 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
27418 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
27421 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
27422 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
27423 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
27424 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
27425 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27426 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27427 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27428 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27429 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27430 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27431 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
27432 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
27433 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
27434 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27435 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
27436 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27437 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27438 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27439 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27440 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27441 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27442 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27443 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27444 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
27445 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
27446 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27447 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27448 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
27449 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27450 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27451 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27452 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27453 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27454 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27455 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27456 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27457 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27458 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27459 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
27460 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
27461 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27462 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27463 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27464 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27465 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27466 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27467 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27468 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27469 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27470 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27471 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27472 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27473 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
27474 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27475 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27476 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
27477 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27478 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27479 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27480 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27481 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
27482 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
27483 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
27484 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
27485 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27486 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27487 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27488 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
27489 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
27490 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
27491 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
27492 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
27493 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27494 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
27495 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
27496 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
27497 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27498 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27499 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27500 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
27501 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
27502 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
27503 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27504 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27505 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27506 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
27507 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27508 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
27509 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
27510 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27511 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
27512 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27513 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27514 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27515 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27516 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
27517 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
27518 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
27519 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
27520 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
27521 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
27522 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
27523 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
27524 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
27525 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
27526 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
27527 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27528 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27529 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27530 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
27531 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27532 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27533 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27534 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27535 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27536 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
27537 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
27538 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
27539 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
27540 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27541 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27542 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27543 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27544 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27545 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
27546 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
27547 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27548 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27549 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27550 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27551 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27552 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27553 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27554 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27555 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27556 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27557 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27558 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27559 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27560 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
27561 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
27562 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27563 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27564 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27565 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27566 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27567 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27568 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27569 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27570 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27571 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27572 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27573 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27574 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27575 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27576 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27577 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27578 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27579 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27580 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27581 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27582 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27583 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27584 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27585 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27586 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27587 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27588 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27589 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
27590 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27591 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27592 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27593 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27594 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
27595 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27596 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
27597 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27598 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
27599 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
27600 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
27601 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27602 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
27603 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
27604 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
27605 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
27606 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
27607 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
27608 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
27609 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
27610 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
27611 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
27612 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
27613 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
27614 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27615 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
27616 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
27617 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
27618 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
27619 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27620 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
27621 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
27622 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
27623 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27624 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
27625 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27626 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
27627 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27628 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
27629 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27630 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27631 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27632 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
27633 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27634 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
27635 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
27636 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27637 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27638 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27639 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
27640 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27641 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27642 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27643 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
27644 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27645 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27646 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27647 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27648 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27649 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27650 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27651 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
27652 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27653 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27654 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
27655 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
27656 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
27657 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
27658 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27659 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27660 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27661 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
27662 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
27663 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
27664 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27665 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27666 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
27667 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27668 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27669 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
27670 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27671 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27672 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27673 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
27674 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
27675 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
27676 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27677 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
27678 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
27679 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
27680 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
27681 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
27682 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
27683 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
27684 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
27685 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27686 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27687 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
27688 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
27689 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27690 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27691 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
27692 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27693 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27694 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27695 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27696 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
27697 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
27698 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
27699 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
27700 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
27701 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
27702 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
27703 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
27704 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
27705 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27706 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
27707 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
27708 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
27709 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27710 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
27711 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
27712 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
27713 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
27714 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27715 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27716 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
27717 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
27718 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
27719 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
27720 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
27721 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
27722 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
27723 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27724 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27725 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27726 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
27731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27733 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
27734 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27736 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
27737 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27739 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
27740 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
27742 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
27743 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27745 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
27746 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27748 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
27749 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
27751 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
27752 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27754 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
27755 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
27757 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
27758 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
27760 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
27761 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
27763 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27764 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27766 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27767 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27769 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27770 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27772 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27773 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27775 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27776 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27778 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
27779 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27781 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27782 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27784 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27785 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27787 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27788 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27790 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
27791 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27793 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
27794 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27796 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27797 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27799 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27800 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27802 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
27803 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27805 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
27806 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27808 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
27809 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27811 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
27812 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
27814 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27815 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27817 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27820 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27821 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27823 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27824 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27826 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27827 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27829 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27830 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27832 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27833 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27835 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27836 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27838 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27839 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27841 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27842 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27844 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27847 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27848 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27850 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27851 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27853 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27854 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27856 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27857 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27859 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27860 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27862 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27863 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27865 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27866 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27868 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27869 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27871 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27872 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27874 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27875 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27877 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27878 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27880 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27881 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27883 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27884 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27886 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27887 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27889 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
27890 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
27892 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
27893 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27895 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
27896 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27898 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
27899 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27901 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
27902 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
27904 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
27905 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27907 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
27908 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27910 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
27911 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
27913 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
27914 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27916 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
27917 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27919 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
27920 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27922 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27923 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27925 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27926 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27928 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27929 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27931 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27932 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27934 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27935 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27937 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27938 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27940 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27941 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27943 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27944 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27946 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27947 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27949 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27950 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27952 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27953 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27955 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27956 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27958 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27959 return (void *)((wxControl
*) ((wxGauge
*) x
));
27961 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27962 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27964 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27965 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27967 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27968 return (void *)((wxControl
*) ((wxButton
*) x
));
27970 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27971 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27973 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27974 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27976 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27977 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27979 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27980 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27982 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27983 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27985 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27986 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27988 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27989 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27991 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27992 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27994 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27995 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27997 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27998 return (void *)((wxControl
*) ((wxSlider
*) x
));
28000 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
28001 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
28003 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
28004 return (void *)((wxControl
*) ((wxPyControl
*) x
));
28006 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
28007 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
28009 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
28010 return (void *)((wxControl
*) ((wxStaticText
*) x
));
28012 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
28013 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
28015 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
28016 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
28018 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
28019 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28021 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
28022 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28024 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
28025 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28027 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
28028 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
28030 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
28031 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28033 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
28034 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28036 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
28037 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28039 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
28040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
28042 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28043 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28045 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28046 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28048 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28049 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28051 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
28052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28054 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28055 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28057 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
28058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
28060 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
28061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
28063 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28064 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28066 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28067 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28069 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
28070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
28072 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
28073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
28075 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
28076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28078 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
28079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28081 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
28082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
28084 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28085 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28087 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
28088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
28090 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
28091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
28093 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28096 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
28097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
28099 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
28100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
28102 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
28103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28105 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
28106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
28108 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
28109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
28111 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
28112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
28114 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
28115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28117 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
28118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28120 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
28121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28123 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
28124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28126 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
28127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
28129 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
28130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28132 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
28133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
28135 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
28136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
28138 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
28139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
28141 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
28142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
28144 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
28145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
28147 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
28148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
28150 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
28151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28153 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
28154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28156 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
28157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
28159 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
28160 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
28162 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
28163 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
28165 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
28166 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
28168 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
28169 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
28171 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
28172 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28174 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
28175 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28177 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
28178 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
28180 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28181 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28183 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28184 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28186 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28187 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28189 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28192 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28193 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28195 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
28196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28198 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
28199 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28201 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28202 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28204 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28205 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28207 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28208 return (void *)((wxObject
*) ((wxSizer
*) x
));
28210 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28211 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28213 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
28214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
28216 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
28217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
28219 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28220 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28222 static void *_p_wxEventTo_p_wxObject(void *x
) {
28223 return (void *)((wxObject
*) ((wxEvent
*) x
));
28225 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28226 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28228 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28229 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28231 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28232 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28234 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
28235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
28237 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
28238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
28240 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
28241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28243 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28244 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28246 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28247 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28249 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28250 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28252 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28253 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28255 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28256 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28258 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28259 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28261 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
28262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
28264 static void *_p_wxControlTo_p_wxObject(void *x
) {
28265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28267 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
28268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
28270 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
28271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
28273 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
28274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
28276 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
28277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
28279 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
28280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
28282 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28283 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28285 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
28286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28288 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28289 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28291 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28292 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28294 static void *_p_wxListViewTo_p_wxObject(void *x
) {
28295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28297 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
28298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
28300 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
28301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28303 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28304 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28306 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28307 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28309 static void *_p_wxListbookTo_p_wxObject(void *x
) {
28310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28312 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28313 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28315 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
28316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
28318 static void *_p_wxSliderTo_p_wxObject(void *x
) {
28319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
28321 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28322 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28324 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28325 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28327 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28330 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28331 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28333 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28334 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28336 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28337 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28339 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28340 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28342 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28343 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28345 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28346 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28348 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
28349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
28351 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
28352 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
28354 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28355 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28357 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28358 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28360 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28361 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28363 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28366 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28367 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28369 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28372 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28373 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28375 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28376 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28378 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28379 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28381 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28382 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28384 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28385 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28387 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28388 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28390 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28391 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28393 static void *_p_wxListEventTo_p_wxObject(void *x
) {
28394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
28396 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
28397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28399 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
28400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28402 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
28403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
28405 static void *_p_wxButtonTo_p_wxObject(void *x
) {
28406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
28408 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
28409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28411 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
28412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
28414 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
28415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28417 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28418 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28420 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
28421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
28423 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
28424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
28426 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
28427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28429 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
28430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
28432 static void *_p_wxListItemTo_p_wxObject(void *x
) {
28433 return (void *)((wxObject
*) ((wxListItem
*) x
));
28435 static void *_p_wxImageTo_p_wxObject(void *x
) {
28436 return (void *)((wxObject
*) ((wxImage
*) x
));
28438 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
28439 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
28441 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28442 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28444 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
28445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28447 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
28448 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
28450 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
28451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
28453 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
28454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28456 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
28457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28459 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28462 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28463 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28465 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28466 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28468 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28469 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28471 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28472 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28474 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28477 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28478 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28480 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28483 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28484 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28486 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28487 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28489 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28490 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28492 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28493 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28495 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28496 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28498 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
28499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28501 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28504 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28505 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28507 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
28508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
28510 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28511 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28513 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28514 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28516 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28519 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28522 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
28523 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
28525 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
28526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28528 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28531 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28532 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28534 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
28535 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
28537 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
28538 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
28540 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28541 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28543 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
28544 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28546 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
28547 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
28549 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
28550 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
28552 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
28553 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
28555 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28556 return (void *)((wxWindow
*) ((wxControl
*) x
));
28558 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
28559 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
28561 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
28562 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28564 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
28565 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
28567 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
28568 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28570 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
28571 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
28573 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
28574 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
28576 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28577 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28579 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
28580 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
28582 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
28583 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
28585 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
28586 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28588 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
28589 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
28591 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
28592 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
28594 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
28595 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
28597 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
28598 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28600 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
28601 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28603 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
28604 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28606 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
28607 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28609 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
28610 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28612 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
28613 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
28615 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
28616 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
28618 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
28619 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
28621 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
28622 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
28624 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
28625 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
28627 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
28628 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
28630 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
28631 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
28633 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
28634 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28636 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
28637 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28639 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
28640 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
28642 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
28643 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28645 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
28646 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28648 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
28649 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28651 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
28652 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
28654 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
28655 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28657 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
28658 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28660 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
28661 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28663 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
28664 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28666 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
28667 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28669 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
28670 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
28672 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
28673 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28675 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
28676 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28678 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
28679 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28681 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
28682 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
28684 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
28685 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28687 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
28688 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28690 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
28691 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
28693 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
28694 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28696 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
28697 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
28699 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
28700 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
28702 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
28703 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
28705 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
28706 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
28708 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28709 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}};
28710 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}};
28711 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28712 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28713 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}};
28714 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28715 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28716 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28717 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}};
28718 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28719 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
28720 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28721 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}};
28722 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28723 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28724 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
28725 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28726 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28727 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28728 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
28729 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28730 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28731 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
28732 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28733 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28734 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28735 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28736 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28737 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28738 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28739 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}};
28740 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28741 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28742 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28743 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28744 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28745 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28746 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28747 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28748 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}};
28749 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28750 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
28751 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28752 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}};
28753 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28754 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}};
28755 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
28756 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28757 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28758 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28759 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28760 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28761 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28762 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28763 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28764 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28765 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28766 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28767 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28768 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28769 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
28770 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28771 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28772 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28773 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28774 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28775 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}};
28776 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28777 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28778 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}};
28779 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28780 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28781 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28782 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28783 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}};
28784 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28785 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
28786 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28787 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28788 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28789 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28790 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
28792 static swig_type_info
*swig_types_initial
[] = {
28793 _swigt__p_wxTextUrlEvent
,
28794 _swigt__p_wxBookCtrlEvent
,
28796 _swigt__p_wxCheckBox
,
28797 _swigt__p_wxPyTreeCtrl
,
28799 _swigt__p_wxGenericDirCtrl
,
28801 _swigt__p_wxPyTreeItemData
,
28802 _swigt__p_wxItemContainer
,
28803 _swigt__p_wxDirFilterListCtrl
,
28804 _swigt__p_wxPyListCtrl
,
28805 _swigt__p_wxStaticLine
,
28806 _swigt__p_wxControl
,
28807 _swigt__p_wxPyControl
,
28809 _swigt__p_wxToolBarBase
,
28811 _swigt__p_wxToggleButton
,
28812 _swigt__p_wxRadioButton
,
28813 _swigt__p_wxChoice
,
28814 _swigt__p_wxMemoryDC
,
28815 _swigt__p_wxListItemAttr
,
28820 _swigt__p_wxListView
,
28822 _swigt__p_wxTextCtrl
,
28823 _swigt__p_wxNotebook
,
28824 _swigt__p_wxNotifyEvent
,
28825 _swigt__p_wxArrayString
,
28826 _swigt__p_wxListbook
,
28827 _swigt__p_wxStaticBitmap
,
28828 _swigt__p_wxSlider
,
28829 _swigt__p_wxStaticBox
,
28830 _swigt__p_wxArrayInt
,
28831 _swigt__p_wxContextHelp
,
28833 _swigt__p_wxEvtHandler
,
28834 _swigt__p_wxListEvent
,
28835 _swigt__p_wxListBox
,
28836 _swigt__p_wxCheckListBox
,
28837 _swigt__p_wxBookCtrl
,
28838 _swigt__p_wxSpinButton
,
28839 _swigt__p_wxButton
,
28840 _swigt__p_wxBitmapButton
,
28842 _swigt__p_wxContextHelpButton
,
28843 _swigt__p_wxRadioBox
,
28844 _swigt__p_wxScrollBar
,
28845 _swigt__p_wxTreeItemId
,
28846 _swigt__p_wxComboBox
,
28847 _swigt__p_wxHelpEvent
,
28848 _swigt__p_wxListItem
,
28849 _swigt__p_wxNotebookSizer
,
28850 _swigt__p_wxSpinEvent
,
28851 _swigt__p_wxGenericDragImage
,
28852 _swigt__p_wxSpinCtrl
,
28853 _swigt__p_wxImageList
,
28854 _swigt__p_wxHelpProvider
,
28855 _swigt__p_wxTextAttr
,
28856 _swigt__p_wxSimpleHelpProvider
,
28858 _swigt__p_wxListbookEvent
,
28859 _swigt__p_wxNotebookEvent
,
28860 _swigt__p_wxObject
,
28861 _swigt__p_wxCursor
,
28862 _swigt__p_wxKeyEvent
,
28863 _swigt__p_wxWindow
,
28864 _swigt__p_wxString
,
28865 _swigt__p_wxBitmap
,
28866 _swigt__p_wxTreeEvent
,
28867 _swigt__p_wxMouseEvent
,
28868 _swigt__p_wxCommandEvent
,
28869 _swigt__p_wxStaticText
,
28870 _swigt__p_wxControlWithItems
,
28871 _swigt__p_wxToolBarToolBase
,
28872 _swigt__p_wxColour
,
28873 _swigt__p_wxToolBar
,
28874 _swigt__p_wxBookCtrlSizer
,
28875 _swigt__p_wxValidator
,
28880 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28882 static swig_const_info swig_const_table
[] = {
28883 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
28884 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
28885 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
28886 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
28887 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
28888 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
28889 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
28890 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
28891 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
28892 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
28893 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
28894 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
28895 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
28896 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
28897 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
28898 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
28899 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
28900 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
28901 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
28902 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
28903 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
28904 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
28905 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
28906 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
28907 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
28908 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
28909 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
28910 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
28911 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
28912 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
28913 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
28914 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
28915 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
28916 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
28917 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
28918 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
28919 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
28920 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
28921 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
28922 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
28923 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
28924 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
28925 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
28926 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
28927 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
28928 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
28929 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
28930 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
28931 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
28932 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
28933 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
28934 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28935 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28936 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28937 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28938 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28939 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28940 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28941 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28942 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28943 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28944 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28945 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28946 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28947 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28948 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28949 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28950 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28951 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28952 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28953 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28954 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28955 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28956 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28957 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28958 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28959 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28960 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28961 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28962 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28963 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28964 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28965 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28966 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28967 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28968 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28969 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28970 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28971 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28972 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28973 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28974 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28975 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28976 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28977 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28978 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28979 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28980 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28981 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28982 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28983 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28984 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28985 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28986 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28987 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28988 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28989 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28990 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28991 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28992 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28993 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28994 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28995 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28996 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28997 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28998 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28999 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
29000 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
29001 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
29002 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
29003 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
29004 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
29005 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
29006 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
29007 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
29008 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
29009 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
29010 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
29011 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
29012 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
29013 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
29014 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
29015 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
29016 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
29017 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
29018 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
29019 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
29020 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
29021 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
29022 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
29023 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
29024 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
29025 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
29026 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
29027 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
29028 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
29029 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
29030 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
29031 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
29032 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
29033 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
29034 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
29035 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
29036 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
29037 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
29038 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
29039 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
29040 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
29041 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
29042 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
29043 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
29044 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
29045 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
29046 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
29047 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
29048 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
29049 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
29050 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
29051 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
29052 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
29053 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
29054 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
29055 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
29056 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
29057 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
29058 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
29059 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
29060 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
29061 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
29062 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
29063 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
29064 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
29065 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
29066 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
29067 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
29068 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
29069 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
29070 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
29071 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
29072 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
29073 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
29074 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
29075 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
29076 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
29077 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
29078 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
29079 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
29080 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
29081 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
29082 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
29083 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
29084 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
29085 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
29086 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
29087 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
29088 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
29089 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
29090 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
29091 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
29092 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
29093 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
29094 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
29095 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
29096 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
29097 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
29098 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
29099 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
29100 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
29101 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
29102 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
29103 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
29104 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
29105 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
29106 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
29107 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
29108 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
29109 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
29110 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
29111 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
29112 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
29113 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
29114 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
29115 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
29116 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
29117 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
29118 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
29119 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
29120 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
29121 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
29122 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
29123 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
29124 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
29125 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
29126 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
29127 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
29128 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
29129 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
29130 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
29131 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
29132 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
29142 SWIGEXPORT(void) SWIG_init(void) {
29143 static PyObject
*SWIG_globals
= 0;
29144 static int typeinit
= 0;
29147 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29148 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29149 d
= PyModule_GetDict(m
);
29152 for (i
= 0; swig_types_initial
[i
]; i
++) {
29153 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29157 SWIG_InstallConstants(d
,swig_const_table
);
29159 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29160 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
29161 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
29162 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
29163 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
29164 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
29165 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
29166 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
29167 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
29168 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
29169 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
29170 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
29171 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
29172 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
29173 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
29174 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
29175 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
29176 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
29177 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
29178 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
29179 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
29180 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
29181 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
29182 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
29183 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
29184 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
29185 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
29186 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
29187 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
29188 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
29189 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
29190 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
29191 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
29192 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
29193 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
29194 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
29195 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
29196 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
29197 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
29198 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
29199 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
29200 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
29201 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
29202 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
29203 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
29204 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
29205 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
29206 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
29207 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
29208 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
29209 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
29210 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
29212 // Map renamed classes back to their common name for OOR
29213 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
29215 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
29216 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
29217 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
29218 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
29219 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
29220 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
29221 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
29222 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
29223 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
29224 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
29225 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
29226 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
29227 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
29228 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
29229 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
29230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
29231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
29232 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
29233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
29234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
29235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
29237 // Map renamed classes back to their common name for OOR
29238 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
29239 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
29241 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
29242 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
29243 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
29245 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");