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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
327 #define SWIG_name "_controls"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
371 static const wxString
wxPyEmptyString(wxEmptyString
);
372 static const wxString
wxPyControlNameStr(wxControlNameStr
);
373 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
376 SWIG_PyObj_AsInt(PyObject
*obj
)
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
384 SWIG_PyObj_AsLong(PyObject
* obj
)
386 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
390 SWIGSTATIC(PyObject
*)
391 SWIG_PyObj_FromBool(bool value
)
393 PyObject
*obj
= value
? Py_True
: Py_False
;
398 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
401 SWIG_PyObj_AsBool(PyObject
*obj
)
403 return PyObject_IsTrue(obj
) ? true : false;
406 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
407 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
408 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
409 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
410 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
411 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
413 #include <wx/checklst.h>
416 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
417 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
419 wxPyClientData
* data
= new wxPyClientData(clientData
);
420 self
->Insert(item
, pos
, data
);
422 self
->Insert(item
, pos
);
424 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
426 self
->GetSelections(lst
);
427 PyObject
*tup
= PyTuple_New(lst
.GetCount());
428 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
429 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
433 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
435 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
441 } else if (target
== Py_None
) {
445 if (!PyTuple_Check(target
)) {
447 target
= PyTuple_New(1);
448 PyTuple_SetItem(target
, 0, o2
);
451 PyTuple_SetItem(o3
, 0, o
);
454 target
= PySequence_Concat(o2
, o3
);
461 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
462 self
->AppendText(text
);
464 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
465 return self
->GetValue().Mid(from
, to
- from
);
467 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
468 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
469 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
470 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
471 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
473 #include <wx/slider.h>
476 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
477 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
479 #if defined(__WXMAC__) || defined(__WXX11__)
480 // implement dummy classes and such for wxMac
482 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
484 class wxToggleButton
: public wxControl
487 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
488 const wxPoint
&, const wxSize
&, long,
489 const wxValidator
&, const wxString
&)
490 { wxPyRaiseNotImplemented(); }
493 { wxPyRaiseNotImplemented(); }
497 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
499 SWIGSTATIC(PyObject
* )
500 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
502 return (value
> (unsigned long)(LONG_MAX
)) ?
503 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
506 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
507 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
508 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
510 Py_INCREF(udata
->m_obj
);
517 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
518 self
->SetClientData(new wxPyUserData(clientData
));
520 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
){
521 wxPyUserData
* udata
= NULL
;
522 if (clientData
&& clientData
!= Py_None
)
523 udata
= new wxPyUserData(clientData
);
524 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
525 shortHelp
, longHelp
, udata
);
527 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
){
528 wxPyUserData
* udata
= NULL
;
529 if (clientData
&& clientData
!= Py_None
)
530 udata
= new wxPyUserData(clientData
);
531 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
532 shortHelp
, longHelp
, udata
);
534 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
535 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
537 Py_INCREF(udata
->m_obj
);
544 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
545 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
548 #include <wx/listctrl.h>
551 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
552 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
553 // Python aware sorting function for wxPyListCtrl
554 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
556 PyObject
* func
= (PyObject
*)funcPtr
;
557 wxPyBeginBlockThreads();
559 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
560 PyObject
* result
= PyEval_CallObject(func
, args
);
563 retval
= PyInt_AsLong(result
);
567 wxPyEndBlockThreads();
571 // C++ Version of a Python aware class
572 class wxPyListCtrl
: public wxListCtrl
{
573 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
575 wxPyListCtrl() : wxListCtrl() {}
576 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
580 const wxValidator
& validator
,
581 const wxString
& name
) :
582 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
584 bool Create(wxWindow
* parent
, wxWindowID id
,
588 const wxValidator
& validator
,
589 const wxString
& name
) {
590 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
593 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
594 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
595 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
600 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
602 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
603 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
604 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
606 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
608 item
.SetMask( wxLIST_MASK_STATE
|
616 if (self
->GetColumn(col
, item
))
617 return new wxListItem(item
);
621 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
622 wxListItem
* info
= new wxListItem
;
623 info
->m_itemId
= itemId
;
625 info
->m_mask
= 0xFFFF;
626 self
->GetItem(*info
);
629 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
631 self
->GetItemPosition(item
, pos
);
634 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
636 self
->GetItemRect(item
, rect
, code
);
639 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
640 if (!PyCallable_Check(func
))
642 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
644 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
648 return (wxWindow
*)self
->m_mainWin
;
652 #include <wx/treectrl.h>
653 #include "wx/wxPython/pytree.h"
655 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
656 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
657 if (!other
) return False
;
658 return *self
== *other
;
660 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
661 if (!other
) return True
;
662 return *self
!= *other
;
664 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
665 // C++ version of Python aware wxTreeCtrl
666 class wxPyTreeCtrl
: public wxTreeCtrl
{
667 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
669 wxPyTreeCtrl() : wxTreeCtrl() {}
670 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
674 const wxValidator
& validator
,
675 const wxString
& name
) :
676 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
678 bool Create(wxWindow
*parent
, wxWindowID id
,
682 const wxValidator
& validator
,
683 const wxString
& name
) {
684 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
688 int OnCompareItems(const wxTreeItemId
& item1
,
689 const wxTreeItemId
& item2
) {
692 wxPyBeginBlockThreads();
693 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
694 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
695 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
696 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
700 wxPyEndBlockThreads();
702 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
708 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
712 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
715 SWIGSTATIC(unsigned int)
716 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
718 return numeric_cast(unsigned int,
719 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
722 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
723 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
725 data
= new wxPyTreeItemData();
726 data
->SetId(item
); // set the id
727 self
->SetItemData(item
, data
);
731 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
732 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
734 data
= new wxPyTreeItemData();
735 data
->SetId(item
); // set the id
736 self
->SetItemData(item
, data
);
738 return data
->GetData();
740 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
741 data
->SetId(item
); // set the id
742 self
->SetItemData(item
, data
);
744 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
745 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
747 data
= new wxPyTreeItemData(obj
);
748 data
->SetId(item
); // set the id
749 self
->SetItemData(item
, data
);
753 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
754 wxPyBeginBlockThreads();
755 PyObject
* rval
= PyList_New(0);
756 wxArrayTreeItemIds array
;
758 num
= self
->GetSelections(array
);
759 for (x
=0; x
< num
; x
++) {
760 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
761 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
762 PyList_Append(rval
, item
);
764 wxPyEndBlockThreads();
767 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
769 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
770 wxPyBeginBlockThreads();
771 PyObject
* tup
= PyTuple_New(2);
772 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
773 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
774 wxPyEndBlockThreads();
777 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
778 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
779 wxPyBeginBlockThreads();
780 PyObject
* tup
= PyTuple_New(2);
781 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
782 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
783 wxPyEndBlockThreads();
786 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
788 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
789 wxPyBeginBlockThreads();
790 wxRect
* r
= new wxRect(rect
);
791 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
792 wxPyEndBlockThreads();
798 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
799 // C++ version of Python aware wxControl
800 class wxPyControl
: public wxControl
802 DECLARE_DYNAMIC_CLASS(wxPyControl
)
804 wxPyControl() : wxControl() {}
805 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
806 const wxPoint
& pos
= wxDefaultPosition
,
807 const wxSize
& size
= wxDefaultSize
,
809 const wxValidator
& validator
=wxDefaultValidator
,
810 const wxString
& name
= wxPyControlNameStr
)
811 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
814 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
815 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
816 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
817 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
819 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
820 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
821 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
823 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
824 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
826 DEC_PYCALLBACK__(InitDialog
);
827 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
828 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
829 DEC_PYCALLBACK_BOOL_(Validate
);
831 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
832 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
833 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
835 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
836 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
841 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
843 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
844 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
845 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
846 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
848 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
849 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
850 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
852 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
853 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
855 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
856 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
857 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
858 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
860 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
861 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
862 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
864 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
865 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
870 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
872 #include <wx/generic/dragimgg.h>
877 static int _wrap_ButtonNameStr_set(PyObject
*) {
878 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
883 static PyObject
*_wrap_ButtonNameStr_get() {
888 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
890 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
897 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 wxWindow
*arg1
= (wxWindow
*) 0 ;
902 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
903 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
904 wxSize
const &arg5_defvalue
= wxDefaultSize
;
905 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
906 long arg6
= (long) 0 ;
907 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
908 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
909 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
910 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
916 PyObject
* obj0
= 0 ;
917 PyObject
* obj1
= 0 ;
918 PyObject
* obj2
= 0 ;
919 PyObject
* obj3
= 0 ;
920 PyObject
* obj4
= 0 ;
921 PyObject
* obj5
= 0 ;
922 PyObject
* obj6
= 0 ;
923 PyObject
* obj7
= 0 ;
925 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
931 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
932 if (PyErr_Occurred()) SWIG_fail
;
935 arg3
= wxString_in_helper(obj2
);
936 if (arg3
== NULL
) SWIG_fail
;
942 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
948 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
953 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
954 if (PyErr_Occurred()) SWIG_fail
;
958 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
960 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
965 arg8
= wxString_in_helper(obj7
);
966 if (arg8
== NULL
) SWIG_fail
;
971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
972 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
974 wxPyEndAllowThreads(__tstate
);
975 if (PyErr_Occurred()) SWIG_fail
;
978 resultobj
= wxPyMake_wxObject(result
);
1002 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
*resultobj
;
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1012 result
= (wxButton
*)new wxButton();
1014 wxPyEndAllowThreads(__tstate
);
1015 if (PyErr_Occurred()) SWIG_fail
;
1018 resultobj
= wxPyMake_wxObject(result
);
1026 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
*resultobj
;
1028 wxButton
*arg1
= (wxButton
*) 0 ;
1029 wxWindow
*arg2
= (wxWindow
*) 0 ;
1031 wxString
*arg4
= 0 ;
1032 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1033 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1034 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1035 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1036 long arg7
= (long) 0 ;
1037 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1038 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1039 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1040 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1042 bool temp4
= False
;
1045 bool temp9
= False
;
1046 PyObject
* obj0
= 0 ;
1047 PyObject
* obj1
= 0 ;
1048 PyObject
* obj2
= 0 ;
1049 PyObject
* obj3
= 0 ;
1050 PyObject
* obj4
= 0 ;
1051 PyObject
* obj5
= 0 ;
1052 PyObject
* obj6
= 0 ;
1053 PyObject
* obj7
= 0 ;
1054 PyObject
* obj8
= 0 ;
1056 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1063 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1064 if (PyErr_Occurred()) SWIG_fail
;
1067 arg4
= wxString_in_helper(obj3
);
1068 if (arg4
== NULL
) SWIG_fail
;
1074 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1080 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1085 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1086 if (PyErr_Occurred()) SWIG_fail
;
1090 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1097 arg9
= wxString_in_helper(obj8
);
1098 if (arg9
== NULL
) SWIG_fail
;
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) SWIG_fail
;
1109 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1132 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
*resultobj
;
1134 wxButton
*arg1
= (wxButton
*) 0 ;
1135 PyObject
* obj0
= 0 ;
1137 (char *) "self", NULL
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 (arg1
)->SetDefault();
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) SWIG_fail
;
1149 Py_INCREF(Py_None
); resultobj
= Py_None
;
1156 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
*resultobj
;
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 result
= wxButton::GetDefaultSize();
1168 wxPyEndAllowThreads(__tstate
);
1169 if (PyErr_Occurred()) SWIG_fail
;
1173 resultptr
= new wxSize((wxSize
&) result
);
1174 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1182 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1185 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1187 return Py_BuildValue((char *)"");
1189 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
*resultobj
;
1191 wxWindow
*arg1
= (wxWindow
*) 0 ;
1193 wxBitmap
*arg3
= 0 ;
1194 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1195 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1196 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1197 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1198 long arg6
= (long) wxBU_AUTODRAW
;
1199 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1200 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1201 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1202 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1203 wxBitmapButton
*result
;
1206 bool temp8
= False
;
1207 PyObject
* obj0
= 0 ;
1208 PyObject
* obj1
= 0 ;
1209 PyObject
* obj2
= 0 ;
1210 PyObject
* obj3
= 0 ;
1211 PyObject
* obj4
= 0 ;
1212 PyObject
* obj5
= 0 ;
1213 PyObject
* obj6
= 0 ;
1214 PyObject
* obj7
= 0 ;
1216 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1222 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1223 if (PyErr_Occurred()) SWIG_fail
;
1225 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1243 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1248 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1255 arg8
= wxString_in_helper(obj7
);
1256 if (arg8
== NULL
) SWIG_fail
;
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) SWIG_fail
;
1268 resultobj
= wxPyMake_wxObject(result
);
1284 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
*resultobj
;
1286 wxBitmapButton
*result
;
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 result
= (wxBitmapButton
*)new wxBitmapButton();
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1300 resultobj
= wxPyMake_wxObject(result
);
1308 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
*resultobj
;
1310 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1311 wxWindow
*arg2
= (wxWindow
*) 0 ;
1313 wxBitmap
*arg4
= 0 ;
1314 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1315 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1316 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1317 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1318 long arg7
= (long) wxBU_AUTODRAW
;
1319 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1320 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1321 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1322 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1326 bool temp9
= False
;
1327 PyObject
* obj0
= 0 ;
1328 PyObject
* obj1
= 0 ;
1329 PyObject
* obj2
= 0 ;
1330 PyObject
* obj3
= 0 ;
1331 PyObject
* obj4
= 0 ;
1332 PyObject
* obj5
= 0 ;
1333 PyObject
* obj6
= 0 ;
1334 PyObject
* obj7
= 0 ;
1335 PyObject
* obj8
= 0 ;
1337 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1344 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1347 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1349 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1354 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1360 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1365 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1370 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1377 arg9
= wxString_in_helper(obj8
);
1378 if (arg9
== NULL
) SWIG_fail
;
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) SWIG_fail
;
1389 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1404 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1408 PyObject
* obj0
= 0 ;
1410 (char *) "self", NULL
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 result
= (arg1
)->GetBitmapLabel();
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) SWIG_fail
;
1423 wxBitmap
* resultptr
;
1424 resultptr
= new wxBitmap((wxBitmap
&) result
);
1425 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1433 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
*resultobj
;
1435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1437 PyObject
* obj0
= 0 ;
1439 (char *) "self", NULL
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 result
= (arg1
)->GetBitmapDisabled();
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) SWIG_fail
;
1452 wxBitmap
* resultptr
;
1453 resultptr
= new wxBitmap((wxBitmap
&) result
);
1454 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1462 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
*resultobj
;
1464 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1466 PyObject
* obj0
= 0 ;
1468 (char *) "self", NULL
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 result
= (arg1
)->GetBitmapFocus();
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) SWIG_fail
;
1481 wxBitmap
* resultptr
;
1482 resultptr
= new wxBitmap((wxBitmap
&) result
);
1483 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1491 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
*resultobj
;
1493 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1495 PyObject
* obj0
= 0 ;
1497 (char *) "self", NULL
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 result
= (arg1
)->GetBitmapSelected();
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) SWIG_fail
;
1510 wxBitmap
* resultptr
;
1511 resultptr
= new wxBitmap((wxBitmap
&) result
);
1512 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1520 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
*resultobj
;
1522 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1523 wxBitmap
*arg2
= 0 ;
1524 PyObject
* obj0
= 0 ;
1525 PyObject
* obj1
= 0 ;
1527 (char *) "self",(char *) "bitmap", NULL
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1534 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1538 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1540 wxPyEndAllowThreads(__tstate
);
1541 if (PyErr_Occurred()) SWIG_fail
;
1543 Py_INCREF(Py_None
); resultobj
= Py_None
;
1550 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
*resultobj
;
1552 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1553 wxBitmap
*arg2
= 0 ;
1554 PyObject
* obj0
= 0 ;
1555 PyObject
* obj1
= 0 ;
1557 (char *) "self",(char *) "bitmap", NULL
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) SWIG_fail
;
1573 Py_INCREF(Py_None
); resultobj
= Py_None
;
1580 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
*resultobj
;
1582 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1583 wxBitmap
*arg2
= 0 ;
1584 PyObject
* obj0
= 0 ;
1585 PyObject
* obj1
= 0 ;
1587 (char *) "self",(char *) "bitmap", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1603 Py_INCREF(Py_None
); resultobj
= Py_None
;
1610 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
*resultobj
;
1612 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1613 wxBitmap
*arg2
= 0 ;
1614 PyObject
* obj0
= 0 ;
1615 PyObject
* obj1
= 0 ;
1617 (char *) "self",(char *) "bitmap", NULL
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1624 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 Py_INCREF(Py_None
); resultobj
= Py_None
;
1640 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1647 PyObject
* obj2
= 0 ;
1649 (char *) "self",(char *) "x",(char *) "y", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1655 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1659 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 (arg1
)->SetMargins(arg2
,arg3
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1669 Py_INCREF(Py_None
); resultobj
= Py_None
;
1676 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1678 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1680 PyObject
* obj0
= 0 ;
1682 (char *) "self", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1694 resultobj
= SWIG_PyObj_FromInt((int)result
);
1701 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
*resultobj
;
1703 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1705 PyObject
* obj0
= 0 ;
1707 (char *) "self", NULL
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 resultobj
= SWIG_PyObj_FromInt((int)result
);
1726 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1729 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1731 return Py_BuildValue((char *)"");
1733 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1734 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1739 static PyObject
*_wrap_CheckBoxNameStr_get() {
1744 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1746 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1753 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
*resultobj
;
1755 wxWindow
*arg1
= (wxWindow
*) 0 ;
1757 wxString
*arg3
= 0 ;
1758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1762 long arg6
= (long) 0 ;
1763 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1764 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1765 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1766 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1768 bool temp3
= False
;
1771 bool temp8
= False
;
1772 PyObject
* obj0
= 0 ;
1773 PyObject
* obj1
= 0 ;
1774 PyObject
* obj2
= 0 ;
1775 PyObject
* obj3
= 0 ;
1776 PyObject
* obj4
= 0 ;
1777 PyObject
* obj5
= 0 ;
1778 PyObject
* obj6
= 0 ;
1779 PyObject
* obj7
= 0 ;
1781 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1791 arg3
= wxString_in_helper(obj2
);
1792 if (arg3
== NULL
) SWIG_fail
;
1798 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1804 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1809 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1814 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1821 arg8
= wxString_in_helper(obj7
);
1822 if (arg8
== NULL
) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1856 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 result
= (wxCheckBox
*)new wxCheckBox();
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1878 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
;
1880 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1881 wxWindow
*arg2
= (wxWindow
*) 0 ;
1883 wxString
*arg4
= 0 ;
1884 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1885 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1886 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1887 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1888 long arg7
= (long) 0 ;
1889 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1890 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1891 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1892 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1894 bool temp4
= False
;
1897 bool temp9
= False
;
1898 PyObject
* obj0
= 0 ;
1899 PyObject
* obj1
= 0 ;
1900 PyObject
* obj2
= 0 ;
1901 PyObject
* obj3
= 0 ;
1902 PyObject
* obj4
= 0 ;
1903 PyObject
* obj5
= 0 ;
1904 PyObject
* obj6
= 0 ;
1905 PyObject
* obj7
= 0 ;
1906 PyObject
* obj8
= 0 ;
1908 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1915 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1919 arg4
= wxString_in_helper(obj3
);
1920 if (arg4
== NULL
) SWIG_fail
;
1926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1932 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1937 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1942 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1944 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1949 arg9
= wxString_in_helper(obj8
);
1950 if (arg9
== NULL
) SWIG_fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1984 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
*resultobj
;
1986 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1988 PyObject
* obj0
= 0 ;
1990 (char *) "self", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 result
= (bool)(arg1
)->GetValue();
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2009 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
*resultobj
;
2011 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2013 PyObject
* obj0
= 0 ;
2015 (char *) "self", NULL
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 result
= (bool)(arg1
)->IsChecked();
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2034 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2041 (char *) "self",(char *) "state", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2047 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 (arg1
)->SetValue(arg2
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 Py_INCREF(Py_None
); resultobj
= Py_None
;
2064 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2070 (char *) "self", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2082 resultobj
= SWIG_PyObj_FromInt((int)result
);
2089 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
*resultobj
;
2091 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2093 PyObject
* obj0
= 0 ;
2094 PyObject
* obj1
= 0 ;
2096 (char *) "self",(char *) "state", NULL
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2102 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 Py_INCREF(Py_None
); resultobj
= Py_None
;
2119 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2125 (char *) "self", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2144 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2146 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2148 PyObject
* obj0
= 0 ;
2150 (char *) "self", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2169 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2172 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2174 return Py_BuildValue((char *)"");
2176 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2177 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2182 static PyObject
*_wrap_ChoiceNameStr_get() {
2187 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2189 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2196 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxWindow
*arg1
= (wxWindow
*) 0 ;
2200 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2201 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2202 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2203 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2204 int arg5
= (int) 0 ;
2205 wxString
*arg6
= (wxString
*) NULL
;
2206 long arg7
= (long) 0 ;
2207 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2208 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2209 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2210 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2214 bool temp8
= False
;
2215 PyObject
* obj0
= 0 ;
2216 PyObject
* obj1
= 0 ;
2217 PyObject
* obj2
= 0 ;
2218 PyObject
* obj3
= 0 ;
2219 PyObject
* obj4
= 0 ;
2220 PyObject
* obj5
= 0 ;
2221 PyObject
* obj6
= 0 ;
2222 PyObject
* obj7
= 0 ;
2224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2230 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2236 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2242 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2247 arg5
= PyList_Size(obj4
);
2248 arg6
= wxString_LIST_helper(obj4
);
2249 if (arg6
== NULL
) SWIG_fail
;
2254 arg7
= (long) SWIG_PyObj_AsLong(obj5
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2259 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2261 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2266 arg9
= wxString_in_helper(obj7
);
2267 if (arg9
== NULL
) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2280 if (arg6
) delete [] arg6
;
2289 if (arg6
) delete [] arg6
;
2299 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 result
= (wxChoice
*)new wxChoice();
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2321 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2323 wxChoice
*arg1
= (wxChoice
*) 0 ;
2324 wxWindow
*arg2
= (wxWindow
*) 0 ;
2326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2330 int arg6
= (int) 0 ;
2331 wxString
*arg7
= (wxString
*) NULL
;
2332 long arg8
= (long) 0 ;
2333 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2334 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2335 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2336 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2340 bool temp9
= False
;
2341 PyObject
* obj0
= 0 ;
2342 PyObject
* obj1
= 0 ;
2343 PyObject
* obj2
= 0 ;
2344 PyObject
* obj3
= 0 ;
2345 PyObject
* obj4
= 0 ;
2346 PyObject
* obj5
= 0 ;
2347 PyObject
* obj6
= 0 ;
2348 PyObject
* obj7
= 0 ;
2349 PyObject
* obj8
= 0 ;
2351 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2358 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2364 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2370 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2375 arg6
= PyList_Size(obj5
);
2376 arg7
= wxString_LIST_helper(obj5
);
2377 if (arg7
== NULL
) SWIG_fail
;
2382 arg8
= (long) SWIG_PyObj_AsLong(obj6
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2387 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2394 arg10
= wxString_in_helper(obj8
);
2395 if (arg10
== NULL
) SWIG_fail
;
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2401 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2406 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2408 if (arg7
) delete [] arg7
;
2417 if (arg7
) delete [] arg7
;
2427 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxChoice
*arg1
= (wxChoice
*) 0 ;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "self", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 result
= (int)(arg1
)->GetColumns();
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2445 resultobj
= SWIG_PyObj_FromInt((int)result
);
2452 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2454 wxChoice
*arg1
= (wxChoice
*) 0 ;
2455 int arg2
= (int) (int)1 ;
2456 PyObject
* obj0
= 0 ;
2457 PyObject
* obj1
= 0 ;
2459 (char *) "self",(char *) "n", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Choice_SetColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
2463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2466 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2467 if (PyErr_Occurred()) 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 ;
2489 PyObject
* obj1
= 0 ;
2491 (char *) "self",(char *) "n", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2497 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 (arg1
)->SetSelection(arg2
);
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) SWIG_fail
;
2507 Py_INCREF(Py_None
); resultobj
= Py_None
;
2514 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxChoice
*arg1
= (wxChoice
*) 0 ;
2517 wxString
*arg2
= 0 ;
2518 bool temp2
= False
;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2522 (char *) "self",(char *) "string", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2528 arg2
= wxString_in_helper(obj1
);
2529 if (arg2
== NULL
) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxChoice
*arg1
= (wxChoice
*) 0 ;
2558 wxString
*arg3
= 0 ;
2559 bool temp3
= False
;
2560 PyObject
* obj0
= 0 ;
2561 PyObject
* obj1
= 0 ;
2562 PyObject
* obj2
= 0 ;
2564 (char *) "self",(char *) "n",(char *) "s", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2570 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2574 arg3
= wxString_in_helper(obj2
);
2575 if (arg3
== NULL
) SWIG_fail
;
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2585 Py_INCREF(Py_None
); resultobj
= Py_None
;
2600 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2603 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2605 return Py_BuildValue((char *)"");
2607 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2608 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2613 static PyObject
*_wrap_ComboBoxNameStr_get() {
2618 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2620 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2627 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
*resultobj
;
2629 wxWindow
*arg1
= (wxWindow
*) 0 ;
2631 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2632 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2633 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2634 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2635 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2636 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2637 int arg6
= (int) 0 ;
2638 wxString
*arg7
= (wxString
*) NULL
;
2639 long arg8
= (long) 0 ;
2640 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2641 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2642 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2643 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2645 bool temp3
= False
;
2648 bool temp9
= False
;
2649 PyObject
* obj0
= 0 ;
2650 PyObject
* obj1
= 0 ;
2651 PyObject
* obj2
= 0 ;
2652 PyObject
* obj3
= 0 ;
2653 PyObject
* obj4
= 0 ;
2654 PyObject
* obj5
= 0 ;
2655 PyObject
* obj6
= 0 ;
2656 PyObject
* obj7
= 0 ;
2657 PyObject
* obj8
= 0 ;
2659 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2670 arg3
= wxString_in_helper(obj2
);
2671 if (arg3
== NULL
) SWIG_fail
;
2678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2684 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2689 arg6
= PyList_Size(obj5
);
2690 arg7
= wxString_LIST_helper(obj5
);
2691 if (arg7
== NULL
) SWIG_fail
;
2696 arg8
= (long) SWIG_PyObj_AsLong(obj6
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2701 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2708 arg10
= wxString_in_helper(obj8
);
2709 if (arg10
== NULL
) SWIG_fail
;
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) SWIG_fail
;
2720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2726 if (arg7
) delete [] arg7
;
2739 if (arg7
) delete [] arg7
;
2749 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 result
= (wxComboBox
*)new wxComboBox();
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2771 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2774 wxWindow
*arg2
= (wxWindow
*) 0 ;
2776 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2777 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2778 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2779 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2780 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2781 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2782 int arg7
= (int) 0 ;
2783 wxString
*arg8
= (wxString
*) NULL
;
2784 long arg9
= (long) 0 ;
2785 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2786 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2787 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2788 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2790 bool temp4
= False
;
2793 bool temp10
= False
;
2794 PyObject
* obj0
= 0 ;
2795 PyObject
* obj1
= 0 ;
2796 PyObject
* obj2
= 0 ;
2797 PyObject
* obj3
= 0 ;
2798 PyObject
* obj4
= 0 ;
2799 PyObject
* obj5
= 0 ;
2800 PyObject
* obj6
= 0 ;
2801 PyObject
* obj7
= 0 ;
2802 PyObject
* obj8
= 0 ;
2803 PyObject
* obj9
= 0 ;
2805 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2812 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2817 arg4
= wxString_in_helper(obj3
);
2818 if (arg4
== NULL
) SWIG_fail
;
2825 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2831 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2836 arg7
= PyList_Size(obj6
);
2837 arg8
= wxString_LIST_helper(obj6
);
2838 if (arg8
== NULL
) SWIG_fail
;
2843 arg9
= (long) SWIG_PyObj_AsLong(obj7
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2848 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2849 if (arg10
== NULL
) {
2850 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2855 arg11
= wxString_in_helper(obj9
);
2856 if (arg11
== NULL
) SWIG_fail
;
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2867 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2873 if (arg8
) delete [] arg8
;
2886 if (arg8
) delete [] arg8
;
2896 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2902 (char *) "self", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 result
= ((wxComboBox
const *)arg1
)->GetValue();
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2927 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2930 wxString
*arg2
= 0 ;
2931 bool temp2
= False
;
2932 PyObject
* obj0
= 0 ;
2933 PyObject
* obj1
= 0 ;
2935 (char *) "self",(char *) "value", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2941 arg2
= wxString_in_helper(obj1
);
2942 if (arg2
== NULL
) SWIG_fail
;
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 (arg1
)->SetValue((wxString
const &)*arg2
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2952 Py_INCREF(Py_None
); resultobj
= Py_None
;
2967 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2972 (char *) "self", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2984 Py_INCREF(Py_None
); resultobj
= Py_None
;
2991 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2996 (char *) "self", NULL
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) SWIG_fail
;
3008 Py_INCREF(Py_None
); resultobj
= Py_None
;
3015 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3018 PyObject
* obj0
= 0 ;
3020 (char *) "self", NULL
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 Py_INCREF(Py_None
); resultobj
= Py_None
;
3039 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3043 PyObject
* obj0
= 0 ;
3044 PyObject
* obj1
= 0 ;
3046 (char *) "self",(char *) "pos", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3052 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 (arg1
)->SetInsertionPoint(arg2
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3062 Py_INCREF(Py_None
); resultobj
= Py_None
;
3069 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3073 PyObject
* obj0
= 0 ;
3075 (char *) "self", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3087 resultobj
= SWIG_PyObj_FromLong((long)result
);
3094 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3098 PyObject
* obj0
= 0 ;
3100 (char *) "self", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3112 resultobj
= SWIG_PyObj_FromLong((long)result
);
3119 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
*resultobj
;
3121 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3124 wxString
*arg4
= 0 ;
3125 bool temp4
= False
;
3126 PyObject
* obj0
= 0 ;
3127 PyObject
* obj1
= 0 ;
3128 PyObject
* obj2
= 0 ;
3129 PyObject
* obj3
= 0 ;
3131 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3137 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3141 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3145 arg4
= wxString_in_helper(obj3
);
3146 if (arg4
== NULL
) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3171 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3175 PyObject
* obj0
= 0 ;
3176 PyObject
* obj1
= 0 ;
3178 (char *) "self",(char *) "n", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3184 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 (arg1
)->SetSelection(arg2
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 Py_INCREF(Py_None
); resultobj
= Py_None
;
3201 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3207 PyObject
* obj1
= 0 ;
3208 PyObject
* obj2
= 0 ;
3210 (char *) "self",(char *) "from",(char *) "to", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3216 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3220 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 (arg1
)->SetSelection(arg2
,arg3
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 Py_INCREF(Py_None
); resultobj
= Py_None
;
3237 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3244 (char *) "self",(char *) "editable", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3250 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 (arg1
)->SetEditable(arg2
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 Py_INCREF(Py_None
); resultobj
= Py_None
;
3267 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3270 PyObject
* obj0
= 0 ;
3272 (char *) "self", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 (arg1
)->SetInsertionPointEnd();
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 Py_INCREF(Py_None
); resultobj
= Py_None
;
3291 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3296 PyObject
* obj0
= 0 ;
3297 PyObject
* obj1
= 0 ;
3298 PyObject
* obj2
= 0 ;
3300 (char *) "self",(char *) "from",(char *) "to", NULL
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3306 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3310 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 (arg1
)->Remove(arg2
,arg3
);
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3330 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3332 return Py_BuildValue((char *)"");
3334 static int _wrap_GaugeNameStr_set(PyObject
*) {
3335 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3340 static PyObject
*_wrap_GaugeNameStr_get() {
3345 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3347 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3354 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxWindow
*arg1
= (wxWindow
*) 0 ;
3359 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3360 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3361 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3362 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3363 long arg6
= (long) wxGA_HORIZONTAL
;
3364 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3365 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3366 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3367 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3371 bool temp8
= False
;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3374 PyObject
* obj2
= 0 ;
3375 PyObject
* obj3
= 0 ;
3376 PyObject
* obj4
= 0 ;
3377 PyObject
* obj5
= 0 ;
3378 PyObject
* obj6
= 0 ;
3379 PyObject
* obj7
= 0 ;
3381 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3387 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3391 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3408 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3413 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3415 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3420 arg8
= wxString_in_helper(obj7
);
3421 if (arg8
== NULL
) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3432 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3447 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
*resultobj
;
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 result
= (wxGauge
*)new wxGauge();
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3469 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3471 wxGauge
*arg1
= (wxGauge
*) 0 ;
3472 wxWindow
*arg2
= (wxWindow
*) 0 ;
3475 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3476 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3477 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3478 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3479 long arg7
= (long) wxGA_HORIZONTAL
;
3480 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3481 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3482 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3483 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3487 bool temp9
= False
;
3488 PyObject
* obj0
= 0 ;
3489 PyObject
* obj1
= 0 ;
3490 PyObject
* obj2
= 0 ;
3491 PyObject
* obj3
= 0 ;
3492 PyObject
* obj4
= 0 ;
3493 PyObject
* obj5
= 0 ;
3494 PyObject
* obj6
= 0 ;
3495 PyObject
* obj7
= 0 ;
3496 PyObject
* obj8
= 0 ;
3498 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3509 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3515 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3521 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3526 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3531 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3533 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3538 arg9
= wxString_in_helper(obj8
);
3539 if (arg9
== NULL
) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3565 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxGauge
*arg1
= (wxGauge
*) 0 ;
3569 PyObject
* obj0
= 0 ;
3570 PyObject
* obj1
= 0 ;
3572 (char *) "self",(char *) "range", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3578 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 (arg1
)->SetRange(arg2
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 Py_INCREF(Py_None
); resultobj
= Py_None
;
3595 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxGauge
*arg1
= (wxGauge
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3601 (char *) "self", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= SWIG_PyObj_FromInt((int)result
);
3620 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxGauge
*arg1
= (wxGauge
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3625 PyObject
* obj1
= 0 ;
3627 (char *) "self",(char *) "pos", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3633 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 (arg1
)->SetValue(arg2
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 Py_INCREF(Py_None
); resultobj
= Py_None
;
3650 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxGauge
*arg1
= (wxGauge
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3656 (char *) "self", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= SWIG_PyObj_FromInt((int)result
);
3675 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxGauge
*arg1
= (wxGauge
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3681 (char *) "self", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3700 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3702 wxGauge
*arg1
= (wxGauge
*) 0 ;
3704 PyObject
* obj0
= 0 ;
3705 PyObject
* obj1
= 0 ;
3707 (char *) "self",(char *) "w", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3713 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 (arg1
)->SetShadowWidth(arg2
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 Py_INCREF(Py_None
); resultobj
= Py_None
;
3730 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxGauge
*arg1
= (wxGauge
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3736 (char *) "self", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 resultobj
= SWIG_PyObj_FromInt((int)result
);
3755 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3757 wxGauge
*arg1
= (wxGauge
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3762 (char *) "self",(char *) "w", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3768 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 (arg1
)->SetBezelFace(arg2
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 Py_INCREF(Py_None
); resultobj
= Py_None
;
3785 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxGauge
*arg1
= (wxGauge
*) 0 ;
3789 PyObject
* obj0
= 0 ;
3791 (char *) "self", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 resultobj
= SWIG_PyObj_FromInt((int)result
);
3810 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3813 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3815 return Py_BuildValue((char *)"");
3817 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3818 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3823 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3828 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3830 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3837 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3838 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3843 static PyObject
*_wrap_StaticBoxNameStr_get() {
3848 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3850 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3857 static int _wrap_StaticTextNameStr_set(PyObject
*) {
3858 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3863 static PyObject
*_wrap_StaticTextNameStr_get() {
3868 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3870 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3877 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxWindow
*arg1
= (wxWindow
*) 0 ;
3881 wxString
*arg3
= 0 ;
3882 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3883 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3884 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3885 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3886 long arg6
= (long) 0 ;
3887 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3888 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3889 wxStaticBox
*result
;
3890 bool temp3
= False
;
3893 bool temp7
= False
;
3894 PyObject
* obj0
= 0 ;
3895 PyObject
* obj1
= 0 ;
3896 PyObject
* obj2
= 0 ;
3897 PyObject
* obj3
= 0 ;
3898 PyObject
* obj4
= 0 ;
3899 PyObject
* obj5
= 0 ;
3900 PyObject
* obj6
= 0 ;
3902 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3908 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3912 arg3
= wxString_in_helper(obj2
);
3913 if (arg3
== NULL
) SWIG_fail
;
3919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3930 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3936 arg7
= wxString_in_helper(obj6
);
3937 if (arg7
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= wxPyMake_wxObject(result
);
3973 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxStaticBox
*result
;
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 result
= (wxStaticBox
*)new wxStaticBox();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= wxPyMake_wxObject(result
);
3997 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4000 wxWindow
*arg2
= (wxWindow
*) 0 ;
4002 wxString
*arg4
= 0 ;
4003 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4004 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4005 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4006 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4007 long arg7
= (long) 0 ;
4008 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4009 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4011 bool temp4
= False
;
4014 bool temp8
= False
;
4015 PyObject
* obj0
= 0 ;
4016 PyObject
* obj1
= 0 ;
4017 PyObject
* obj2
= 0 ;
4018 PyObject
* obj3
= 0 ;
4019 PyObject
* obj4
= 0 ;
4020 PyObject
* obj5
= 0 ;
4021 PyObject
* obj6
= 0 ;
4022 PyObject
* obj7
= 0 ;
4024 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4031 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4035 arg4
= wxString_in_helper(obj3
);
4036 if (arg4
== NULL
) SWIG_fail
;
4042 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4048 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4053 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4059 arg8
= wxString_in_helper(obj7
);
4060 if (arg8
== NULL
) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4094 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4097 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4099 return Py_BuildValue((char *)"");
4101 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxWindow
*arg1
= (wxWindow
*) 0 ;
4105 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4106 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4107 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4108 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4109 long arg5
= (long) wxLI_HORIZONTAL
;
4110 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4111 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4112 wxStaticLine
*result
;
4115 bool temp6
= False
;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4118 PyObject
* obj2
= 0 ;
4119 PyObject
* obj3
= 0 ;
4120 PyObject
* obj4
= 0 ;
4121 PyObject
* obj5
= 0 ;
4123 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4129 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4141 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4146 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4152 arg6
= wxString_in_helper(obj5
);
4153 if (arg6
== NULL
) SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4179 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4181 wxStaticLine
*result
;
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (wxStaticLine
*)new wxStaticLine();
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4201 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4204 wxWindow
*arg2
= (wxWindow
*) 0 ;
4206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4210 long arg6
= (long) wxLI_HORIZONTAL
;
4211 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4212 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4216 bool temp7
= False
;
4217 PyObject
* obj0
= 0 ;
4218 PyObject
* obj1
= 0 ;
4219 PyObject
* obj2
= 0 ;
4220 PyObject
* obj3
= 0 ;
4221 PyObject
* obj4
= 0 ;
4222 PyObject
* obj5
= 0 ;
4223 PyObject
* obj6
= 0 ;
4225 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4232 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4238 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4244 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4249 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4255 arg7
= wxString_in_helper(obj6
);
4256 if (arg7
== NULL
) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4282 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "self", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4307 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= (int)wxStaticLine::GetDefaultSize();
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_PyObj_FromInt((int)result
);
4329 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4332 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4334 return Py_BuildValue((char *)"");
4336 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxWindow
*arg1
= (wxWindow
*) 0 ;
4340 wxString
*arg3
= 0 ;
4341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4343 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4344 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4345 long arg6
= (long) 0 ;
4346 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4347 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4348 wxStaticText
*result
;
4349 bool temp3
= False
;
4352 bool temp7
= False
;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 PyObject
* obj2
= 0 ;
4356 PyObject
* obj3
= 0 ;
4357 PyObject
* obj4
= 0 ;
4358 PyObject
* obj5
= 0 ;
4359 PyObject
* obj6
= 0 ;
4361 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4367 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4371 arg3
= wxString_in_helper(obj2
);
4372 if (arg3
== NULL
) SWIG_fail
;
4378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4389 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4395 arg7
= wxString_in_helper(obj6
);
4396 if (arg7
== NULL
) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4430 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxStaticText
*result
;
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (wxStaticText
*)new wxStaticText();
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4452 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4455 wxWindow
*arg2
= (wxWindow
*) 0 ;
4457 wxString
*arg4
= 0 ;
4458 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4459 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4460 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4461 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4462 long arg7
= (long) 0 ;
4463 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4466 bool temp4
= False
;
4469 bool temp8
= False
;
4470 PyObject
* obj0
= 0 ;
4471 PyObject
* obj1
= 0 ;
4472 PyObject
* obj2
= 0 ;
4473 PyObject
* obj3
= 0 ;
4474 PyObject
* obj4
= 0 ;
4475 PyObject
* obj5
= 0 ;
4476 PyObject
* obj6
= 0 ;
4477 PyObject
* obj7
= 0 ;
4479 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4486 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4490 arg4
= wxString_in_helper(obj3
);
4491 if (arg4
== NULL
) SWIG_fail
;
4497 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4503 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4508 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4514 arg8
= wxString_in_helper(obj7
);
4515 if (arg8
== NULL
) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4549 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4552 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4554 return Py_BuildValue((char *)"");
4556 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxWindow
*arg1
= (wxWindow
*) 0 ;
4560 wxBitmap
*arg3
= 0 ;
4561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4565 long arg6
= (long) 0 ;
4566 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4567 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4568 wxStaticBitmap
*result
;
4571 bool temp7
= False
;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4574 PyObject
* obj2
= 0 ;
4575 PyObject
* obj3
= 0 ;
4576 PyObject
* obj4
= 0 ;
4577 PyObject
* obj5
= 0 ;
4578 PyObject
* obj6
= 0 ;
4580 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4586 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4591 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4596 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4602 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4607 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4613 arg7
= wxString_in_helper(obj6
);
4614 if (arg7
== NULL
) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4640 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxStaticBitmap
*result
;
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4662 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4665 wxWindow
*arg2
= (wxWindow
*) 0 ;
4667 wxBitmap
*arg4
= 0 ;
4668 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4669 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4670 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4671 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4672 long arg7
= (long) 0 ;
4673 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4674 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4678 bool temp8
= False
;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 PyObject
* obj3
= 0 ;
4683 PyObject
* obj4
= 0 ;
4684 PyObject
* obj5
= 0 ;
4685 PyObject
* obj6
= 0 ;
4686 PyObject
* obj7
= 0 ;
4688 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4695 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4716 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4722 arg8
= wxString_in_helper(obj7
);
4723 if (arg8
== NULL
) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4749 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4753 PyObject
* obj0
= 0 ;
4755 (char *) "self", NULL
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (arg1
)->GetBitmap();
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4768 wxBitmap
* resultptr
;
4769 resultptr
= new wxBitmap((wxBitmap
&) result
);
4770 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4778 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4781 wxBitmap
*arg2
= 0 ;
4782 PyObject
* obj0
= 0 ;
4783 PyObject
* obj1
= 0 ;
4785 (char *) "self",(char *) "bitmap", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4792 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 Py_INCREF(Py_None
); resultobj
= Py_None
;
4808 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4815 (char *) "self",(char *) "icon", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4822 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4831 Py_INCREF(Py_None
); resultobj
= Py_None
;
4838 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4841 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4843 return Py_BuildValue((char *)"");
4845 static int _wrap_ListBoxNameStr_set(PyObject
*) {
4846 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4851 static PyObject
*_wrap_ListBoxNameStr_get() {
4856 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4858 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4865 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxWindow
*arg1
= (wxWindow
*) 0 ;
4869 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4870 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4871 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4872 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4873 int arg5
= (int) 0 ;
4874 wxString
*arg6
= (wxString
*) NULL
;
4875 long arg7
= (long) 0 ;
4876 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4877 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4878 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4879 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4883 bool temp8
= False
;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4886 PyObject
* obj2
= 0 ;
4887 PyObject
* obj3
= 0 ;
4888 PyObject
* obj4
= 0 ;
4889 PyObject
* obj5
= 0 ;
4890 PyObject
* obj6
= 0 ;
4891 PyObject
* obj7
= 0 ;
4893 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4899 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4911 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4916 arg5
= PyList_Size(obj4
);
4917 arg6
= wxString_LIST_helper(obj4
);
4918 if (arg6
== NULL
) SWIG_fail
;
4923 arg7
= (long) SWIG_PyObj_AsLong(obj5
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4928 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4930 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4935 arg9
= wxString_in_helper(obj7
);
4936 if (arg9
== NULL
) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4949 if (arg6
) delete [] arg6
;
4958 if (arg6
) delete [] arg6
;
4968 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (wxListBox
*)new wxListBox();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4990 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxListBox
*arg1
= (wxListBox
*) 0 ;
4993 wxWindow
*arg2
= (wxWindow
*) 0 ;
4995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4999 int arg6
= (int) 0 ;
5000 wxString
*arg7
= (wxString
*) NULL
;
5001 long arg8
= (long) 0 ;
5002 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5003 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5004 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5005 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5009 bool temp9
= False
;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5012 PyObject
* obj2
= 0 ;
5013 PyObject
* obj3
= 0 ;
5014 PyObject
* obj4
= 0 ;
5015 PyObject
* obj5
= 0 ;
5016 PyObject
* obj6
= 0 ;
5017 PyObject
* obj7
= 0 ;
5018 PyObject
* obj8
= 0 ;
5020 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5027 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5044 arg6
= PyList_Size(obj5
);
5045 arg7
= wxString_LIST_helper(obj5
);
5046 if (arg7
== NULL
) SWIG_fail
;
5051 arg8
= (long) SWIG_PyObj_AsLong(obj6
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5056 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5058 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5063 arg10
= wxString_in_helper(obj8
);
5064 if (arg10
== NULL
) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5077 if (arg7
) delete [] arg7
;
5086 if (arg7
) delete [] arg7
;
5096 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxListBox
*arg1
= (wxListBox
*) 0 ;
5099 wxString
*arg2
= 0 ;
5101 PyObject
*arg4
= (PyObject
*) NULL
;
5102 bool temp2
= False
;
5103 PyObject
* obj0
= 0 ;
5104 PyObject
* obj1
= 0 ;
5105 PyObject
* obj2
= 0 ;
5106 PyObject
* obj3
= 0 ;
5108 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5114 arg2
= wxString_in_helper(obj1
);
5115 if (arg2
== NULL
) SWIG_fail
;
5119 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 Py_INCREF(Py_None
); resultobj
= Py_None
;
5147 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxListBox
*arg1
= (wxListBox
*) 0 ;
5150 wxArrayString
*arg2
= 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5154 PyObject
* obj2
= 0 ;
5156 (char *) "self",(char *) "items",(char *) "pos", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5162 if (! PySequence_Check(obj1
)) {
5163 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5166 arg2
= new wxArrayString
;
5167 int i
, len
=PySequence_Length(obj1
);
5168 for (i
=0; i
<len
; i
++) {
5169 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5171 PyObject
* str
= PyObject_Unicode(item
);
5173 PyObject
* str
= PyObject_Str(item
);
5175 arg2
->Add(Py2wxString(str
));
5181 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 Py_INCREF(Py_None
); resultobj
= Py_None
;
5193 if (arg2
) delete arg2
;
5198 if (arg2
) delete arg2
;
5204 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxListBox
*arg1
= (wxListBox
*) 0 ;
5207 wxArrayString
*arg2
= 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5211 (char *) "self",(char *) "items", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5217 if (! PySequence_Check(obj1
)) {
5218 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5221 arg2
= new wxArrayString
;
5222 int i
, len
=PySequence_Length(obj1
);
5223 for (i
=0; i
<len
; i
++) {
5224 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5226 PyObject
* str
= PyObject_Unicode(item
);
5228 PyObject
* str
= PyObject_Str(item
);
5230 arg2
->Add(Py2wxString(str
));
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 (arg1
)->Set((wxArrayString
const &)*arg2
);
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 Py_INCREF(Py_None
); resultobj
= Py_None
;
5244 if (arg2
) delete arg2
;
5249 if (arg2
) delete arg2
;
5255 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxListBox
*arg1
= (wxListBox
*) 0 ;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5263 (char *) "self",(char *) "n", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5286 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxListBox
*arg1
= (wxListBox
*) 0 ;
5290 bool arg3
= (bool) True
;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5293 PyObject
* obj2
= 0 ;
5295 (char *) "self",(char *) "n",(char *) "select", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5301 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5306 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 (arg1
)->SetSelection(arg2
,arg3
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 Py_INCREF(Py_None
); resultobj
= Py_None
;
5324 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxListBox
*arg1
= (wxListBox
*) 0 ;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5331 (char *) "self",(char *) "n", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5337 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 (arg1
)->Select(arg2
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 Py_INCREF(Py_None
); resultobj
= Py_None
;
5354 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxListBox
*arg1
= (wxListBox
*) 0 ;
5358 PyObject
* obj0
= 0 ;
5359 PyObject
* obj1
= 0 ;
5361 (char *) "self",(char *) "n", NULL
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5367 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 (arg1
)->Deselect(arg2
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxListBox
*arg1
= (wxListBox
*) 0 ;
5387 int arg2
= (int) -1 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5391 (char *) "self",(char *) "itemToLeaveSelected", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5398 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->DeselectAll(arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 Py_INCREF(Py_None
); resultobj
= Py_None
;
5416 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxListBox
*arg1
= (wxListBox
*) 0 ;
5419 wxString
*arg2
= 0 ;
5420 bool arg3
= (bool) True
;
5422 bool temp2
= False
;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5427 (char *) "self",(char *) "s",(char *) "select", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5433 arg2
= wxString_in_helper(obj1
);
5434 if (arg2
== NULL
) SWIG_fail
;
5439 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5465 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
;
5467 wxListBox
*arg1
= (wxListBox
*) 0 ;
5469 PyObject
* obj0
= 0 ;
5471 (char *) "self", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5490 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxListBox
*arg1
= (wxListBox
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5497 (char *) "self",(char *) "n", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 (arg1
)->SetFirstItem(arg2
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5520 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxListBox
*arg1
= (wxListBox
*) 0 ;
5523 wxString
*arg2
= 0 ;
5524 bool temp2
= False
;
5525 PyObject
* obj0
= 0 ;
5526 PyObject
* obj1
= 0 ;
5528 (char *) "self",(char *) "s", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5534 arg2
= wxString_in_helper(obj1
);
5535 if (arg2
== NULL
) SWIG_fail
;
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5545 Py_INCREF(Py_None
); resultobj
= Py_None
;
5560 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxListBox
*arg1
= (wxListBox
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "self",(char *) "n", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5573 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 (arg1
)->EnsureVisible(arg2
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 Py_INCREF(Py_None
); resultobj
= Py_None
;
5590 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxListBox
*arg1
= (wxListBox
*) 0 ;
5593 wxString
*arg2
= 0 ;
5594 bool temp2
= False
;
5595 PyObject
* obj0
= 0 ;
5596 PyObject
* obj1
= 0 ;
5598 (char *) "self",(char *) "s", NULL
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5604 arg2
= wxString_in_helper(obj1
);
5605 if (arg2
== NULL
) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 Py_INCREF(Py_None
); resultobj
= Py_None
;
5630 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxListBox
*arg1
= (wxListBox
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5636 (char *) "self", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5655 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5658 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5660 return Py_BuildValue((char *)"");
5662 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxWindow
*arg1
= (wxWindow
*) 0 ;
5666 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5667 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5668 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5669 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5670 int arg5
= (int) 0 ;
5671 wxString
*arg6
= (wxString
*) NULL
;
5672 long arg7
= (long) 0 ;
5673 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5674 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5675 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5676 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5677 wxCheckListBox
*result
;
5680 bool temp8
= False
;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5683 PyObject
* obj2
= 0 ;
5684 PyObject
* obj3
= 0 ;
5685 PyObject
* obj4
= 0 ;
5686 PyObject
* obj5
= 0 ;
5687 PyObject
* obj6
= 0 ;
5688 PyObject
* obj7
= 0 ;
5690 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5702 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5708 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5713 arg5
= PyList_Size(obj4
);
5714 arg6
= wxString_LIST_helper(obj4
);
5715 if (arg6
== NULL
) SWIG_fail
;
5720 arg7
= (long) SWIG_PyObj_AsLong(obj5
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5725 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5727 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5732 arg9
= wxString_in_helper(obj7
);
5733 if (arg9
== NULL
) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5746 if (arg6
) delete [] arg6
;
5755 if (arg6
) delete [] arg6
;
5765 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxCheckListBox
*result
;
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (wxCheckListBox
*)new wxCheckListBox();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5787 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
;
5789 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5790 wxWindow
*arg2
= (wxWindow
*) 0 ;
5792 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5793 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5794 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5795 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5796 int arg6
= (int) 0 ;
5797 wxString
*arg7
= (wxString
*) NULL
;
5798 long arg8
= (long) 0 ;
5799 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5800 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5801 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5802 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5806 bool temp9
= False
;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5809 PyObject
* obj2
= 0 ;
5810 PyObject
* obj3
= 0 ;
5811 PyObject
* obj4
= 0 ;
5812 PyObject
* obj5
= 0 ;
5813 PyObject
* obj6
= 0 ;
5814 PyObject
* obj7
= 0 ;
5815 PyObject
* obj8
= 0 ;
5817 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5824 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5841 arg6
= PyList_Size(obj5
);
5842 arg7
= wxString_LIST_helper(obj5
);
5843 if (arg7
== NULL
) SWIG_fail
;
5848 arg8
= (long) SWIG_PyObj_AsLong(obj6
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5853 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5855 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5860 arg10
= wxString_in_helper(obj8
);
5861 if (arg10
== NULL
) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5874 if (arg7
) delete [] arg7
;
5883 if (arg7
) delete [] arg7
;
5893 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5901 (char *) "self",(char *) "index", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
5905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5907 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (bool)(arg1
)->IsChecked(arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5924 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
*resultobj
;
5926 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5928 int arg3
= (int) True
;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 PyObject
* obj2
= 0 ;
5933 (char *) "self",(char *) "index",(char *) "check", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5939 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5944 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 (arg1
)->Check(arg2
,arg3
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 Py_INCREF(Py_None
); resultobj
= Py_None
;
5962 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5969 PyObject
* obj1
= 0 ;
5971 (char *) "self",(char *) "pt", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_PyObj_FromInt((int)result
);
5994 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6002 PyObject
* obj2
= 0 ;
6004 (char *) "self",(char *) "x",(char *) "y", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6010 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6014 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= SWIG_PyObj_FromInt((int)result
);
6031 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6034 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6036 return Py_BuildValue((char *)"");
6038 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6039 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6044 static PyObject
*_wrap_TextCtrlNameStr_get() {
6049 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6051 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6058 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6059 PyObject
*resultobj
;
6062 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 result
= (wxTextAttr
*)new wxTextAttr();
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6077 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6078 PyObject
*resultobj
;
6079 wxColour
*arg1
= 0 ;
6080 wxColour
const &arg2_defvalue
= wxNullColour
;
6081 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6082 wxFont
const &arg3_defvalue
= wxNullFont
;
6083 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6084 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6093 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6096 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6101 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6105 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6112 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6130 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6135 argc
= PyObject_Length(args
);
6136 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6137 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6140 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6142 if ((argc
>= 1) && (argc
<= 4)) {
6145 _v
= wxColour_typecheck(argv
[0]);
6149 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6152 _v
= wxColour_typecheck(argv
[1]);
6156 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6160 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6169 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6172 SWIG_PyObj_AsInt(argv
[3]);
6173 if (PyErr_Occurred()) {
6181 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6188 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6193 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6198 (char *) "self", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 Py_INCREF(Py_None
); resultobj
= Py_None
;
6217 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6222 (char *) "self", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 Py_INCREF(Py_None
); resultobj
= Py_None
;
6241 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6244 wxColour
*arg2
= 0 ;
6246 PyObject
* obj0
= 0 ;
6247 PyObject
* obj1
= 0 ;
6249 (char *) "self",(char *) "colText", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6256 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 Py_INCREF(Py_None
); resultobj
= Py_None
;
6272 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6275 wxColour
*arg2
= 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6280 (char *) "self",(char *) "colBack", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6287 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6307 long arg3
= (long) wxTEXT_ATTR_FONT
;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6310 PyObject
* obj2
= 0 ;
6312 (char *) "self",(char *) "font",(char *) "flags", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6323 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 Py_INCREF(Py_None
); resultobj
= Py_None
;
6341 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6345 PyObject
* obj0
= 0 ;
6346 PyObject
* obj1
= 0 ;
6348 (char *) "self",(char *) "alignment", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6354 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 Py_INCREF(Py_None
); resultobj
= Py_None
;
6371 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6374 wxArrayInt
*arg2
= 0 ;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6378 (char *) "self",(char *) "tabs", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6384 if (! PySequence_Check(obj1
)) {
6385 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6388 arg2
= new wxArrayInt
;
6389 int i
, len
=PySequence_Length(obj1
);
6390 for (i
=0; i
<len
; i
++) {
6391 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6392 PyObject
* number
= PyNumber_Int(item
);
6393 arg2
->Add(PyInt_AS_LONG(number
));
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 Py_INCREF(Py_None
); resultobj
= Py_None
;
6407 if (arg2
) delete arg2
;
6412 if (arg2
) delete arg2
;
6418 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6420 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6422 PyObject
* obj0
= 0 ;
6423 PyObject
* obj1
= 0 ;
6425 (char *) "self",(char *) "indent", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6431 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 (arg1
)->SetLeftIndent(arg2
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 Py_INCREF(Py_None
); resultobj
= Py_None
;
6448 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
;
6450 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6455 (char *) "self",(char *) "indent", NULL
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6461 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 (arg1
)->SetRightIndent(arg2
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 Py_INCREF(Py_None
); resultobj
= Py_None
;
6478 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6485 (char *) "self",(char *) "flags", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6491 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 (arg1
)->SetFlags(arg2
);
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 Py_INCREF(Py_None
); resultobj
= Py_None
;
6508 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "self", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6533 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6537 PyObject
* obj0
= 0 ;
6539 (char *) "self", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6558 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6564 (char *) "self", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6583 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6608 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6614 (char *) "self", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6633 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6658 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 (char *) "self", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6683 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6689 PyObject
* obj1
= 0 ;
6691 (char *) "self",(char *) "flag", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6697 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6714 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6720 (char *) "self", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6729 result
= (wxColour
*) &_result_ref
;
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6742 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6748 (char *) "self", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6757 result
= (wxColour
*) &_result_ref
;
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6770 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6776 (char *) "self", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6785 result
= (wxFont
*) &_result_ref
;
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6798 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6804 (char *) "self", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_PyObj_FromInt((int)result
);
6823 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6827 PyObject
* obj0
= 0 ;
6829 (char *) "self", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6838 result
= (wxArrayInt
*) &_result_ref
;
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= PyList_New(0);
6847 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6848 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6849 PyList_Append(resultobj
, val
);
6859 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6865 (char *) "self", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_PyObj_FromLong((long)result
);
6884 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_PyObj_FromLong((long)result
);
6909 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "self", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_PyObj_FromLong((long)result
);
6934 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
;
6936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6938 PyObject
* obj0
= 0 ;
6940 (char *) "self", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6959 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxTextAttr
*arg1
= 0 ;
6962 wxTextAttr
*arg2
= 0 ;
6963 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6967 PyObject
* obj2
= 0 ;
6969 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6975 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6981 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6990 wxTextAttr
* resultptr
;
6991 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6992 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7000 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7003 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7005 return Py_BuildValue((char *)"");
7007 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxWindow
*arg1
= (wxWindow
*) 0 ;
7011 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7012 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7017 long arg6
= (long) 0 ;
7018 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7019 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7020 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7021 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7023 bool temp3
= False
;
7026 bool temp8
= False
;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7029 PyObject
* obj2
= 0 ;
7030 PyObject
* obj3
= 0 ;
7031 PyObject
* obj4
= 0 ;
7032 PyObject
* obj5
= 0 ;
7033 PyObject
* obj6
= 0 ;
7034 PyObject
* obj7
= 0 ;
7036 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7042 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7047 arg3
= wxString_in_helper(obj2
);
7048 if (arg3
== NULL
) SWIG_fail
;
7055 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7061 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7066 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7071 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7073 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7078 arg8
= wxString_in_helper(obj7
);
7079 if (arg8
== NULL
) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= wxPyMake_wxObject(result
);
7115 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (wxTextCtrl
*)new wxTextCtrl();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= wxPyMake_wxObject(result
);
7139 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7142 wxWindow
*arg2
= (wxWindow
*) 0 ;
7144 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7145 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7146 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7147 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7148 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7149 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7150 long arg7
= (long) 0 ;
7151 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7152 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7153 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7154 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7156 bool temp4
= False
;
7159 bool temp9
= False
;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7162 PyObject
* obj2
= 0 ;
7163 PyObject
* obj3
= 0 ;
7164 PyObject
* obj4
= 0 ;
7165 PyObject
* obj5
= 0 ;
7166 PyObject
* obj6
= 0 ;
7167 PyObject
* obj7
= 0 ;
7168 PyObject
* obj8
= 0 ;
7170 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7177 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7182 arg4
= wxString_in_helper(obj3
);
7183 if (arg4
== NULL
) SWIG_fail
;
7190 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7196 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7201 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7206 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7208 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7213 arg9
= wxString_in_helper(obj8
);
7214 if (arg9
== NULL
) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7248 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7254 (char *) "self", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7279 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7282 wxString
*arg2
= 0 ;
7283 bool temp2
= False
;
7284 PyObject
* obj0
= 0 ;
7285 PyObject
* obj1
= 0 ;
7287 (char *) "self",(char *) "value", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7293 arg2
= wxString_in_helper(obj1
);
7294 if (arg2
== NULL
) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 (arg1
)->SetValue((wxString
const &)*arg2
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 Py_INCREF(Py_None
); resultobj
= Py_None
;
7319 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7327 PyObject
* obj2
= 0 ;
7329 (char *) "self",(char *) "from",(char *) "to", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7335 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7362 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7367 PyObject
* obj0
= 0 ;
7368 PyObject
* obj1
= 0 ;
7370 (char *) "self",(char *) "lineNo", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7376 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_PyObj_FromInt((int)result
);
7393 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7398 PyObject
* obj0
= 0 ;
7399 PyObject
* obj1
= 0 ;
7401 (char *) "self",(char *) "lineNo", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7407 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7430 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7436 (char *) "self", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= SWIG_PyObj_FromInt((int)result
);
7455 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7461 (char *) "self", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7480 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7486 (char *) "self", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7505 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
;
7507 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7509 PyObject
* obj0
= 0 ;
7511 (char *) "self", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7530 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7534 PyObject
* obj0
= 0 ;
7536 (char *) "self", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7555 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7558 long *arg2
= (long *) 0 ;
7559 long *arg3
= (long *) 0 ;
7562 PyObject
* obj0
= 0 ;
7564 (char *) "self", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 Py_INCREF(Py_None
); resultobj
= Py_None
;
7580 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7581 resultobj
= t_output_helper(resultobj
,o
);
7584 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7585 resultobj
= t_output_helper(resultobj
,o
);
7593 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7624 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7627 PyObject
* obj0
= 0 ;
7629 (char *) "self", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 Py_INCREF(Py_None
); resultobj
= Py_None
;
7648 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7653 wxString
*arg4
= 0 ;
7654 bool temp4
= False
;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7657 PyObject
* obj2
= 0 ;
7658 PyObject
* obj3
= 0 ;
7660 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7674 arg4
= wxString_in_helper(obj3
);
7675 if (arg4
== NULL
) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 Py_INCREF(Py_None
); resultobj
= Py_None
;
7700 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7706 PyObject
* obj1
= 0 ;
7707 PyObject
* obj2
= 0 ;
7709 (char *) "self",(char *) "from",(char *) "to", NULL
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7715 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7719 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 (arg1
)->Remove(arg2
,arg3
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 Py_INCREF(Py_None
); resultobj
= Py_None
;
7736 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7739 wxString
*arg2
= 0 ;
7741 bool temp2
= False
;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7745 (char *) "self",(char *) "file", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7751 arg2
= wxString_in_helper(obj1
);
7752 if (arg2
== NULL
) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7777 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7780 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7781 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7783 bool temp2
= False
;
7784 PyObject
* obj0
= 0 ;
7785 PyObject
* obj1
= 0 ;
7787 (char *) "self",(char *) "file", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7794 arg2
= wxString_in_helper(obj1
);
7795 if (arg2
== NULL
) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7821 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7826 (char *) "self", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 (arg1
)->MarkDirty();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 Py_INCREF(Py_None
); resultobj
= Py_None
;
7845 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7848 PyObject
* obj0
= 0 ;
7850 (char *) "self", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 (arg1
)->DiscardEdits();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7872 unsigned long arg2
;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7876 (char *) "self",(char *) "len", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7882 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->SetMaxLength(arg2
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7902 wxString
*arg2
= 0 ;
7903 bool temp2
= False
;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7907 (char *) "self",(char *) "text", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7913 arg2
= wxString_in_helper(obj1
);
7914 if (arg2
== NULL
) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 (arg1
)->WriteText((wxString
const &)*arg2
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7942 wxString
*arg2
= 0 ;
7943 bool temp2
= False
;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7947 (char *) "self",(char *) "text", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7953 arg2
= wxString_in_helper(obj1
);
7954 if (arg2
== NULL
) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 (arg1
)->AppendText((wxString
const &)*arg2
);
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7964 Py_INCREF(Py_None
); resultobj
= Py_None
;
7979 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7982 wxKeyEvent
*arg2
= 0 ;
7984 PyObject
* obj0
= 0 ;
7985 PyObject
* obj1
= 0 ;
7987 (char *) "self",(char *) "event", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8010 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8015 wxTextAttr
*arg4
= 0 ;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8019 PyObject
* obj2
= 0 ;
8020 PyObject
* obj3
= 0 ;
8022 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8028 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8032 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8037 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8053 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8057 wxTextAttr
*arg3
= 0 ;
8059 PyObject
* obj0
= 0 ;
8060 PyObject
* obj1
= 0 ;
8061 PyObject
* obj2
= 0 ;
8063 (char *) "self",(char *) "position",(char *) "style", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8069 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8090 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8093 wxTextAttr
*arg2
= 0 ;
8095 PyObject
* obj0
= 0 ;
8096 PyObject
* obj1
= 0 ;
8098 (char *) "self",(char *) "style", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8105 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8121 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8136 result
= (wxTextAttr
*) &_result_ref
;
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8149 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8157 PyObject
* obj2
= 0 ;
8159 (char *) "self",(char *) "x",(char *) "y", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8165 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8169 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 resultobj
= SWIG_PyObj_FromLong((long)result
);
8186 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8190 long *arg3
= (long *) 0 ;
8191 long *arg4
= (long *) 0 ;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8197 (char *) "self",(char *) "pos", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8205 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 Py_INCREF(Py_None
); resultobj
= Py_None
;
8217 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8218 resultobj
= t_output_helper(resultobj
,o
);
8221 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8222 resultobj
= t_output_helper(resultobj
,o
);
8230 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8237 (char *) "self",(char *) "pos", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8243 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 (arg1
)->ShowPosition(arg2
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 Py_INCREF(Py_None
); resultobj
= Py_None
;
8260 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8263 PyObject
* obj0
= 0 ;
8265 (char *) "self", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 Py_INCREF(Py_None
); resultobj
= Py_None
;
8284 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8289 (char *) "self", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8308 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8311 PyObject
* obj0
= 0 ;
8313 (char *) "self", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8336 PyObject
* obj0
= 0 ;
8338 (char *) "self", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8357 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8361 PyObject
* obj0
= 0 ;
8363 (char *) "self", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8382 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8386 PyObject
* obj0
= 0 ;
8388 (char *) "self", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8407 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8412 (char *) "self", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 Py_INCREF(Py_None
); resultobj
= Py_None
;
8431 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8434 PyObject
* obj0
= 0 ;
8436 (char *) "self", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 Py_INCREF(Py_None
); resultobj
= Py_None
;
8455 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "self", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8480 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8486 (char *) "self", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8505 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8512 (char *) "self",(char *) "pos", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8518 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 (arg1
)->SetInsertionPoint(arg2
);
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8528 Py_INCREF(Py_None
); resultobj
= Py_None
;
8535 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8540 (char *) "self", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 (arg1
)->SetInsertionPointEnd();
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 Py_INCREF(Py_None
); resultobj
= Py_None
;
8559 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8563 PyObject
* obj0
= 0 ;
8565 (char *) "self", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_PyObj_FromLong((long)result
);
8584 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
;
8586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8588 PyObject
* obj0
= 0 ;
8590 (char *) "self", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_PyObj_FromLong((long)result
);
8609 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8616 PyObject
* obj2
= 0 ;
8618 (char *) "self",(char *) "from",(char *) "to", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8624 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8628 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 (arg1
)->SetSelection(arg2
,arg3
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 Py_INCREF(Py_None
); resultobj
= Py_None
;
8645 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8648 PyObject
* obj0
= 0 ;
8650 (char *) "self", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 (arg1
)->SelectAll();
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8669 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8676 (char *) "self",(char *) "editable", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8682 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 (arg1
)->SetEditable(arg2
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 Py_INCREF(Py_None
); resultobj
= Py_None
;
8699 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8702 wxString
*arg2
= 0 ;
8703 bool temp2
= False
;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj1
= 0 ;
8707 (char *) "self",(char *) "text", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8713 arg2
= wxString_in_helper(obj1
);
8714 if (arg2
== NULL
) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 Py_INCREF(Py_None
); resultobj
= Py_None
;
8739 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8749 (char *) "self",(char *) "from",(char *) "to", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8755 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8759 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8782 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8785 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8787 return Py_BuildValue((char *)"");
8789 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8792 wxMouseEvent
*arg2
= 0 ;
8795 wxTextUrlEvent
*result
;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 PyObject
* obj2
= 0 ;
8799 PyObject
* obj3
= 0 ;
8801 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8806 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8814 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8818 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8835 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8838 wxMouseEvent
*result
;
8839 PyObject
* obj0
= 0 ;
8841 (char *) "self", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8850 result
= (wxMouseEvent
*) &_result_ref
;
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8863 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8867 PyObject
* obj0
= 0 ;
8869 (char *) "self", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_PyObj_FromLong((long)result
);
8888 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8892 PyObject
* obj0
= 0 ;
8894 (char *) "self", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= SWIG_PyObj_FromLong((long)result
);
8913 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8916 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8918 return Py_BuildValue((char *)"");
8920 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
8921 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
8926 static PyObject
*_wrap_ScrollBarNameStr_get() {
8931 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8933 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8940 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxWindow
*arg1
= (wxWindow
*) 0 ;
8943 int arg2
= (int) -1 ;
8944 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8945 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8946 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8947 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8948 long arg5
= (long) wxSB_HORIZONTAL
;
8949 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8950 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8951 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8952 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8953 wxScrollBar
*result
;
8956 bool temp7
= False
;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8959 PyObject
* obj2
= 0 ;
8960 PyObject
* obj3
= 0 ;
8961 PyObject
* obj4
= 0 ;
8962 PyObject
* obj5
= 0 ;
8963 PyObject
* obj6
= 0 ;
8965 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8972 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8979 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8985 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8990 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8995 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9002 arg7
= wxString_in_helper(obj6
);
9003 if (arg7
== NULL
) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9029 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxScrollBar
*result
;
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxScrollBar
*)new wxScrollBar();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9051 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9054 wxWindow
*arg2
= (wxWindow
*) 0 ;
9055 int arg3
= (int) -1 ;
9056 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9057 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9058 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9059 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9060 long arg6
= (long) wxSB_HORIZONTAL
;
9061 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9062 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9063 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9064 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9068 bool temp8
= False
;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9071 PyObject
* obj2
= 0 ;
9072 PyObject
* obj3
= 0 ;
9073 PyObject
* obj4
= 0 ;
9074 PyObject
* obj5
= 0 ;
9075 PyObject
* obj6
= 0 ;
9076 PyObject
* obj7
= 0 ;
9078 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9086 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9104 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9109 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9116 arg8
= wxString_in_helper(obj7
);
9117 if (arg8
== NULL
) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9143 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9147 PyObject
* obj0
= 0 ;
9149 (char *) "self", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= SWIG_PyObj_FromInt((int)result
);
9168 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
;
9170 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9172 PyObject
* obj0
= 0 ;
9174 (char *) "self", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_PyObj_FromInt((int)result
);
9193 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9197 PyObject
* obj0
= 0 ;
9199 (char *) "self", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_PyObj_FromInt((int)result
);
9218 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_PyObj_FromInt((int)result
);
9243 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9268 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9275 (char *) "self",(char *) "viewStart", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9281 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 (arg1
)->SetThumbPosition(arg2
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 Py_INCREF(Py_None
); resultobj
= Py_None
;
9298 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9305 bool arg6
= (bool) True
;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9308 PyObject
* obj2
= 0 ;
9309 PyObject
* obj3
= 0 ;
9310 PyObject
* obj4
= 0 ;
9311 PyObject
* obj5
= 0 ;
9313 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9319 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9327 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9331 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9336 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 Py_INCREF(Py_None
); resultobj
= Py_None
;
9354 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9357 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9359 return Py_BuildValue((char *)"");
9361 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9362 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9367 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9372 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9374 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9381 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9382 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9387 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9392 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9394 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9401 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxWindow
*arg1
= (wxWindow
*) 0 ;
9404 int arg2
= (int) -1 ;
9405 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9406 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9407 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9408 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9409 long arg5
= (long) wxSP_HORIZONTAL
;
9410 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9411 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9412 wxSpinButton
*result
;
9415 bool temp6
= False
;
9416 PyObject
* obj0
= 0 ;
9417 PyObject
* obj1
= 0 ;
9418 PyObject
* obj2
= 0 ;
9419 PyObject
* obj3
= 0 ;
9420 PyObject
* obj4
= 0 ;
9421 PyObject
* obj5
= 0 ;
9423 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9437 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9443 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9448 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9454 arg6
= wxString_in_helper(obj5
);
9455 if (arg6
== NULL
) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9481 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxSpinButton
*result
;
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (wxSpinButton
*)new wxSpinButton();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9503 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9506 wxWindow
*arg2
= (wxWindow
*) 0 ;
9507 int arg3
= (int) -1 ;
9508 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9509 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9510 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9511 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9512 long arg6
= (long) wxSP_HORIZONTAL
;
9513 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9514 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9518 bool temp7
= False
;
9519 PyObject
* obj0
= 0 ;
9520 PyObject
* obj1
= 0 ;
9521 PyObject
* obj2
= 0 ;
9522 PyObject
* obj3
= 0 ;
9523 PyObject
* obj4
= 0 ;
9524 PyObject
* obj5
= 0 ;
9525 PyObject
* obj6
= 0 ;
9527 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9535 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9553 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9559 arg7
= wxString_in_helper(obj6
);
9560 if (arg7
== NULL
) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9586 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9592 (char *) "self", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_PyObj_FromInt((int)result
);
9611 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_PyObj_FromInt((int)result
);
9636 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9642 (char *) "self", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_PyObj_FromInt((int)result
);
9661 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9668 (char *) "self",(char *) "val", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9674 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 (arg1
)->SetValue(arg2
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 Py_INCREF(Py_None
); resultobj
= Py_None
;
9691 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9698 (char *) "self",(char *) "minVal", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9704 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetMin(arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 Py_INCREF(Py_None
); resultobj
= Py_None
;
9721 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9728 (char *) "self",(char *) "maxVal", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9734 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 (arg1
)->SetMax(arg2
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 Py_INCREF(Py_None
); resultobj
= Py_None
;
9751 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9756 PyObject
* obj0
= 0 ;
9757 PyObject
* obj1
= 0 ;
9758 PyObject
* obj2
= 0 ;
9760 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9766 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 (arg1
)->SetRange(arg2
,arg3
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 Py_INCREF(Py_None
); resultobj
= Py_None
;
9787 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9793 (char *) "self", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9812 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
9814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9815 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
9817 return Py_BuildValue((char *)"");
9819 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxWindow
*arg1
= (wxWindow
*) 0 ;
9822 int arg2
= (int) -1 ;
9823 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9824 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9825 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9826 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9827 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9828 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9829 long arg6
= (long) wxSP_ARROW_KEYS
;
9830 int arg7
= (int) 0 ;
9831 int arg8
= (int) 100 ;
9832 int arg9
= (int) 0 ;
9833 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
9834 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
9836 bool temp3
= False
;
9839 bool temp10
= False
;
9840 PyObject
* obj0
= 0 ;
9841 PyObject
* obj1
= 0 ;
9842 PyObject
* obj2
= 0 ;
9843 PyObject
* obj3
= 0 ;
9844 PyObject
* obj4
= 0 ;
9845 PyObject
* obj5
= 0 ;
9846 PyObject
* obj6
= 0 ;
9847 PyObject
* obj7
= 0 ;
9848 PyObject
* obj8
= 0 ;
9849 PyObject
* obj9
= 0 ;
9851 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9858 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9864 arg3
= wxString_in_helper(obj2
);
9865 if (arg3
== NULL
) SWIG_fail
;
9872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9883 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9889 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9895 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9901 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9907 arg10
= wxString_in_helper(obj9
);
9908 if (arg10
== NULL
) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9942 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (wxSpinCtrl
*)new wxSpinCtrl();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9964 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9967 wxWindow
*arg2
= (wxWindow
*) 0 ;
9968 int arg3
= (int) -1 ;
9969 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9970 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9971 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9972 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9973 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9974 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9975 long arg7
= (long) wxSP_ARROW_KEYS
;
9976 int arg8
= (int) 0 ;
9977 int arg9
= (int) 100 ;
9978 int arg10
= (int) 0 ;
9979 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
9980 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9982 bool temp4
= False
;
9985 bool temp11
= False
;
9986 PyObject
* obj0
= 0 ;
9987 PyObject
* obj1
= 0 ;
9988 PyObject
* obj2
= 0 ;
9989 PyObject
* obj3
= 0 ;
9990 PyObject
* obj4
= 0 ;
9991 PyObject
* obj5
= 0 ;
9992 PyObject
* obj6
= 0 ;
9993 PyObject
* obj7
= 0 ;
9994 PyObject
* obj8
= 0 ;
9995 PyObject
* obj9
= 0 ;
9996 PyObject
* obj10
= 0 ;
9998 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10003 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10006 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10012 arg4
= wxString_in_helper(obj3
);
10013 if (arg4
== NULL
) SWIG_fail
;
10020 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10026 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10031 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10037 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10043 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10049 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10055 arg11
= wxString_in_helper(obj10
);
10056 if (arg11
== NULL
) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10090 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_PyObj_FromInt((int)result
);
10115 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
*resultobj
;
10117 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 PyObject
* obj1
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self",(char *) "value", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10128 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 (arg1
)->SetValue(arg2
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 Py_INCREF(Py_None
); resultobj
= Py_None
;
10145 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10148 wxString
*arg2
= 0 ;
10149 bool temp2
= False
;
10150 PyObject
* obj0
= 0 ;
10151 PyObject
* obj1
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "self",(char *) "text", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10159 arg2
= wxString_in_helper(obj1
);
10160 if (arg2
== NULL
) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 (arg1
)->SetValue((wxString
const &)*arg2
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 Py_INCREF(Py_None
); resultobj
= Py_None
;
10185 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 PyObject
* obj2
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10200 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10204 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 (arg1
)->SetRange(arg2
,arg3
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 Py_INCREF(Py_None
); resultobj
= Py_None
;
10221 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= SWIG_PyObj_FromInt((int)result
);
10246 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= SWIG_PyObj_FromInt((int)result
);
10271 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
;
10273 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 PyObject
* obj2
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self",(char *) "from",(char *) "to", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10286 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 (arg1
)->SetSelection(arg2
,arg3
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 Py_INCREF(Py_None
); resultobj
= Py_None
;
10307 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10310 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10312 return Py_BuildValue((char *)"");
10314 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10317 int arg2
= (int) 0 ;
10318 wxSpinEvent
*result
;
10319 PyObject
* obj0
= 0 ;
10320 PyObject
* obj1
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "commandType",(char *) "winid", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10328 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10334 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10352 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= SWIG_PyObj_FromInt((int)result
);
10377 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self",(char *) "pos", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10390 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 (arg1
)->SetPosition(arg2
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 Py_INCREF(Py_None
); resultobj
= Py_None
;
10407 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10410 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10412 return Py_BuildValue((char *)"");
10414 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10415 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10420 static PyObject
*_wrap_RadioBoxNameStr_get() {
10425 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10427 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10434 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10435 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10440 static PyObject
*_wrap_RadioButtonNameStr_get() {
10445 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10447 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10454 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxWindow
*arg1
= (wxWindow
*) 0 ;
10458 wxString
*arg3
= 0 ;
10459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10463 int arg6
= (int) 0 ;
10464 wxString
*arg7
= (wxString
*) NULL
;
10465 int arg8
= (int) 0 ;
10466 long arg9
= (long) wxRA_HORIZONTAL
;
10467 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10468 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10469 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10470 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10471 wxRadioBox
*result
;
10472 bool temp3
= False
;
10475 bool temp10
= False
;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 PyObject
* obj2
= 0 ;
10479 PyObject
* obj3
= 0 ;
10480 PyObject
* obj4
= 0 ;
10481 PyObject
* obj5
= 0 ;
10482 PyObject
* obj6
= 0 ;
10483 PyObject
* obj7
= 0 ;
10484 PyObject
* obj8
= 0 ;
10485 PyObject
* obj9
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10493 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 arg3
= wxString_in_helper(obj2
);
10498 if (arg3
== NULL
) SWIG_fail
;
10504 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10510 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10515 arg6
= PyList_Size(obj5
);
10516 arg7
= wxString_LIST_helper(obj5
);
10517 if (arg7
== NULL
) SWIG_fail
;
10522 arg8
= (int) SWIG_PyObj_AsInt(obj6
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10528 arg9
= (long) SWIG_PyObj_AsLong(obj7
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10533 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10534 if (arg10
== NULL
) {
10535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10540 arg11
= wxString_in_helper(obj9
);
10541 if (arg11
== NULL
) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 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
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10558 if (arg7
) delete [] arg7
;
10571 if (arg7
) delete [] arg7
;
10581 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxRadioBox
*result
;
10584 char *kwnames
[] = {
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (wxRadioBox
*)new wxRadioBox();
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10603 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10606 wxWindow
*arg2
= (wxWindow
*) 0 ;
10608 wxString
*arg4
= 0 ;
10609 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10610 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10611 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10612 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10613 int arg7
= (int) 0 ;
10614 wxString
*arg8
= (wxString
*) NULL
;
10615 int arg9
= (int) 0 ;
10616 long arg10
= (long) wxRA_HORIZONTAL
;
10617 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
10618 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
10619 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
10620 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
10622 bool temp4
= False
;
10625 bool temp11
= False
;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 PyObject
* obj2
= 0 ;
10629 PyObject
* obj3
= 0 ;
10630 PyObject
* obj4
= 0 ;
10631 PyObject
* obj5
= 0 ;
10632 PyObject
* obj6
= 0 ;
10633 PyObject
* obj7
= 0 ;
10634 PyObject
* obj8
= 0 ;
10635 PyObject
* obj9
= 0 ;
10636 PyObject
* obj10
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10645 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 arg4
= wxString_in_helper(obj3
);
10650 if (arg4
== NULL
) SWIG_fail
;
10656 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10662 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10667 arg7
= PyList_Size(obj6
);
10668 arg8
= wxString_LIST_helper(obj6
);
10669 if (arg8
== NULL
) SWIG_fail
;
10674 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10680 arg10
= (long) SWIG_PyObj_AsLong(obj8
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10685 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10686 if (arg11
== NULL
) {
10687 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10692 arg12
= wxString_in_helper(obj10
);
10693 if (arg12
== NULL
) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 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
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10710 if (arg8
) delete [] arg8
;
10723 if (arg8
) delete [] arg8
;
10733 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self",(char *) "n", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10746 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 (arg1
)->SetSelection(arg2
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 Py_INCREF(Py_None
); resultobj
= Py_None
;
10763 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_PyObj_FromInt((int)result
);
10788 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10790 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10792 PyObject
* obj0
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10819 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10822 wxString
*arg2
= 0 ;
10824 bool temp2
= False
;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self",(char *) "s", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10834 arg2
= wxString_in_helper(obj1
);
10835 if (arg2
== NULL
) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10860 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10864 PyObject
* obj0
= 0 ;
10865 char *kwnames
[] = {
10866 (char *) "self", NULL
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
10870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 resultobj
= SWIG_PyObj_FromInt((int)result
);
10885 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10888 wxString
*arg2
= 0 ;
10890 bool temp2
= False
;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self",(char *) "s", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
10898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10900 arg2
= wxString_in_helper(obj1
);
10901 if (arg2
== NULL
) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= SWIG_PyObj_FromInt((int)result
);
10926 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "n", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10940 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10963 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
;
10965 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10967 wxString
*arg3
= 0 ;
10968 bool temp3
= False
;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 PyObject
* obj2
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self",(char *) "n",(char *) "label", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10979 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10983 arg3
= wxString_in_helper(obj2
);
10984 if (arg3
== NULL
) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 Py_INCREF(Py_None
); resultobj
= Py_None
;
11009 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11013 bool arg3
= (bool) True
;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 PyObject
* obj2
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self",(char *) "n",(char *) "enable", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11024 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11029 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 (arg1
)->Enable(arg2
,arg3
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 Py_INCREF(Py_None
); resultobj
= Py_None
;
11047 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11051 bool arg3
= (bool) True
;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 PyObject
* obj2
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self",(char *) "n",(char *) "show", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11062 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11067 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 (arg1
)->Show(arg2
,arg3
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 Py_INCREF(Py_None
); resultobj
= Py_None
;
11085 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_PyObj_FromInt((int)result
);
11110 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= SWIG_PyObj_FromInt((int)result
);
11135 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 PyObject
* obj1
= 0 ;
11144 PyObject
* obj2
= 0 ;
11145 PyObject
* obj3
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11153 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_PyObj_FromInt((int)result
);
11178 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11181 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11183 return Py_BuildValue((char *)"");
11185 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxWindow
*arg1
= (wxWindow
*) 0 ;
11189 wxString
*arg3
= 0 ;
11190 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11191 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11192 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11193 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11194 long arg6
= (long) 0 ;
11195 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11196 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11197 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11198 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11199 wxRadioButton
*result
;
11200 bool temp3
= False
;
11203 bool temp8
= False
;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 PyObject
* obj2
= 0 ;
11207 PyObject
* obj3
= 0 ;
11208 PyObject
* obj4
= 0 ;
11209 PyObject
* obj5
= 0 ;
11210 PyObject
* obj6
= 0 ;
11211 PyObject
* obj7
= 0 ;
11212 char *kwnames
[] = {
11213 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11219 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 arg3
= wxString_in_helper(obj2
);
11224 if (arg3
== NULL
) SWIG_fail
;
11230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11241 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11246 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11247 if (arg7
== NULL
) {
11248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11253 arg8
= wxString_in_helper(obj7
);
11254 if (arg8
== NULL
) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11288 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxRadioButton
*result
;
11291 char *kwnames
[] = {
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= (wxRadioButton
*)new wxRadioButton();
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11310 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11313 wxWindow
*arg2
= (wxWindow
*) 0 ;
11315 wxString
*arg4
= 0 ;
11316 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11317 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11318 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11319 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11320 long arg7
= (long) 0 ;
11321 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11322 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11323 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11324 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11326 bool temp4
= False
;
11329 bool temp9
= False
;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 PyObject
* obj2
= 0 ;
11333 PyObject
* obj3
= 0 ;
11334 PyObject
* obj4
= 0 ;
11335 PyObject
* obj5
= 0 ;
11336 PyObject
* obj6
= 0 ;
11337 PyObject
* obj7
= 0 ;
11338 PyObject
* obj8
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11347 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11351 arg4
= wxString_in_helper(obj3
);
11352 if (arg4
== NULL
) SWIG_fail
;
11358 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11364 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11369 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11374 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11375 if (arg8
== NULL
) {
11376 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11381 arg9
= wxString_in_helper(obj8
);
11382 if (arg9
== NULL
) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11416 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
;
11418 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11420 PyObject
* obj0
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 result
= (bool)(arg1
)->GetValue();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11441 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "self",(char *) "value", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11454 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 (arg1
)->SetValue(arg2
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 Py_INCREF(Py_None
); resultobj
= Py_None
;
11471 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11474 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11476 return Py_BuildValue((char *)"");
11478 static int _wrap_SliderNameStr_set(PyObject
*) {
11479 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11484 static PyObject
*_wrap_SliderNameStr_get() {
11489 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11491 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11498 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxWindow
*arg1
= (wxWindow
*) 0 ;
11505 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11506 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11507 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11508 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11509 long arg8
= (long) wxSL_HORIZONTAL
;
11510 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11511 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11512 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11513 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11517 bool temp10
= False
;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 PyObject
* obj2
= 0 ;
11521 PyObject
* obj3
= 0 ;
11522 PyObject
* obj4
= 0 ;
11523 PyObject
* obj5
= 0 ;
11524 PyObject
* obj6
= 0 ;
11525 PyObject
* obj7
= 0 ;
11526 PyObject
* obj8
= 0 ;
11527 PyObject
* obj9
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11535 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11539 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11553 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11559 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11564 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11569 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11570 if (arg9
== NULL
) {
11571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11576 arg10
= wxString_in_helper(obj9
);
11577 if (arg10
== NULL
) SWIG_fail
;
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11603 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11606 char *kwnames
[] = {
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (wxSlider
*)new wxSlider();
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11625 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxSlider
*arg1
= (wxSlider
*) 0 ;
11628 wxWindow
*arg2
= (wxWindow
*) 0 ;
11633 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11634 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11635 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11636 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11637 long arg9
= (long) wxSL_HORIZONTAL
;
11638 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11639 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11640 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11641 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11645 bool temp11
= False
;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 PyObject
* obj2
= 0 ;
11649 PyObject
* obj3
= 0 ;
11650 PyObject
* obj4
= 0 ;
11651 PyObject
* obj5
= 0 ;
11652 PyObject
* obj6
= 0 ;
11653 PyObject
* obj7
= 0 ;
11654 PyObject
* obj8
= 0 ;
11655 PyObject
* obj9
= 0 ;
11656 PyObject
* obj10
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11665 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11669 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11677 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11683 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11689 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
11694 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11699 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11700 if (arg10
== NULL
) {
11701 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11706 arg11
= wxString_in_helper(obj10
);
11707 if (arg11
== NULL
) SWIG_fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11733 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxSlider
*arg1
= (wxSlider
*) 0 ;
11737 PyObject
* obj0
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (int)((wxSlider
const *)arg1
)->GetValue();
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= SWIG_PyObj_FromInt((int)result
);
11758 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxSlider
*arg1
= (wxSlider
*) 0 ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self",(char *) "value", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11771 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 (arg1
)->SetValue(arg2
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 Py_INCREF(Py_None
); resultobj
= Py_None
;
11788 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxSlider
*arg1
= (wxSlider
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 PyObject
* obj2
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11803 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 (arg1
)->SetRange(arg2
,arg3
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxSlider
*arg1
= (wxSlider
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (int)((wxSlider
const *)arg1
)->GetMin();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= SWIG_PyObj_FromInt((int)result
);
11849 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxSlider
*arg1
= (wxSlider
*) 0 ;
11853 PyObject
* obj0
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
11859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (int)((wxSlider
const *)arg1
)->GetMax();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_PyObj_FromInt((int)result
);
11874 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxSlider
*arg1
= (wxSlider
*) 0 ;
11878 PyObject
* obj0
= 0 ;
11879 PyObject
* obj1
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self",(char *) "minValue", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11887 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 (arg1
)->SetMin(arg2
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 Py_INCREF(Py_None
); resultobj
= Py_None
;
11904 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxSlider
*arg1
= (wxSlider
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 PyObject
* obj1
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self",(char *) "maxValue", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11917 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 (arg1
)->SetMax(arg2
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 Py_INCREF(Py_None
); resultobj
= Py_None
;
11934 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxSlider
*arg1
= (wxSlider
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self",(char *) "lineSize", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11947 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SetLineSize(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 Py_INCREF(Py_None
); resultobj
= Py_None
;
11964 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxSlider
*arg1
= (wxSlider
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "pageSize", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11977 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 (arg1
)->SetPageSize(arg2
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 Py_INCREF(Py_None
); resultobj
= Py_None
;
11994 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxSlider
*arg1
= (wxSlider
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_PyObj_FromInt((int)result
);
12019 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxSlider
*arg1
= (wxSlider
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= SWIG_PyObj_FromInt((int)result
);
12044 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxSlider
*arg1
= (wxSlider
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self",(char *) "lenPixels", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12057 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 (arg1
)->SetThumbLength(arg2
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 Py_INCREF(Py_None
); resultobj
= Py_None
;
12074 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxSlider
*arg1
= (wxSlider
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_PyObj_FromInt((int)result
);
12099 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxSlider
*arg1
= (wxSlider
*) 0 ;
12103 int arg3
= (int) 1 ;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 PyObject
* obj2
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self",(char *) "n",(char *) "pos", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12114 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12119 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->SetTickFreq(arg2
,arg3
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12137 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxSlider
*arg1
= (wxSlider
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_PyObj_FromInt((int)result
);
12162 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxSlider
*arg1
= (wxSlider
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 (arg1
)->ClearTicks();
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 Py_INCREF(Py_None
); resultobj
= Py_None
;
12186 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
;
12188 wxSlider
*arg1
= (wxSlider
*) 0 ;
12190 PyObject
* obj0
= 0 ;
12191 PyObject
* obj1
= 0 ;
12192 char *kwnames
[] = {
12193 (char *) "self",(char *) "tickPos", NULL
12196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12199 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 (arg1
)->SetTick(arg2
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 Py_INCREF(Py_None
); resultobj
= Py_None
;
12216 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxSlider
*arg1
= (wxSlider
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 (arg1
)->ClearSel();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 Py_INCREF(Py_None
); resultobj
= Py_None
;
12240 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxSlider
*arg1
= (wxSlider
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_PyObj_FromInt((int)result
);
12265 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxSlider
*arg1
= (wxSlider
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 resultobj
= SWIG_PyObj_FromInt((int)result
);
12290 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxSlider
*arg1
= (wxSlider
*) 0 ;
12295 PyObject
* obj0
= 0 ;
12296 PyObject
* obj1
= 0 ;
12297 PyObject
* obj2
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self",(char *) "min",(char *) "max", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12305 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12309 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 (arg1
)->SetSelection(arg2
,arg3
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 Py_INCREF(Py_None
); resultobj
= Py_None
;
12326 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12329 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12331 return Py_BuildValue((char *)"");
12333 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12334 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12339 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12344 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12346 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12353 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxWindow
*arg1
= (wxWindow
*) 0 ;
12357 wxString
*arg3
= 0 ;
12358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12362 long arg6
= (long) 0 ;
12363 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12364 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12365 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12367 wxToggleButton
*result
;
12368 bool temp3
= False
;
12371 bool temp8
= False
;
12372 PyObject
* obj0
= 0 ;
12373 PyObject
* obj1
= 0 ;
12374 PyObject
* obj2
= 0 ;
12375 PyObject
* obj3
= 0 ;
12376 PyObject
* obj4
= 0 ;
12377 PyObject
* obj5
= 0 ;
12378 PyObject
* obj6
= 0 ;
12379 PyObject
* obj7
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12387 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12391 arg3
= wxString_in_helper(obj2
);
12392 if (arg3
== NULL
) SWIG_fail
;
12398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12409 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12414 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12415 if (arg7
== NULL
) {
12416 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12421 arg8
= wxString_in_helper(obj7
);
12422 if (arg8
== NULL
) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12456 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxToggleButton
*result
;
12459 char *kwnames
[] = {
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (wxToggleButton
*)new wxToggleButton();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12478 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
12480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12481 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12483 return Py_BuildValue((char *)"");
12485 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12486 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12491 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12496 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12498 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12505 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
12530 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self",(char *) "n", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12544 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= wxPyMake_wxObject(result
);
12563 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= SWIG_PyObj_FromInt((int)result
);
12588 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12592 wxString
*arg3
= 0 ;
12594 bool temp3
= False
;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 PyObject
* obj2
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self",(char *) "n",(char *) "strText", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12605 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12609 arg3
= wxString_in_helper(obj2
);
12610 if (arg3
== NULL
) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12635 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "n", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12649 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12672 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12675 wxImageList
*arg2
= (wxImageList
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self",(char *) "imageList", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->SetImageList(arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12702 wxImageList
*arg2
= (wxImageList
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self",(char *) "imageList", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->AssignImageList(arg2
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12729 wxImageList
*result
;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= wxPyMake_wxObject(result
);
12753 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "n", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12767 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_PyObj_FromInt((int)result
);
12784 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 PyObject
* obj2
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self",(char *) "n",(char *) "imageId", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12800 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12821 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 PyObject
* obj1
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self",(char *) "size", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12836 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 Py_INCREF(Py_None
); resultobj
= Py_None
;
12852 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 PyObject
* obj1
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self",(char *) "sizePage", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12868 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 wxSize
* resultptr
;
12879 resultptr
= new wxSize((wxSize
&) result
);
12880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12888 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self",(char *) "n", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12902 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 result
= (bool)(arg1
)->DeletePage(arg2
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12919 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "self",(char *) "n", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
12931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12933 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (bool)(arg1
)->RemovePage(arg2
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12950 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12954 PyObject
* obj0
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
12960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (bool)(arg1
)->DeleteAllPages();
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12975 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12978 wxWindow
*arg2
= (wxWindow
*) 0 ;
12979 wxString
*arg3
= 0 ;
12980 bool arg4
= (bool) False
;
12981 int arg5
= (int) -1 ;
12983 bool temp3
= False
;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 PyObject
* obj2
= 0 ;
12987 PyObject
* obj3
= 0 ;
12988 PyObject
* obj4
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12997 arg3
= wxString_in_helper(obj2
);
12998 if (arg3
== NULL
) SWIG_fail
;
13003 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13009 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13035 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13039 wxWindow
*arg3
= (wxWindow
*) 0 ;
13040 wxString
*arg4
= 0 ;
13041 bool arg5
= (bool) False
;
13042 int arg6
= (int) -1 ;
13044 bool temp4
= False
;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 PyObject
* obj2
= 0 ;
13048 PyObject
* obj3
= 0 ;
13049 PyObject
* obj4
= 0 ;
13050 PyObject
* obj5
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13058 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13063 arg4
= wxString_in_helper(obj3
);
13064 if (arg4
== NULL
) SWIG_fail
;
13069 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13075 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13101 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self",(char *) "n", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13115 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (int)(arg1
)->SetSelection(arg2
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= SWIG_PyObj_FromInt((int)result
);
13132 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13135 bool arg2
= (bool) True
;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 char *kwnames
[] = {
13139 (char *) "self",(char *) "forward", NULL
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13146 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 (arg1
)->AdvanceSelection(arg2
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 Py_INCREF(Py_None
); resultobj
= Py_None
;
13164 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13167 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13169 return Py_BuildValue((char *)"");
13171 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13174 int arg2
= (int) 0 ;
13175 int arg3
= (int) -1 ;
13176 int arg4
= (int) -1 ;
13177 wxBookCtrlEvent
*result
;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 PyObject
* obj2
= 0 ;
13181 PyObject
* obj3
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13189 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13195 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13201 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13207 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13225 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_PyObj_FromInt((int)result
);
13250 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13254 PyObject
* obj0
= 0 ;
13255 PyObject
* obj1
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self",(char *) "nSel", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13263 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->SetSelection(arg2
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 Py_INCREF(Py_None
); resultobj
= Py_None
;
13280 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_PyObj_FromInt((int)result
);
13305 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 PyObject
* obj1
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self",(char *) "nOldSel", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13318 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 (arg1
)->SetOldSelection(arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 Py_INCREF(Py_None
); resultobj
= Py_None
;
13335 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13338 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13340 return Py_BuildValue((char *)"");
13342 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxWindow
*arg1
= (wxWindow
*) 0 ;
13346 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13347 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13348 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13349 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13350 long arg5
= (long) 0 ;
13351 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13352 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13353 wxNotebook
*result
;
13356 bool temp6
= False
;
13357 PyObject
* obj0
= 0 ;
13358 PyObject
* obj1
= 0 ;
13359 PyObject
* obj2
= 0 ;
13360 PyObject
* obj3
= 0 ;
13361 PyObject
* obj4
= 0 ;
13362 PyObject
* obj5
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13370 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13376 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13382 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13387 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13393 arg6
= wxString_in_helper(obj5
);
13394 if (arg6
== NULL
) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= wxPyMake_wxObject(result
);
13422 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxNotebook
*result
;
13425 char *kwnames
[] = {
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= (wxNotebook
*)new wxNotebook();
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= wxPyMake_wxObject(result
);
13446 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13449 wxWindow
*arg2
= (wxWindow
*) 0 ;
13451 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13452 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13453 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13454 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13455 long arg6
= (long) 0 ;
13456 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13457 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13461 bool temp7
= False
;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 PyObject
* obj2
= 0 ;
13465 PyObject
* obj3
= 0 ;
13466 PyObject
* obj4
= 0 ;
13467 PyObject
* obj5
= 0 ;
13468 PyObject
* obj6
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13477 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13483 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13489 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13494 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13500 arg7
= wxString_in_helper(obj6
);
13501 if (arg7
== NULL
) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13527 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= SWIG_PyObj_FromInt((int)result
);
13552 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self",(char *) "padding", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13567 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 (arg1
)->SetPadding((wxSize
const &)*arg2
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 Py_INCREF(Py_None
); resultobj
= Py_None
;
13583 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13588 PyObject
* obj0
= 0 ;
13589 PyObject
* obj1
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self",(char *) "sz", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 Py_INCREF(Py_None
); resultobj
= Py_None
;
13614 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13617 wxPoint
*arg2
= 0 ;
13618 long *arg3
= (long *) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self",(char *) "pt", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_PyObj_FromInt((int)result
);
13644 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13645 resultobj
= t_output_helper(resultobj
,o
);
13653 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self",(char *) "sizePage", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13669 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13679 wxSize
* resultptr
;
13680 resultptr
= new wxSize((wxSize
&) result
);
13681 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13689 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
13691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13692 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
13694 return Py_BuildValue((char *)"");
13696 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13698 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13699 int arg2
= (int) 0 ;
13700 int arg3
= (int) -1 ;
13701 int arg4
= (int) -1 ;
13702 wxNotebookEvent
*result
;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 PyObject
* obj2
= 0 ;
13706 PyObject
* obj3
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13714 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13720 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13726 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13732 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
13750 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13753 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
13755 return Py_BuildValue((char *)"");
13757 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxWindow
*arg1
= (wxWindow
*) 0 ;
13761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13765 long arg5
= (long) 0 ;
13766 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13768 wxListbook
*result
;
13771 bool temp6
= False
;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 PyObject
* obj3
= 0 ;
13776 PyObject
* obj4
= 0 ;
13777 PyObject
* obj5
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13785 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13791 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13797 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13802 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13808 arg6
= wxString_in_helper(obj5
);
13809 if (arg6
== NULL
) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
13835 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxListbook
*result
;
13838 char *kwnames
[] = {
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (wxListbook
*)new wxListbook();
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
13857 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxListbook
*arg1
= (wxListbook
*) 0 ;
13860 wxWindow
*arg2
= (wxWindow
*) 0 ;
13862 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13863 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13864 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13865 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13866 long arg6
= (long) 0 ;
13867 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13868 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13872 bool temp7
= False
;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 PyObject
* obj2
= 0 ;
13876 PyObject
* obj3
= 0 ;
13877 PyObject
* obj4
= 0 ;
13878 PyObject
* obj5
= 0 ;
13879 PyObject
* obj6
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13888 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13894 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13900 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13905 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13911 arg7
= wxString_in_helper(obj6
);
13912 if (arg7
== NULL
) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13938 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
;
13940 wxListbook
*arg1
= (wxListbook
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
13948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13963 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
13965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13966 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
13968 return Py_BuildValue((char *)"");
13970 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13973 int arg2
= (int) 0 ;
13974 int arg3
= (int) -1 ;
13975 int arg4
= (int) -1 ;
13976 wxListbookEvent
*result
;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 PyObject
* obj2
= 0 ;
13980 PyObject
* obj3
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13988 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13994 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13995 if (PyErr_Occurred()) SWIG_fail
;
14000 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14006 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14024 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14027 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14029 return Py_BuildValue((char *)"");
14031 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14034 wxBookCtrlSizer
*result
;
14035 PyObject
* obj0
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "nb", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14056 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14059 PyObject
* obj0
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 (arg1
)->RecalcSizes();
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 Py_INCREF(Py_None
); resultobj
= Py_None
;
14080 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14084 PyObject
* obj0
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= (arg1
)->CalcMin();
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14099 wxSize
* resultptr
;
14100 resultptr
= new wxSize((wxSize
&) result
);
14101 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14109 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14112 wxBookCtrl
*result
;
14113 PyObject
* obj0
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14134 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14137 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14139 return Py_BuildValue((char *)"");
14141 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
;
14143 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14144 wxNotebookSizer
*result
;
14145 PyObject
* obj0
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "nb", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14166 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->RecalcSizes();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 Py_INCREF(Py_None
); resultobj
= Py_None
;
14190 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= (arg1
)->CalcMin();
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14209 wxSize
* resultptr
;
14210 resultptr
= new wxSize((wxSize
&) result
);
14211 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14219 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14222 wxNotebook
*result
;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= wxPyMake_wxObject(result
);
14246 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14249 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14251 return Py_BuildValue((char *)"");
14253 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (int)(arg1
)->GetId();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_PyObj_FromInt((int)result
);
14278 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (wxControl
*)(arg1
)->GetControl();
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= wxPyMake_wxObject(result
);
14305 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14308 wxToolBarBase
*result
;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= wxPyMake_wxObject(result
);
14332 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (int)(arg1
)->IsButton();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_PyObj_FromInt((int)result
);
14357 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
;
14359 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (int)(arg1
)->IsControl();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_PyObj_FromInt((int)result
);
14382 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= (int)(arg1
)->IsSeparator();
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= SWIG_PyObj_FromInt((int)result
);
14407 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (int)(arg1
)->GetStyle();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_PyObj_FromInt((int)result
);
14432 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (int)(arg1
)->GetKind();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_PyObj_FromInt((int)result
);
14457 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (bool)(arg1
)->IsEnabled();
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14482 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14486 PyObject
* obj0
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (bool)(arg1
)->IsToggled();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14507 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (bool)(arg1
)->CanBeToggled();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14532 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14536 PyObject
* obj0
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
14547 result
= (wxBitmap
*) &_result_ref
;
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14560 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
14575 result
= (wxBitmap
*) &_result_ref
;
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14588 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (arg1
)->GetBitmap();
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14607 wxBitmap
* resultptr
;
14608 resultptr
= new wxBitmap((wxBitmap
&) result
);
14609 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14617 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (arg1
)->GetLabel();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14648 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14649 PyObject
*resultobj
;
14650 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14652 PyObject
* obj0
= 0 ;
14653 char *kwnames
[] = {
14654 (char *) "self", NULL
14657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
14658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (arg1
)->GetShortHelp();
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14679 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (arg1
)->GetLongHelp();
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14710 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self",(char *) "enable", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14724 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (bool)(arg1
)->Enable(arg2
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14741 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 Py_INCREF(Py_None
); resultobj
= Py_None
;
14765 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self",(char *) "toggle", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14779 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (bool)(arg1
)->SetToggle(arg2
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14796 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14799 wxString
*arg2
= 0 ;
14801 bool temp2
= False
;
14802 PyObject
* obj0
= 0 ;
14803 PyObject
* obj1
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self",(char *) "help", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
14809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14811 arg2
= wxString_in_helper(obj1
);
14812 if (arg2
== NULL
) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14822 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14837 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14840 wxString
*arg2
= 0 ;
14842 bool temp2
= False
;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "help", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14852 arg2
= wxString_in_helper(obj1
);
14853 if (arg2
== NULL
) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14878 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14881 wxBitmap
*arg2
= 0 ;
14882 PyObject
* obj0
= 0 ;
14883 PyObject
* obj1
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self",(char *) "bmp", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14891 if (arg2
== NULL
) {
14892 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 Py_INCREF(Py_None
); resultobj
= Py_None
;
14908 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14911 wxBitmap
*arg2
= 0 ;
14912 PyObject
* obj0
= 0 ;
14913 PyObject
* obj1
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self",(char *) "bmp", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14921 if (arg2
== NULL
) {
14922 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 Py_INCREF(Py_None
); resultobj
= Py_None
;
14938 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14941 wxString
*arg2
= 0 ;
14942 bool temp2
= False
;
14943 PyObject
* obj0
= 0 ;
14944 PyObject
* obj1
= 0 ;
14945 char *kwnames
[] = {
14946 (char *) "self",(char *) "label", NULL
14949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14952 arg2
= wxString_in_helper(obj1
);
14953 if (arg2
== NULL
) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 (arg1
)->SetLabel((wxString
const &)*arg2
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 Py_INCREF(Py_None
); resultobj
= Py_None
;
14978 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
14987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 Py_INCREF(Py_None
); resultobj
= Py_None
;
15002 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15005 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self",(char *) "tbar", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 (arg1
)->Attach(arg2
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 Py_INCREF(Py_None
); resultobj
= Py_None
;
15029 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= result
;
15054 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15057 PyObject
*arg2
= (PyObject
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self",(char *) "clientData", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 Py_INCREF(Py_None
); resultobj
= Py_None
;
15081 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15084 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15086 return Py_BuildValue((char *)"");
15088 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15092 wxString
*arg3
= 0 ;
15093 wxBitmap
*arg4
= 0 ;
15094 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15095 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15096 int arg6
= (int) wxITEM_NORMAL
;
15097 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15098 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15099 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15100 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15101 PyObject
*arg9
= (PyObject
*) NULL
;
15102 wxToolBarToolBase
*result
;
15103 bool temp3
= False
;
15104 bool temp7
= False
;
15105 bool temp8
= False
;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 PyObject
* obj2
= 0 ;
15109 PyObject
* obj3
= 0 ;
15110 PyObject
* obj4
= 0 ;
15111 PyObject
* obj5
= 0 ;
15112 PyObject
* obj6
= 0 ;
15113 PyObject
* obj7
= 0 ;
15114 PyObject
* obj8
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15122 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15126 arg3
= wxString_in_helper(obj2
);
15127 if (arg3
== NULL
) SWIG_fail
;
15130 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15131 if (arg4
== NULL
) {
15132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15135 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15136 if (arg5
== NULL
) {
15137 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15142 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15148 arg7
= wxString_in_helper(obj6
);
15149 if (arg7
== NULL
) SWIG_fail
;
15155 arg8
= wxString_in_helper(obj7
);
15156 if (arg8
== NULL
) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= wxPyMake_wxObject(result
);
15203 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15208 wxString
*arg4
= 0 ;
15209 wxBitmap
*arg5
= 0 ;
15210 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15211 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15212 int arg7
= (int) wxITEM_NORMAL
;
15213 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15215 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15216 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15217 PyObject
*arg10
= (PyObject
*) NULL
;
15218 wxToolBarToolBase
*result
;
15219 bool temp4
= False
;
15220 bool temp8
= False
;
15221 bool temp9
= False
;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 PyObject
* obj2
= 0 ;
15225 PyObject
* obj3
= 0 ;
15226 PyObject
* obj4
= 0 ;
15227 PyObject
* obj5
= 0 ;
15228 PyObject
* obj6
= 0 ;
15229 PyObject
* obj7
= 0 ;
15230 PyObject
* obj8
= 0 ;
15231 PyObject
* obj9
= 0 ;
15232 char *kwnames
[] = {
15233 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15239 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15243 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15247 arg4
= wxString_in_helper(obj3
);
15248 if (arg4
== NULL
) SWIG_fail
;
15251 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15252 if (arg5
== NULL
) {
15253 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15256 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15257 if (arg6
== NULL
) {
15258 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15263 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15269 arg8
= wxString_in_helper(obj7
);
15270 if (arg8
== NULL
) SWIG_fail
;
15276 arg9
= wxString_in_helper(obj8
);
15277 if (arg9
== NULL
) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 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
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= wxPyMake_wxObject(result
);
15324 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15327 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15328 wxToolBarToolBase
*result
;
15329 PyObject
* obj0
= 0 ;
15330 PyObject
* obj1
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self",(char *) "tool", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15337 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= wxPyMake_wxObject(result
);
15354 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15358 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15359 wxToolBarToolBase
*result
;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 PyObject
* obj2
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self",(char *) "pos",(char *) "tool", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15370 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= wxPyMake_wxObject(result
);
15390 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15393 wxControl
*arg2
= (wxControl
*) 0 ;
15394 wxToolBarToolBase
*result
;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self",(char *) "control", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= wxPyMake_wxObject(result
);
15420 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15424 wxControl
*arg3
= (wxControl
*) 0 ;
15425 wxToolBarToolBase
*result
;
15426 PyObject
* obj0
= 0 ;
15427 PyObject
* obj1
= 0 ;
15428 PyObject
* obj2
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self",(char *) "pos",(char *) "control", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15436 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= wxPyMake_wxObject(result
);
15456 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "id", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15470 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= wxPyMake_wxObject(result
);
15489 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15492 wxToolBarToolBase
*result
;
15493 PyObject
* obj0
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
15499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= wxPyMake_wxObject(result
);
15516 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15520 wxToolBarToolBase
*result
;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self",(char *) "pos", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15530 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= wxPyMake_wxObject(result
);
15549 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15553 wxToolBarToolBase
*result
;
15554 PyObject
* obj0
= 0 ;
15555 PyObject
* obj1
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "self",(char *) "id", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15563 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= wxPyMake_wxObject(result
);
15582 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "pos", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
15594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15596 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15613 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 char *kwnames
[] = {
15621 (char *) "self",(char *) "id", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15627 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 result
= (bool)(arg1
)->DeleteTool(arg2
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15644 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
15653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->ClearTools();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 Py_INCREF(Py_None
); resultobj
= Py_None
;
15668 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (bool)(arg1
)->Realize();
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15693 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
;
15695 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15698 PyObject
* obj0
= 0 ;
15699 PyObject
* obj1
= 0 ;
15700 PyObject
* obj2
= 0 ;
15701 char *kwnames
[] = {
15702 (char *) "self",(char *) "id",(char *) "enable", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15708 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15712 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 (arg1
)->EnableTool(arg2
,arg3
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 Py_INCREF(Py_None
); resultobj
= Py_None
;
15729 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "self",(char *) "id",(char *) "toggle", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15744 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15748 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 (arg1
)->ToggleTool(arg2
,arg3
);
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 Py_INCREF(Py_None
); resultobj
= Py_None
;
15765 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
;
15767 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 PyObject
* obj2
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self",(char *) "id",(char *) "toggle", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15780 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15784 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 (arg1
)->SetToggle(arg2
,arg3
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 Py_INCREF(Py_None
); resultobj
= Py_None
;
15801 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "id", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15815 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= result
;
15832 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15836 PyObject
*arg3
= (PyObject
*) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 PyObject
* obj2
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self",(char *) "id",(char *) "clientData", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15847 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 Py_INCREF(Py_None
); resultobj
= Py_None
;
15865 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 PyObject
* obj1
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self",(char *) "id", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15879 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_PyObj_FromInt((int)result
);
15896 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "id", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15910 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (bool)(arg1
)->GetToolState(arg2
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15927 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 PyObject
* obj1
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self",(char *) "id", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15941 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15958 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15962 wxString
*arg3
= 0 ;
15963 bool temp3
= False
;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 PyObject
* obj2
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self",(char *) "id",(char *) "helpString", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15974 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15978 arg3
= wxString_in_helper(obj2
);
15979 if (arg3
== NULL
) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 Py_INCREF(Py_None
); resultobj
= Py_None
;
16004 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self",(char *) "id", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16018 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (arg1
)->GetToolShortHelp(arg2
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16041 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16045 wxString
*arg3
= 0 ;
16046 bool temp3
= False
;
16047 PyObject
* obj0
= 0 ;
16048 PyObject
* obj1
= 0 ;
16049 PyObject
* obj2
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "id",(char *) "helpString", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16057 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16061 arg3
= wxString_in_helper(obj2
);
16062 if (arg3
== NULL
) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 Py_INCREF(Py_None
); resultobj
= Py_None
;
16087 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 char *kwnames
[] = {
16095 (char *) "self",(char *) "id", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16101 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (arg1
)->GetToolLongHelp(arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16124 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 PyObject
* obj1
= 0 ;
16131 PyObject
* obj2
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self",(char *) "x",(char *) "y", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16139 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16143 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 (arg1
)->SetMargins(arg2
,arg3
);
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 Py_INCREF(Py_None
); resultobj
= Py_None
;
16160 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "size", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16175 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 Py_INCREF(Py_None
); resultobj
= Py_None
;
16191 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16195 PyObject
* obj0
= 0 ;
16196 PyObject
* obj1
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self",(char *) "packing", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16204 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 (arg1
)->SetToolPacking(arg2
);
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 Py_INCREF(Py_None
); resultobj
= Py_None
;
16221 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self",(char *) "separation", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 (arg1
)->SetToolSeparation(arg2
);
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16244 Py_INCREF(Py_None
); resultobj
= Py_None
;
16251 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (arg1
)->GetToolMargins();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 wxSize
* resultptr
;
16271 resultptr
= new wxSize((wxSize
&) result
);
16272 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16280 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16284 PyObject
* obj0
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (arg1
)->GetMargins();
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16299 wxSize
* resultptr
;
16300 resultptr
= new wxSize((wxSize
&) result
);
16301 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16309 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (int)(arg1
)->GetToolPacking();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= SWIG_PyObj_FromInt((int)result
);
16334 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (int)(arg1
)->GetToolSeparation();
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= SWIG_PyObj_FromInt((int)result
);
16359 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self",(char *) "nRows", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16372 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 (arg1
)->SetRows(arg2
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 Py_INCREF(Py_None
); resultobj
= Py_None
;
16389 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 PyObject
* obj2
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "rows",(char *) "cols", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16404 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16408 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (int)(arg1
)->GetMaxRows();
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= SWIG_PyObj_FromInt((int)result
);
16450 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16454 PyObject
* obj0
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (int)(arg1
)->GetMaxCols();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= SWIG_PyObj_FromInt((int)result
);
16475 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self",(char *) "size", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 Py_INCREF(Py_None
); resultobj
= Py_None
;
16506 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16510 PyObject
* obj0
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= (arg1
)->GetToolBitmapSize();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 wxSize
* resultptr
;
16526 resultptr
= new wxSize((wxSize
&) result
);
16527 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16535 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16539 PyObject
* obj0
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
16545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 result
= (arg1
)->GetToolSize();
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16554 wxSize
* resultptr
;
16555 resultptr
= new wxSize((wxSize
&) result
);
16556 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16564 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16569 wxToolBarToolBase
*result
;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 PyObject
* obj2
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self",(char *) "x",(char *) "y", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16580 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16584 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= wxPyMake_wxObject(result
);
16603 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16607 wxToolBarToolBase
*result
;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self",(char *) "toolid", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
16615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= wxPyMake_wxObject(result
);
16636 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (bool)(arg1
)->IsVertical();
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16661 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
16663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16664 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
16666 return Py_BuildValue((char *)"");
16668 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxWindow
*arg1
= (wxWindow
*) 0 ;
16672 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16673 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16674 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16675 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16676 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
16677 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
16678 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16682 bool temp6
= False
;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 PyObject
* obj2
= 0 ;
16686 PyObject
* obj3
= 0 ;
16687 PyObject
* obj4
= 0 ;
16688 PyObject
* obj5
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16702 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16708 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16713 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16719 arg6
= wxString_in_helper(obj5
);
16720 if (arg6
== NULL
) SWIG_fail
;
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= wxPyMake_wxObject(result
);
16748 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16751 char *kwnames
[] = {
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (wxToolBar
*)new wxToolBar();
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= wxPyMake_wxObject(result
);
16772 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
16775 wxWindow
*arg2
= (wxWindow
*) 0 ;
16777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16781 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
16782 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
16783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16787 bool temp7
= False
;
16788 PyObject
* obj0
= 0 ;
16789 PyObject
* obj1
= 0 ;
16790 PyObject
* obj2
= 0 ;
16791 PyObject
* obj3
= 0 ;
16792 PyObject
* obj4
= 0 ;
16793 PyObject
* obj5
= 0 ;
16794 PyObject
* obj6
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16801 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16803 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16820 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16826 arg7
= wxString_in_helper(obj6
);
16827 if (arg7
== NULL
) SWIG_fail
;
16832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16833 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16853 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
16858 wxToolBarToolBase
*result
;
16859 PyObject
* obj0
= 0 ;
16860 PyObject
* obj1
= 0 ;
16861 PyObject
* obj2
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "self",(char *) "x",(char *) "y", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16869 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16873 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= wxPyMake_wxObject(result
);
16892 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
16894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16895 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
16897 return Py_BuildValue((char *)"");
16899 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
16900 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
16905 static PyObject
*_wrap_ListCtrlNameStr_get() {
16910 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
16912 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
16919 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 wxColour
const &arg1_defvalue
= wxNullColour
;
16922 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
16923 wxColour
const &arg2_defvalue
= wxNullColour
;
16924 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16925 wxFont
const &arg3_defvalue
= wxNullFont
;
16926 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
16927 wxListItemAttr
*result
;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 PyObject
* obj2
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "colText",(char *) "colBack",(char *) "font", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16941 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
16947 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16951 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16952 if (arg3
== NULL
) {
16953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
16970 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16973 wxColour
*arg2
= 0 ;
16975 PyObject
* obj0
= 0 ;
16976 PyObject
* obj1
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self",(char *) "colText", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16985 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 Py_INCREF(Py_None
); resultobj
= Py_None
;
17001 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17004 wxColour
*arg2
= 0 ;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "self",(char *) "colBack", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17016 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 Py_INCREF(Py_None
); resultobj
= Py_None
;
17032 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self",(char *) "font", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17045 if (arg2
== NULL
) {
17046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 (arg1
)->SetFont((wxFont
const &)*arg2
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 Py_INCREF(Py_None
); resultobj
= Py_None
;
17062 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= (bool)(arg1
)->HasTextColour();
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17087 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17091 PyObject
* obj0
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (bool)(arg1
)->HasBackgroundColour();
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17112 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17116 PyObject
* obj0
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (bool)(arg1
)->HasFont();
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17137 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (arg1
)->GetTextColour();
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17156 wxColour
* resultptr
;
17157 resultptr
= new wxColour((wxColour
&) result
);
17158 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17166 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17170 PyObject
* obj0
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "self", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (arg1
)->GetBackgroundColour();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 wxColour
* resultptr
;
17186 resultptr
= new wxColour((wxColour
&) result
);
17187 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17195 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (arg1
)->GetFont();
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17214 wxFont
* resultptr
;
17215 resultptr
= new wxFont((wxFont
&) result
);
17216 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17224 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 wxListItemAttr_Destroy(arg1
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 Py_INCREF(Py_None
); resultobj
= Py_None
;
17248 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17251 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17253 return Py_BuildValue((char *)"");
17255 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxListItem
*result
;
17258 char *kwnames
[] = {
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (wxListItem
*)new wxListItem();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= wxPyMake_wxObject(result
);
17279 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxListItem
*arg1
= (wxListItem
*) 0 ;
17282 PyObject
* obj0
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxListItem
*arg1
= (wxListItem
*) 0 ;
17306 PyObject
* obj0
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17320 Py_INCREF(Py_None
); resultobj
= Py_None
;
17327 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17329 wxListItem
*arg1
= (wxListItem
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 (arg1
)->ClearAttributes();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 Py_INCREF(Py_None
); resultobj
= Py_None
;
17351 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxListItem
*arg1
= (wxListItem
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "mask", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17364 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 (arg1
)->SetMask(arg2
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 Py_INCREF(Py_None
); resultobj
= Py_None
;
17381 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxListItem
*arg1
= (wxListItem
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self",(char *) "id", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17394 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 (arg1
)->SetId(arg2
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 Py_INCREF(Py_None
); resultobj
= Py_None
;
17411 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxListItem
*arg1
= (wxListItem
*) 0 ;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self",(char *) "col", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17424 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 (arg1
)->SetColumn(arg2
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 Py_INCREF(Py_None
); resultobj
= Py_None
;
17441 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
;
17443 wxListItem
*arg1
= (wxListItem
*) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 PyObject
* obj1
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "self",(char *) "state", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17454 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 (arg1
)->SetState(arg2
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 Py_INCREF(Py_None
); resultobj
= Py_None
;
17471 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxListItem
*arg1
= (wxListItem
*) 0 ;
17475 PyObject
* obj0
= 0 ;
17476 PyObject
* obj1
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self",(char *) "stateMask", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17484 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 (arg1
)->SetStateMask(arg2
);
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 Py_INCREF(Py_None
); resultobj
= Py_None
;
17501 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxListItem
*arg1
= (wxListItem
*) 0 ;
17504 wxString
*arg2
= 0 ;
17505 bool temp2
= False
;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self",(char *) "text", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17515 arg2
= wxString_in_helper(obj1
);
17516 if (arg2
== NULL
) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 (arg1
)->SetText((wxString
const &)*arg2
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 Py_INCREF(Py_None
); resultobj
= Py_None
;
17541 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxListItem
*arg1
= (wxListItem
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self",(char *) "image", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17554 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 (arg1
)->SetImage(arg2
);
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17564 Py_INCREF(Py_None
); resultobj
= Py_None
;
17571 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxListItem
*arg1
= (wxListItem
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 PyObject
* obj1
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self",(char *) "data", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17584 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 (arg1
)->SetData(arg2
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 Py_INCREF(Py_None
); resultobj
= Py_None
;
17601 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxListItem
*arg1
= (wxListItem
*) 0 ;
17605 PyObject
* obj0
= 0 ;
17606 PyObject
* obj1
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self",(char *) "width", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
17612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17614 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 (arg1
)->SetWidth(arg2
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 Py_INCREF(Py_None
); resultobj
= Py_None
;
17631 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxListItem
*arg1
= (wxListItem
*) 0 ;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self",(char *) "align", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
17642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17644 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17661 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxListItem
*arg1
= (wxListItem
*) 0 ;
17664 wxColour
*arg2
= 0 ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "colText", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17676 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 Py_INCREF(Py_None
); resultobj
= Py_None
;
17692 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxListItem
*arg1
= (wxListItem
*) 0 ;
17695 wxColour
*arg2
= 0 ;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self",(char *) "colBack", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 Py_INCREF(Py_None
); resultobj
= Py_None
;
17723 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxListItem
*arg1
= (wxListItem
*) 0 ;
17727 PyObject
* obj0
= 0 ;
17728 PyObject
* obj1
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self",(char *) "font", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17735 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17736 if (arg2
== NULL
) {
17737 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 (arg1
)->SetFont((wxFont
const &)*arg2
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 Py_INCREF(Py_None
); resultobj
= Py_None
;
17753 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxListItem
*arg1
= (wxListItem
*) 0 ;
17757 PyObject
* obj0
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "self", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
17763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (long)(arg1
)->GetMask();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_PyObj_FromLong((long)result
);
17778 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxListItem
*arg1
= (wxListItem
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
17788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 result
= (long)(arg1
)->GetId();
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= SWIG_PyObj_FromLong((long)result
);
17803 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxListItem
*arg1
= (wxListItem
*) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (int)(arg1
)->GetColumn();
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= SWIG_PyObj_FromInt((int)result
);
17828 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxListItem
*arg1
= (wxListItem
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (long)(arg1
)->GetState();
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_PyObj_FromLong((long)result
);
17853 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxListItem
*arg1
= (wxListItem
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
17863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 wxString
const &_result_ref
= (arg1
)->GetText();
17868 result
= (wxString
*) &_result_ref
;
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17878 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17887 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxListItem
*arg1
= (wxListItem
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
17897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (int)(arg1
)->GetImage();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_PyObj_FromInt((int)result
);
17912 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxListItem
*arg1
= (wxListItem
*) 0 ;
17916 PyObject
* obj0
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (long)(arg1
)->GetData();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_PyObj_FromLong((long)result
);
17937 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxListItem
*arg1
= (wxListItem
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (int)(arg1
)->GetWidth();
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 resultobj
= SWIG_PyObj_FromInt((int)result
);
17962 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17964 wxListItem
*arg1
= (wxListItem
*) 0 ;
17966 PyObject
* obj0
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (int)(arg1
)->GetAlign();
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= SWIG_PyObj_FromInt((int)result
);
17987 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxListItem
*arg1
= (wxListItem
*) 0 ;
17990 wxListItemAttr
*result
;
17991 PyObject
* obj0
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
17997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18012 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxListItem
*arg1
= (wxListItem
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 result
= (bool)(arg1
)->HasAttributes();
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18037 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxListItem
*arg1
= (wxListItem
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18056 wxColour
* resultptr
;
18057 resultptr
= new wxColour((wxColour
&) result
);
18058 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18066 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxListItem
*arg1
= (wxListItem
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 wxColour
* resultptr
;
18086 resultptr
= new wxColour((wxColour
&) result
);
18087 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18095 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
;
18097 wxListItem
*arg1
= (wxListItem
*) 0 ;
18099 PyObject
* obj0
= 0 ;
18100 char *kwnames
[] = {
18101 (char *) "self", NULL
18104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 result
= ((wxListItem
const *)arg1
)->GetFont();
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18114 wxFont
* resultptr
;
18115 resultptr
= new wxFont((wxFont
&) result
);
18116 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18124 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxListItem
*arg1
= (wxListItem
*) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char *kwnames
[] = {
18131 (char *) "self",(char *) "m_mask", NULL
18134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18137 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 if (arg1
) (arg1
)->m_mask
= arg2
;
18142 Py_INCREF(Py_None
); resultobj
= Py_None
;
18149 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxListItem
*arg1
= (wxListItem
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18160 result
= (long) ((arg1
)->m_mask
);
18162 resultobj
= SWIG_PyObj_FromLong((long)result
);
18169 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxListItem
*arg1
= (wxListItem
*) 0 ;
18173 PyObject
* obj0
= 0 ;
18174 PyObject
* obj1
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self",(char *) "m_itemId", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18182 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 if (arg1
) (arg1
)->m_itemId
= arg2
;
18187 Py_INCREF(Py_None
); resultobj
= Py_None
;
18194 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxListItem
*arg1
= (wxListItem
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18205 result
= (long) ((arg1
)->m_itemId
);
18207 resultobj
= SWIG_PyObj_FromLong((long)result
);
18214 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxListItem
*arg1
= (wxListItem
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "m_col", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 if (arg1
) (arg1
)->m_col
= arg2
;
18232 Py_INCREF(Py_None
); resultobj
= Py_None
;
18239 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxListItem
*arg1
= (wxListItem
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18250 result
= (int) ((arg1
)->m_col
);
18252 resultobj
= SWIG_PyObj_FromInt((int)result
);
18259 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxListItem
*arg1
= (wxListItem
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "m_state", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18272 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 if (arg1
) (arg1
)->m_state
= arg2
;
18277 Py_INCREF(Py_None
); resultobj
= Py_None
;
18284 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxListItem
*arg1
= (wxListItem
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18295 result
= (long) ((arg1
)->m_state
);
18297 resultobj
= SWIG_PyObj_FromLong((long)result
);
18304 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxListItem
*arg1
= (wxListItem
*) 0 ;
18308 PyObject
* obj0
= 0 ;
18309 PyObject
* obj1
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self",(char *) "m_stateMask", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18317 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18329 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxListItem
*arg1
= (wxListItem
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18340 result
= (long) ((arg1
)->m_stateMask
);
18342 resultobj
= SWIG_PyObj_FromLong((long)result
);
18349 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxListItem
*arg1
= (wxListItem
*) 0 ;
18352 wxString
*arg2
= (wxString
*) 0 ;
18353 bool temp2
= False
;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "m_text", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18363 arg2
= wxString_in_helper(obj1
);
18364 if (arg2
== NULL
) SWIG_fail
;
18367 if (arg1
) (arg1
)->m_text
= *arg2
;
18369 Py_INCREF(Py_None
); resultobj
= Py_None
;
18384 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxListItem
*arg1
= (wxListItem
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18395 result
= (wxString
*)& ((arg1
)->m_text
);
18399 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18401 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18410 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
;
18412 wxListItem
*arg1
= (wxListItem
*) 0 ;
18414 PyObject
* obj0
= 0 ;
18415 PyObject
* obj1
= 0 ;
18416 char *kwnames
[] = {
18417 (char *) "self",(char *) "m_image", NULL
18420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18423 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 if (arg1
) (arg1
)->m_image
= arg2
;
18428 Py_INCREF(Py_None
); resultobj
= Py_None
;
18435 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxListItem
*arg1
= (wxListItem
*) 0 ;
18439 PyObject
* obj0
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18446 result
= (int) ((arg1
)->m_image
);
18448 resultobj
= SWIG_PyObj_FromInt((int)result
);
18455 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxListItem
*arg1
= (wxListItem
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 PyObject
* obj1
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self",(char *) "m_data", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18468 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 if (arg1
) (arg1
)->m_data
= arg2
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxListItem
*arg1
= (wxListItem
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18491 result
= (long) ((arg1
)->m_data
);
18493 resultobj
= SWIG_PyObj_FromLong((long)result
);
18500 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxListItem
*arg1
= (wxListItem
*) 0 ;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self",(char *) "m_format", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18513 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 if (arg1
) (arg1
)->m_format
= arg2
;
18518 Py_INCREF(Py_None
); resultobj
= Py_None
;
18525 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxListItem
*arg1
= (wxListItem
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18536 result
= (int) ((arg1
)->m_format
);
18538 resultobj
= SWIG_PyObj_FromInt((int)result
);
18545 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxListItem
*arg1
= (wxListItem
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self",(char *) "m_width", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 if (arg1
) (arg1
)->m_width
= arg2
;
18563 Py_INCREF(Py_None
); resultobj
= Py_None
;
18570 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxListItem
*arg1
= (wxListItem
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18581 result
= (int) ((arg1
)->m_width
);
18583 resultobj
= SWIG_PyObj_FromInt((int)result
);
18590 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
18592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18593 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
18595 return Py_BuildValue((char *)"");
18597 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18600 int arg2
= (int) 0 ;
18601 wxListEvent
*result
;
18602 PyObject
* obj0
= 0 ;
18603 PyObject
* obj1
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "commandType",(char *) "id", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18611 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
18635 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self",(char *) "m_code", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18648 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 if (arg1
) (arg1
)->m_code
= arg2
;
18653 Py_INCREF(Py_None
); resultobj
= Py_None
;
18660 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18671 result
= (int) ((arg1
)->m_code
);
18673 resultobj
= SWIG_PyObj_FromInt((int)result
);
18680 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self",(char *) "m_oldItemIndex", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18693 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
18698 Py_INCREF(Py_None
); resultobj
= Py_None
;
18705 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18716 result
= (long) ((arg1
)->m_oldItemIndex
);
18718 resultobj
= SWIG_PyObj_FromLong((long)result
);
18725 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 PyObject
* obj1
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "self",(char *) "m_itemIndex", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18738 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
18743 Py_INCREF(Py_None
); resultobj
= Py_None
;
18750 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
18760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18761 result
= (long) ((arg1
)->m_itemIndex
);
18763 resultobj
= SWIG_PyObj_FromLong((long)result
);
18770 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 PyObject
* obj1
= 0 ;
18776 char *kwnames
[] = {
18777 (char *) "self",(char *) "m_col", NULL
18780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18783 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 if (arg1
) (arg1
)->m_col
= arg2
;
18788 Py_INCREF(Py_None
); resultobj
= Py_None
;
18795 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
18805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18806 result
= (int) ((arg1
)->m_col
);
18808 resultobj
= SWIG_PyObj_FromInt((int)result
);
18815 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18818 wxPoint
*arg2
= (wxPoint
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self",(char *) "m_pointDrag", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18827 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18828 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
18830 Py_INCREF(Py_None
); resultobj
= Py_None
;
18837 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18841 PyObject
* obj0
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18848 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
18850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
18857 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18860 wxListItem
*result
;
18861 PyObject
* obj0
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18868 result
= (wxListItem
*)& ((arg1
)->m_item
);
18871 resultobj
= wxPyMake_wxObject(result
);
18879 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
;
18881 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18883 PyObject
* obj0
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (int)(arg1
)->GetKeyCode();
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= SWIG_PyObj_FromInt((int)result
);
18904 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 char *kwnames
[] = {
18910 (char *) "self", NULL
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
18914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (long)(arg1
)->GetIndex();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_PyObj_FromLong((long)result
);
18929 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (int)(arg1
)->GetColumn();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_PyObj_FromInt((int)result
);
18954 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (arg1
)->GetPoint();
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18973 wxPoint
* resultptr
;
18974 resultptr
= new wxPoint((wxPoint
&) result
);
18975 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18983 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 wxString
const &_result_ref
= (arg1
)->GetLabel();
18998 result
= (wxString
*) &_result_ref
;
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19008 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19017 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 wxString
const &_result_ref
= (arg1
)->GetText();
19032 result
= (wxString
*) &_result_ref
;
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19042 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19051 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (int)(arg1
)->GetImage();
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= SWIG_PyObj_FromInt((int)result
);
19076 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (long)(arg1
)->GetData();
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= SWIG_PyObj_FromLong((long)result
);
19101 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (long)(arg1
)->GetMask();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_PyObj_FromLong((long)result
);
19126 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
;
19128 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19129 wxListItem
*result
;
19130 PyObject
* obj0
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19141 result
= (wxListItem
*) &_result_ref
;
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19154 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 result
= (long)(arg1
)->GetCacheFrom();
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= SWIG_PyObj_FromLong((long)result
);
19179 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (long)(arg1
)->GetCacheTo();
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= SWIG_PyObj_FromLong((long)result
);
19204 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19208 PyObject
* obj0
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19229 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
;
19231 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self",(char *) "editCancelled", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19242 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 (arg1
)->SetEditCanceled(arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 Py_INCREF(Py_None
); resultobj
= Py_None
;
19259 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19262 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19264 return Py_BuildValue((char *)"");
19266 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxWindow
*arg1
= (wxWindow
*) 0 ;
19269 int arg2
= (int) -1 ;
19270 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19271 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19272 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19273 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19274 long arg5
= (long) wxLC_ICON
;
19275 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19276 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19277 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19278 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19279 wxPyListCtrl
*result
;
19282 bool temp7
= False
;
19283 PyObject
* obj0
= 0 ;
19284 PyObject
* obj1
= 0 ;
19285 PyObject
* obj2
= 0 ;
19286 PyObject
* obj3
= 0 ;
19287 PyObject
* obj4
= 0 ;
19288 PyObject
* obj5
= 0 ;
19289 PyObject
* obj6
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19298 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19305 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19311 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19316 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19321 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19322 if (arg6
== NULL
) {
19323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19328 arg7
= wxString_in_helper(obj6
);
19329 if (arg7
== NULL
) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19355 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxPyListCtrl
*result
;
19358 char *kwnames
[] = {
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19377 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19380 wxWindow
*arg2
= (wxWindow
*) 0 ;
19381 int arg3
= (int) -1 ;
19382 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19383 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19384 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19385 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19386 long arg6
= (long) wxLC_ICON
;
19387 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19388 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19389 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19390 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19394 bool temp8
= False
;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 PyObject
* obj2
= 0 ;
19398 PyObject
* obj3
= 0 ;
19399 PyObject
* obj4
= 0 ;
19400 PyObject
* obj5
= 0 ;
19401 PyObject
* obj6
= 0 ;
19402 PyObject
* obj7
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19412 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19430 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19435 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19436 if (arg7
== NULL
) {
19437 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19442 arg8
= wxString_in_helper(obj7
);
19443 if (arg8
== NULL
) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19469 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19472 PyObject
*arg2
= (PyObject
*) 0 ;
19473 PyObject
*arg3
= (PyObject
*) 0 ;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 PyObject
* obj2
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "self",(char *) "_class", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 Py_INCREF(Py_None
); resultobj
= Py_None
;
19499 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19502 wxColour
*arg2
= 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self",(char *) "col", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19515 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19531 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19534 wxColour
*arg2
= 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "col", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19547 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19563 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19567 wxListItem
*result
;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self",(char *) "col", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19577 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= wxPyMake_wxObject(result
);
19596 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19600 wxListItem
*arg3
= 0 ;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 PyObject
* obj2
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "col",(char *) "item", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19612 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19616 if (arg3
== NULL
) {
19617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19633 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self",(char *) "col", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= SWIG_PyObj_FromInt((int)result
);
19664 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 PyObject
* obj2
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self",(char *) "col",(char *) "width", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19680 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19684 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19701 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= SWIG_PyObj_FromInt((int)result
);
19726 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19730 PyObject
* obj0
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
19736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 wxRect
* resultptr
;
19746 resultptr
= new wxRect((wxRect
&) result
);
19747 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19755 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19759 int arg3
= (int) 0 ;
19760 wxListItem
*result
;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 PyObject
* obj2
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self",(char *) "itemId",(char *) "col", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19771 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19776 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19777 if (PyErr_Occurred()) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= wxPyMake_wxObject(result
);
19796 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19799 wxListItem
*arg2
= 0 ;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self",(char *) "info", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19810 if (arg2
== NULL
) {
19811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (bool)(arg1
)->SetItem(*arg2
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19827 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19832 wxString
*arg4
= 0 ;
19833 int arg5
= (int) -1 ;
19835 bool temp4
= False
;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 PyObject
* obj2
= 0 ;
19839 PyObject
* obj3
= 0 ;
19840 PyObject
* obj4
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19848 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19852 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 arg4
= wxString_in_helper(obj3
);
19857 if (arg4
== NULL
) SWIG_fail
;
19862 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= SWIG_PyObj_FromLong((long)result
);
19888 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 PyObject
* obj2
= 0 ;
19897 char *kwnames
[] = {
19898 (char *) "self",(char *) "item",(char *) "stateMask", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19904 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19908 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= SWIG_PyObj_FromInt((int)result
);
19925 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 PyObject
* obj2
= 0 ;
19935 PyObject
* obj3
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19943 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19947 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19968 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19975 PyObject
* obj0
= 0 ;
19976 PyObject
* obj1
= 0 ;
19977 PyObject
* obj2
= 0 ;
19978 PyObject
* obj3
= 0 ;
19979 char *kwnames
[] = {
19980 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
19983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19986 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19990 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19994 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20011 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
;
20013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self",(char *) "item", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20025 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20048 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20052 wxString
*arg3
= 0 ;
20053 bool temp3
= False
;
20054 PyObject
* obj0
= 0 ;
20055 PyObject
* obj1
= 0 ;
20056 PyObject
* obj2
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self",(char *) "item",(char *) "str", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20064 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 arg3
= wxString_in_helper(obj2
);
20069 if (arg3
== NULL
) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20094 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 PyObject
* obj1
= 0 ;
20101 char *kwnames
[] = {
20102 (char *) "self",(char *) "item", NULL
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20108 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_PyObj_FromLong((long)result
);
20125 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 PyObject
* obj1
= 0 ;
20133 PyObject
* obj2
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self",(char *) "item",(char *) "data", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20141 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20162 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "item", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20176 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20187 wxPoint
* resultptr
;
20188 resultptr
= new wxPoint((wxPoint
&) result
);
20189 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20197 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20201 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 PyObject
* obj2
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "self",(char *) "item",(char *) "code", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20213 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20218 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20230 wxRect
* resultptr
;
20231 resultptr
= new wxRect((wxRect
&) result
);
20232 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20240 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20244 wxPoint
*arg3
= 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 PyObject
* obj2
= 0 ;
20250 char *kwnames
[] = {
20251 (char *) "self",(char *) "item",(char *) "pos", NULL
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20257 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20262 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20278 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= SWIG_PyObj_FromInt((int)result
);
20303 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20321 resultobj
= SWIG_PyObj_FromInt((int)result
);
20328 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
;
20330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20332 PyObject
* obj0
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "self", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20347 wxSize
* resultptr
;
20348 resultptr
= new wxSize((wxSize
&) result
);
20349 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20357 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
;
20359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20361 bool arg3
= (bool) False
;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20364 PyObject
* obj2
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20372 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20377 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 (arg1
)->SetItemSpacing(arg2
,arg3
);
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 Py_INCREF(Py_None
); resultobj
= Py_None
;
20395 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20396 PyObject
*resultobj
;
20397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20399 PyObject
* obj0
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= SWIG_PyObj_FromInt((int)result
);
20420 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
;
20422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "self", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20439 wxColour
* resultptr
;
20440 resultptr
= new wxColour((wxColour
&) result
);
20441 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20449 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20452 wxColour
*arg2
= 0 ;
20454 PyObject
* obj0
= 0 ;
20455 PyObject
* obj1
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "self",(char *) "col", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20464 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 Py_INCREF(Py_None
); resultobj
= Py_None
;
20480 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20481 PyObject
*resultobj
;
20482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20484 PyObject
* obj0
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 resultobj
= SWIG_PyObj_FromLong((long)result
);
20505 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20509 bool arg3
= (bool) True
;
20510 PyObject
* obj0
= 0 ;
20511 PyObject
* obj1
= 0 ;
20512 PyObject
* obj2
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self",(char *) "style",(char *) "add", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20520 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20525 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 (arg1
)->SetSingleStyle(arg2
,arg3
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 Py_INCREF(Py_None
); resultobj
= Py_None
;
20543 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20547 PyObject
* obj0
= 0 ;
20548 PyObject
* obj1
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "self",(char *) "style", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20556 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 (arg1
)->SetWindowStyleFlag(arg2
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 Py_INCREF(Py_None
); resultobj
= Py_None
;
20573 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20577 int arg3
= (int) wxLIST_NEXT_ALL
;
20578 int arg4
= (int) wxLIST_STATE_DONTCARE
;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 PyObject
* obj2
= 0 ;
20583 PyObject
* obj3
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20591 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20596 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20602 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_PyObj_FromLong((long)result
);
20620 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20624 wxImageList
*result
;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 char *kwnames
[] = {
20628 (char *) "self",(char *) "which", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= wxPyMake_wxObject(result
);
20653 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
;
20655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20656 wxImageList
*arg2
= (wxImageList
*) 0 ;
20658 PyObject
* obj0
= 0 ;
20659 PyObject
* obj1
= 0 ;
20660 PyObject
* obj2
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "self",(char *) "imageList",(char *) "which", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20669 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 (arg1
)->SetImageList(arg2
,arg3
);
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 Py_INCREF(Py_None
); resultobj
= Py_None
;
20686 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
;
20688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20689 wxImageList
*arg2
= (wxImageList
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 PyObject
* obj2
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self",(char *) "imageList",(char *) "which", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20702 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 (arg1
)->AssignImageList(arg2
,arg3
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 Py_INCREF(Py_None
); resultobj
= Py_None
;
20719 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20744 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "item", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20757 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 (arg1
)->RefreshItem(arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 Py_INCREF(Py_None
); resultobj
= Py_None
;
20774 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 PyObject
* obj2
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20789 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20793 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 (arg1
)->RefreshItems(arg2
,arg3
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 Py_INCREF(Py_None
); resultobj
= Py_None
;
20810 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20813 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
20815 PyObject
* obj0
= 0 ;
20816 PyObject
* obj1
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self",(char *) "flag", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
20822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20825 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 result
= (bool)(arg1
)->Arrange(arg2
);
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20843 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
;
20845 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20848 PyObject
* obj0
= 0 ;
20849 PyObject
* obj1
= 0 ;
20850 char *kwnames
[] = {
20851 (char *) "self",(char *) "item", NULL
20854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20857 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= (bool)(arg1
)->DeleteItem(arg2
);
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20874 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20878 PyObject
* obj0
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (bool)(arg1
)->DeleteAllItems();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20899 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20904 PyObject
* obj0
= 0 ;
20905 PyObject
* obj1
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self",(char *) "col", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20913 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (bool)(arg1
)->DeleteColumn(arg2
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20930 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20934 PyObject
* obj0
= 0 ;
20935 char *kwnames
[] = {
20936 (char *) "self", NULL
20939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
20940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (bool)(arg1
)->DeleteAllColumns();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20955 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 (arg1
)->ClearAll();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 Py_INCREF(Py_None
); resultobj
= Py_None
;
20979 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self",(char *) "item", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20992 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 (arg1
)->EditLabel(arg2
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 Py_INCREF(Py_None
); resultobj
= Py_None
;
21009 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self",(char *) "item", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21023 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21040 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21044 wxString
*arg3
= 0 ;
21045 bool arg4
= (bool) False
;
21047 bool temp3
= False
;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 PyObject
* obj2
= 0 ;
21051 PyObject
* obj3
= 0 ;
21052 char *kwnames
[] = {
21053 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21059 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21063 arg3
= wxString_in_helper(obj2
);
21064 if (arg3
== NULL
) SWIG_fail
;
21069 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 resultobj
= SWIG_PyObj_FromLong((long)result
);
21095 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
;
21097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 PyObject
* obj2
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "self",(char *) "start",(char *) "data", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21111 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21115 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_PyObj_FromLong((long)result
);
21132 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21136 wxPoint
*arg3
= 0 ;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 PyObject
* obj2
= 0 ;
21143 PyObject
* obj3
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21151 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21156 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21159 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_PyObj_FromLong((long)result
);
21176 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21179 wxPoint
*arg2
= 0 ;
21184 PyObject
* obj0
= 0 ;
21185 PyObject
* obj1
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "self",(char *) "point", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= SWIG_PyObj_FromLong((long)result
);
21206 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21207 resultobj
= t_output_helper(resultobj
,o
);
21215 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21218 wxListItem
*arg2
= 0 ;
21220 PyObject
* obj0
= 0 ;
21221 PyObject
* obj1
= 0 ;
21222 char *kwnames
[] = {
21223 (char *) "self",(char *) "info", NULL
21226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21229 if (arg2
== NULL
) {
21230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (long)(arg1
)->InsertItem(*arg2
);
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= SWIG_PyObj_FromLong((long)result
);
21246 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21250 wxString
*arg3
= 0 ;
21252 bool temp3
= False
;
21253 PyObject
* obj0
= 0 ;
21254 PyObject
* obj1
= 0 ;
21255 PyObject
* obj2
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self",(char *) "index",(char *) "label", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21263 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21267 arg3
= wxString_in_helper(obj2
);
21268 if (arg3
== NULL
) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= SWIG_PyObj_FromLong((long)result
);
21293 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21299 PyObject
* obj0
= 0 ;
21300 PyObject
* obj1
= 0 ;
21301 PyObject
* obj2
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21309 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 resultobj
= SWIG_PyObj_FromLong((long)result
);
21330 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21334 wxString
*arg3
= 0 ;
21337 bool temp3
= False
;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 PyObject
* obj2
= 0 ;
21341 PyObject
* obj3
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21349 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 arg3
= wxString_in_helper(obj2
);
21354 if (arg3
== NULL
) SWIG_fail
;
21358 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 resultobj
= SWIG_PyObj_FromLong((long)result
);
21383 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21387 wxListItem
*arg3
= 0 ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 PyObject
* obj2
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "self",(char *) "col",(char *) "info", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21399 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21403 if (arg3
== NULL
) {
21404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 resultobj
= SWIG_PyObj_FromLong((long)result
);
21420 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21424 wxString
*arg3
= 0 ;
21425 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21426 int arg5
= (int) -1 ;
21428 bool temp3
= False
;
21429 PyObject
* obj0
= 0 ;
21430 PyObject
* obj1
= 0 ;
21431 PyObject
* obj2
= 0 ;
21432 PyObject
* obj3
= 0 ;
21433 PyObject
* obj4
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21441 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21445 arg3
= wxString_in_helper(obj2
);
21446 if (arg3
== NULL
) SWIG_fail
;
21451 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21457 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_PyObj_FromLong((long)result
);
21483 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
;
21485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "count", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21496 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 (arg1
)->SetItemCount(arg2
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 Py_INCREF(Py_None
); resultobj
= Py_None
;
21513 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21519 PyObject
* obj0
= 0 ;
21520 PyObject
* obj1
= 0 ;
21521 PyObject
* obj2
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self",(char *) "dx",(char *) "dy", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21529 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21550 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21554 wxColour
*arg3
= 0 ;
21556 PyObject
* obj0
= 0 ;
21557 PyObject
* obj1
= 0 ;
21558 PyObject
* obj2
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self",(char *) "item",(char *) "col", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21566 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21571 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 Py_INCREF(Py_None
); resultobj
= Py_None
;
21587 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 PyObject
* obj1
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self",(char *) "item", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21601 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 wxColour
* resultptr
;
21613 resultptr
= new wxColour((wxColour
&) result
);
21614 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21622 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21626 wxColour
*arg3
= 0 ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 PyObject
* obj2
= 0 ;
21631 char *kwnames
[] = {
21632 (char *) "self",(char *) "item",(char *) "col", NULL
21635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21638 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21643 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 Py_INCREF(Py_None
); resultobj
= Py_None
;
21659 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21664 PyObject
* obj0
= 0 ;
21665 PyObject
* obj1
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "self",(char *) "item", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21673 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 wxColour
* resultptr
;
21685 resultptr
= new wxColour((wxColour
&) result
);
21686 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21694 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21697 PyObject
*arg2
= (PyObject
*) 0 ;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self",(char *) "func", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21722 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 char *kwnames
[] = {
21728 (char *) "self", NULL
21731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
21732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= wxPyMake_wxObject(result
);
21749 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
21751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21752 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
21754 return Py_BuildValue((char *)"");
21756 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxWindow
*arg1
= (wxWindow
*) 0 ;
21759 int arg2
= (int) -1 ;
21760 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21761 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21762 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21763 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21764 long arg5
= (long) wxLC_REPORT
;
21765 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21766 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21767 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21768 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21769 wxListView
*result
;
21772 bool temp7
= False
;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 PyObject
* obj2
= 0 ;
21776 PyObject
* obj3
= 0 ;
21777 PyObject
* obj4
= 0 ;
21778 PyObject
* obj5
= 0 ;
21779 PyObject
* obj6
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21788 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21806 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21811 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21812 if (arg6
== NULL
) {
21813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21818 arg7
= wxString_in_helper(obj6
);
21819 if (arg7
== NULL
) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
21845 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxListView
*result
;
21848 char *kwnames
[] = {
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 result
= (wxListView
*)new wxListView();
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
21867 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxListView
*arg1
= (wxListView
*) 0 ;
21870 wxWindow
*arg2
= (wxWindow
*) 0 ;
21871 int arg3
= (int) -1 ;
21872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21874 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21875 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21876 long arg6
= (long) wxLC_REPORT
;
21877 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21878 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21879 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21880 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21884 bool temp8
= False
;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 PyObject
* obj2
= 0 ;
21888 PyObject
* obj3
= 0 ;
21889 PyObject
* obj4
= 0 ;
21890 PyObject
* obj5
= 0 ;
21891 PyObject
* obj6
= 0 ;
21892 PyObject
* obj7
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21902 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21909 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21915 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21920 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21925 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21926 if (arg7
== NULL
) {
21927 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21932 arg8
= wxString_in_helper(obj7
);
21933 if (arg8
== NULL
) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21959 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxListView
*arg1
= (wxListView
*) 0 ;
21963 bool arg3
= (bool) True
;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 PyObject
* obj2
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self",(char *) "n",(char *) "on", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21974 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21979 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 (arg1
)->Select(arg2
,arg3
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 Py_INCREF(Py_None
); resultobj
= Py_None
;
21997 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
;
21999 wxListView
*arg1
= (wxListView
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "index", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22010 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->Focus(arg2
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22027 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxListView
*arg1
= (wxListView
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_PyObj_FromLong((long)result
);
22052 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxListView
*arg1
= (wxListView
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 PyObject
* obj1
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self",(char *) "item", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22066 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= SWIG_PyObj_FromLong((long)result
);
22083 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
;
22085 wxListView
*arg1
= (wxListView
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "self", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= SWIG_PyObj_FromLong((long)result
);
22108 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxListView
*arg1
= (wxListView
*) 0 ;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "index", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22122 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (bool)(arg1
)->IsSelected(arg2
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22139 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxListView
*arg1
= (wxListView
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 PyObject
* obj2
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "col",(char *) "image", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22154 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 (arg1
)->SetColumnImage(arg2
,arg3
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 Py_INCREF(Py_None
); resultobj
= Py_None
;
22175 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxListView
*arg1
= (wxListView
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "col", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22188 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 (arg1
)->ClearColumnImage(arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 Py_INCREF(Py_None
); resultobj
= Py_None
;
22205 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22208 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22210 return Py_BuildValue((char *)"");
22212 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22213 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22218 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22223 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22225 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22232 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxTreeItemId
*result
;
22235 char *kwnames
[] = {
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (wxTreeItemId
*)new wxTreeItemId();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22254 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22257 PyObject
* obj0
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "self", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 Py_INCREF(Py_None
); resultobj
= Py_None
;
22278 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
;
22280 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22303 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22306 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self",(char *) "other", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22316 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22331 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22334 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self",(char *) "other", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22359 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22362 void *arg2
= (void *) 0 ;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "m_pItem", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22371 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22372 if (arg1
) (arg1
)->m_pItem
= arg2
;
22374 Py_INCREF(Py_None
); resultobj
= Py_None
;
22381 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
;
22383 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22385 PyObject
* obj0
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22392 result
= (void *) ((arg1
)->m_pItem
);
22394 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22401 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22404 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22406 return Py_BuildValue((char *)"");
22408 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 PyObject
*arg1
= (PyObject
*) NULL
;
22411 wxPyTreeItemData
*result
;
22412 PyObject
* obj0
= 0 ;
22413 char *kwnames
[] = {
22414 (char *) "obj", NULL
22417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
22435 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= (PyObject
*)(arg1
)->GetData();
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= result
;
22460 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22463 PyObject
*arg2
= (PyObject
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self",(char *) "obj", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 (arg1
)->SetData(arg2
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 Py_INCREF(Py_None
); resultobj
= Py_None
;
22487 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22490 wxTreeItemId
*result
;
22491 PyObject
* obj0
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
22497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
22502 result
= (wxTreeItemId
*) &_result_ref
;
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
22515 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22518 wxTreeItemId
*arg2
= 0 ;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self",(char *) "id", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22528 if (arg2
== NULL
) {
22529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22538 Py_INCREF(Py_None
); resultobj
= Py_None
;
22545 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22546 PyObject
*resultobj
;
22547 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 wxPyTreeItemData_Destroy(arg1
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 Py_INCREF(Py_None
); resultobj
= Py_None
;
22569 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
22571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22572 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
22574 return Py_BuildValue((char *)"");
22576 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22579 int arg2
= (int) 0 ;
22580 wxTreeEvent
*result
;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "commandType",(char *) "id", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22590 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22596 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
22614 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22617 wxTreeItemId result
;
22618 PyObject
* obj0
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 wxTreeItemId
* resultptr
;
22634 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22635 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22643 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22646 wxTreeItemId
*arg2
= 0 ;
22647 PyObject
* obj0
= 0 ;
22648 PyObject
* obj1
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "item", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22656 if (arg2
== NULL
) {
22657 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 Py_INCREF(Py_None
); resultobj
= Py_None
;
22673 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
;
22675 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22676 wxTreeItemId result
;
22677 PyObject
* obj0
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 wxTreeItemId
* resultptr
;
22693 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22694 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22702 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
;
22704 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22705 wxTreeItemId
*arg2
= 0 ;
22706 PyObject
* obj0
= 0 ;
22707 PyObject
* obj1
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self",(char *) "item", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22715 if (arg2
== NULL
) {
22716 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 Py_INCREF(Py_None
); resultobj
= Py_None
;
22732 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
22742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22751 wxPoint
* resultptr
;
22752 resultptr
= new wxPoint((wxPoint
&) result
);
22753 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22761 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22764 wxPoint
*arg2
= 0 ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self",(char *) "pt", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 Py_INCREF(Py_None
); resultobj
= Py_None
;
22792 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22795 wxKeyEvent
*result
;
22796 PyObject
* obj0
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
22802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
22807 result
= (wxKeyEvent
*) &_result_ref
;
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
22820 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22824 PyObject
* obj0
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
22830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= SWIG_PyObj_FromInt((int)result
);
22845 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22848 wxKeyEvent
*arg2
= 0 ;
22849 PyObject
* obj0
= 0 ;
22850 PyObject
* obj1
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self",(char *) "evt", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,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 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22875 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
22890 result
= (wxString
*) &_result_ref
;
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22900 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22909 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22912 wxString
*arg2
= 0 ;
22913 bool temp2
= False
;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 char *kwnames
[] = {
22917 (char *) "self",(char *) "label", NULL
22920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22923 arg2
= wxString_in_helper(obj1
);
22924 if (arg2
== NULL
) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 (arg1
)->SetLabel((wxString
const &)*arg2
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 Py_INCREF(Py_None
); resultobj
= Py_None
;
22949 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22953 PyObject
* obj0
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22974 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22978 PyObject
* obj0
= 0 ;
22979 PyObject
* obj1
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self",(char *) "editCancelled", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
22985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22987 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 (arg1
)->SetEditCanceled(arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23007 wxString
*arg2
= 0 ;
23008 bool temp2
= False
;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self",(char *) "toolTip", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23018 arg2
= wxString_in_helper(obj1
);
23019 if (arg2
== NULL
) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 Py_INCREF(Py_None
); resultobj
= Py_None
;
23044 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23047 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23049 return Py_BuildValue((char *)"");
23051 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxWindow
*arg1
= (wxWindow
*) 0 ;
23054 int arg2
= (int) -1 ;
23055 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23056 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23057 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23058 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23059 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23060 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23061 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23062 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23064 wxPyTreeCtrl
*result
;
23067 bool temp7
= False
;
23068 PyObject
* obj0
= 0 ;
23069 PyObject
* obj1
= 0 ;
23070 PyObject
* obj2
= 0 ;
23071 PyObject
* obj3
= 0 ;
23072 PyObject
* obj4
= 0 ;
23073 PyObject
* obj5
= 0 ;
23074 PyObject
* obj6
= 0 ;
23075 char *kwnames
[] = {
23076 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23096 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23101 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23106 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23107 if (arg6
== NULL
) {
23108 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23113 arg7
= wxString_in_helper(obj6
);
23114 if (arg7
== NULL
) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= wxPyMake_wxObject(result
);
23142 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23144 wxPyTreeCtrl
*result
;
23145 char *kwnames
[] = {
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= wxPyMake_wxObject(result
);
23166 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
;
23168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23169 wxWindow
*arg2
= (wxWindow
*) 0 ;
23170 int arg3
= (int) -1 ;
23171 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23172 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23173 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23174 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23175 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23176 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23177 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23178 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23179 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23183 bool temp8
= False
;
23184 PyObject
* obj0
= 0 ;
23185 PyObject
* obj1
= 0 ;
23186 PyObject
* obj2
= 0 ;
23187 PyObject
* obj3
= 0 ;
23188 PyObject
* obj4
= 0 ;
23189 PyObject
* obj5
= 0 ;
23190 PyObject
* obj6
= 0 ;
23191 PyObject
* obj7
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23201 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23208 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23214 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23219 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23224 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23225 if (arg7
== NULL
) {
23226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23231 arg8
= wxString_in_helper(obj7
);
23232 if (arg8
== NULL
) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23258 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23261 PyObject
*arg2
= (PyObject
*) 0 ;
23262 PyObject
*arg3
= (PyObject
*) 0 ;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 PyObject
* obj2
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self",(char *) "self",(char *) "_class", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 Py_INCREF(Py_None
); resultobj
= Py_None
;
23288 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23292 PyObject
* obj0
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23306 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23313 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
;
23315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23316 unsigned int result
;
23317 PyObject
* obj0
= 0 ;
23318 char *kwnames
[] = {
23319 (char *) "self", NULL
23322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23338 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23341 unsigned int arg2
;
23342 PyObject
* obj0
= 0 ;
23343 PyObject
* obj1
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self",(char *) "indent", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23351 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->SetIndent(arg2
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 Py_INCREF(Py_None
); resultobj
= Py_None
;
23368 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23371 unsigned int result
;
23372 PyObject
* obj0
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23393 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23396 unsigned int arg2
;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "self",(char *) "spacing", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23406 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 (arg1
)->SetSpacing(arg2
);
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 Py_INCREF(Py_None
); resultobj
= Py_None
;
23423 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23426 wxImageList
*result
;
23427 PyObject
* obj0
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= wxPyMake_wxObject(result
);
23450 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23453 wxImageList
*result
;
23454 PyObject
* obj0
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= wxPyMake_wxObject(result
);
23477 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
;
23479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23480 wxImageList
*arg2
= (wxImageList
*) 0 ;
23481 PyObject
* obj0
= 0 ;
23482 PyObject
* obj1
= 0 ;
23483 char *kwnames
[] = {
23484 (char *) "self",(char *) "imageList", NULL
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 (arg1
)->SetImageList(arg2
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 Py_INCREF(Py_None
); resultobj
= Py_None
;
23504 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23507 wxImageList
*arg2
= (wxImageList
*) 0 ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self",(char *) "imageList", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 (arg1
)->SetStateImageList(arg2
);
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 Py_INCREF(Py_None
); resultobj
= Py_None
;
23531 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23534 wxImageList
*arg2
= (wxImageList
*) 0 ;
23535 PyObject
* obj0
= 0 ;
23536 PyObject
* obj1
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self",(char *) "imageList", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 (arg1
)->AssignImageList(arg2
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 Py_INCREF(Py_None
); resultobj
= Py_None
;
23558 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23561 wxImageList
*arg2
= (wxImageList
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self",(char *) "imageList", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",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_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 (arg1
)->AssignStateImageList(arg2
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 Py_INCREF(Py_None
); resultobj
= Py_None
;
23585 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23588 wxTreeItemId
*arg2
= 0 ;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self",(char *) "item", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23598 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23599 if (arg2
== NULL
) {
23600 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23622 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23625 wxTreeItemId
*arg2
= 0 ;
23626 int arg3
= (int) wxTreeItemIcon_Normal
;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 PyObject
* obj2
= 0 ;
23631 char *kwnames
[] = {
23632 (char *) "self",(char *) "item",(char *) "which", NULL
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23638 if (arg2
== NULL
) {
23639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23643 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_PyObj_FromInt((int)result
);
23661 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23664 wxTreeItemId
*arg2
= 0 ;
23665 wxPyTreeItemData
*result
;
23666 PyObject
* obj0
= 0 ;
23667 PyObject
* obj1
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self",(char *) "item", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
23673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23675 if (arg2
== NULL
) {
23676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
23692 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23695 wxTreeItemId
*arg2
= 0 ;
23697 PyObject
* obj0
= 0 ;
23698 PyObject
* obj1
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self",(char *) "item", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
23704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23706 if (arg2
== NULL
) {
23707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= result
;
23723 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23726 wxTreeItemId
*arg2
= 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self",(char *) "item", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23737 if (arg2
== NULL
) {
23738 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23748 wxColour
* resultptr
;
23749 resultptr
= new wxColour((wxColour
&) result
);
23750 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
23758 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23761 wxTreeItemId
*arg2
= 0 ;
23763 PyObject
* obj0
= 0 ;
23764 PyObject
* obj1
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "self",(char *) "item", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23771 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23772 if (arg2
== NULL
) {
23773 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23783 wxColour
* resultptr
;
23784 resultptr
= new wxColour((wxColour
&) result
);
23785 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
23793 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23796 wxTreeItemId
*arg2
= 0 ;
23798 PyObject
* obj0
= 0 ;
23799 PyObject
* obj1
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "self",(char *) "item", NULL
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
23805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23807 if (arg2
== NULL
) {
23808 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23818 wxFont
* resultptr
;
23819 resultptr
= new wxFont((wxFont
&) result
);
23820 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
23828 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23831 wxTreeItemId
*arg2
= 0 ;
23832 wxString
*arg3
= 0 ;
23833 bool temp3
= False
;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 PyObject
* obj2
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self",(char *) "item",(char *) "text", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23843 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23844 if (arg2
== NULL
) {
23845 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23848 arg3
= wxString_in_helper(obj2
);
23849 if (arg3
== NULL
) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 Py_INCREF(Py_None
); resultobj
= Py_None
;
23874 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23877 wxTreeItemId
*arg2
= 0 ;
23879 int arg4
= (int) wxTreeItemIcon_Normal
;
23880 PyObject
* obj0
= 0 ;
23881 PyObject
* obj1
= 0 ;
23882 PyObject
* obj2
= 0 ;
23883 PyObject
* obj3
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23891 if (arg2
== NULL
) {
23892 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23895 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23900 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 Py_INCREF(Py_None
); resultobj
= Py_None
;
23918 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23921 wxTreeItemId
*arg2
= 0 ;
23922 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23925 PyObject
* obj2
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "item",(char *) "data", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23933 if (arg2
== NULL
) {
23934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23936 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 Py_INCREF(Py_None
); resultobj
= Py_None
;
23951 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
;
23953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23954 wxTreeItemId
*arg2
= 0 ;
23955 PyObject
*arg3
= (PyObject
*) 0 ;
23956 PyObject
* obj0
= 0 ;
23957 PyObject
* obj1
= 0 ;
23958 PyObject
* obj2
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self",(char *) "item",(char *) "obj", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23965 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23966 if (arg2
== NULL
) {
23967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 Py_INCREF(Py_None
); resultobj
= Py_None
;
23984 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23987 wxTreeItemId
*arg2
= 0 ;
23988 bool arg3
= (bool) True
;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 PyObject
* obj2
= 0 ;
23992 char *kwnames
[] = {
23993 (char *) "self",(char *) "item",(char *) "has", NULL
23996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23999 if (arg2
== NULL
) {
24000 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24004 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 Py_INCREF(Py_None
); resultobj
= Py_None
;
24022 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24025 wxTreeItemId
*arg2
= 0 ;
24026 bool arg3
= (bool) True
;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 PyObject
* obj2
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self",(char *) "item",(char *) "bold", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24037 if (arg2
== NULL
) {
24038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24042 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24063 wxTreeItemId
*arg2
= 0 ;
24064 wxColour
*arg3
= 0 ;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 PyObject
* obj2
= 0 ;
24069 char *kwnames
[] = {
24070 (char *) "self",(char *) "item",(char *) "col", NULL
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24076 if (arg2
== NULL
) {
24077 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24081 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 Py_INCREF(Py_None
); resultobj
= Py_None
;
24097 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24100 wxTreeItemId
*arg2
= 0 ;
24101 wxColour
*arg3
= 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 PyObject
* obj2
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "self",(char *) "item",(char *) "col", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24113 if (arg2
== NULL
) {
24114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24118 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 Py_INCREF(Py_None
); resultobj
= Py_None
;
24134 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24137 wxTreeItemId
*arg2
= 0 ;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 PyObject
* obj2
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "self",(char *) "item",(char *) "font", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24149 if (arg2
== NULL
) {
24150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24152 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24153 if (arg3
== NULL
) {
24154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 Py_INCREF(Py_None
); resultobj
= Py_None
;
24170 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
;
24172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24173 wxTreeItemId
*arg2
= 0 ;
24175 PyObject
* obj0
= 0 ;
24176 PyObject
* obj1
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self",(char *) "item", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24184 if (arg2
== NULL
) {
24185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24189 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24201 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24202 PyObject
*resultobj
;
24203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24204 wxTreeItemId
*arg2
= 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 char *kwnames
[] = {
24209 (char *) "self",(char *) "item", NULL
24212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24215 if (arg2
== NULL
) {
24216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24232 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
;
24234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24235 wxTreeItemId
*arg2
= 0 ;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "item", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24246 if (arg2
== NULL
) {
24247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24263 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24266 wxTreeItemId
*arg2
= 0 ;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 char *kwnames
[] = {
24271 (char *) "self",(char *) "item", NULL
24274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24277 if (arg2
== NULL
) {
24278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24294 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24297 wxTreeItemId
*arg2
= 0 ;
24299 PyObject
* obj0
= 0 ;
24300 PyObject
* obj1
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self",(char *) "item", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24307 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24308 if (arg2
== NULL
) {
24309 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24325 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
;
24327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24328 wxTreeItemId
*arg2
= 0 ;
24329 bool arg3
= (bool) True
;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 PyObject
* obj2
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "self",(char *) "item",(char *) "recursively", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24341 if (arg2
== NULL
) {
24342 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24346 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24364 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24367 wxTreeItemId result
;
24368 PyObject
* obj0
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24383 wxTreeItemId
* resultptr
;
24384 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24385 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24393 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
;
24395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24396 wxTreeItemId result
;
24397 PyObject
* obj0
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 wxTreeItemId
* resultptr
;
24413 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24414 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24422 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24426 PyObject
* obj0
= 0 ;
24427 char *kwnames
[] = {
24428 (char *) "self", NULL
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 resultobj
= result
;
24447 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24450 wxTreeItemId
*arg2
= 0 ;
24451 wxTreeItemId result
;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "self",(char *) "item", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24461 if (arg2
== NULL
) {
24462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24472 wxTreeItemId
* resultptr
;
24473 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24474 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24482 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24485 wxTreeItemId
*arg2
= 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "item", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24496 if (arg2
== NULL
) {
24497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= result
;
24513 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24516 wxTreeItemId
*arg2
= 0 ;
24517 void *arg3
= (void *) 0 ;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 PyObject
* obj2
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "item",(char *) "cookie", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24528 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24529 if (arg2
== NULL
) {
24530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24532 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= result
;
24547 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24550 wxTreeItemId
*arg2
= 0 ;
24551 wxTreeItemId result
;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self",(char *) "item", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24561 if (arg2
== NULL
) {
24562 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24572 wxTreeItemId
* resultptr
;
24573 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24574 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24582 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24583 PyObject
*resultobj
;
24584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24585 wxTreeItemId
*arg2
= 0 ;
24586 wxTreeItemId result
;
24587 PyObject
* obj0
= 0 ;
24588 PyObject
* obj1
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self",(char *) "item", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24596 if (arg2
== NULL
) {
24597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24607 wxTreeItemId
* resultptr
;
24608 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24609 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24617 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24620 wxTreeItemId
*arg2
= 0 ;
24621 wxTreeItemId result
;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self",(char *) "item", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24631 if (arg2
== NULL
) {
24632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 wxTreeItemId
* resultptr
;
24643 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24644 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24652 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24655 wxTreeItemId result
;
24656 PyObject
* obj0
= 0 ;
24657 char *kwnames
[] = {
24658 (char *) "self", NULL
24661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
24662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 wxTreeItemId
* resultptr
;
24672 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24673 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24681 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24684 wxTreeItemId
*arg2
= 0 ;
24685 wxTreeItemId result
;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self",(char *) "item", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24695 if (arg2
== NULL
) {
24696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24706 wxTreeItemId
* resultptr
;
24707 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24708 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24716 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
;
24718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24719 wxTreeItemId
*arg2
= 0 ;
24720 wxTreeItemId result
;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self",(char *) "item", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24730 if (arg2
== NULL
) {
24731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24741 wxTreeItemId
* resultptr
;
24742 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24743 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24751 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24754 wxString
*arg2
= 0 ;
24755 int arg3
= (int) -1 ;
24756 int arg4
= (int) -1 ;
24757 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
24758 wxTreeItemId result
;
24759 bool temp2
= False
;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 PyObject
* obj2
= 0 ;
24763 PyObject
* obj3
= 0 ;
24764 PyObject
* obj4
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24772 arg2
= wxString_in_helper(obj1
);
24773 if (arg2
== NULL
) SWIG_fail
;
24778 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24784 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24789 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 wxTreeItemId
* resultptr
;
24800 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24801 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24817 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24820 wxTreeItemId
*arg2
= 0 ;
24821 wxString
*arg3
= 0 ;
24822 int arg4
= (int) -1 ;
24823 int arg5
= (int) -1 ;
24824 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
24825 wxTreeItemId result
;
24826 bool temp3
= False
;
24827 PyObject
* obj0
= 0 ;
24828 PyObject
* obj1
= 0 ;
24829 PyObject
* obj2
= 0 ;
24830 PyObject
* obj3
= 0 ;
24831 PyObject
* obj4
= 0 ;
24832 PyObject
* obj5
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24840 if (arg2
== NULL
) {
24841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24844 arg3
= wxString_in_helper(obj2
);
24845 if (arg3
== NULL
) SWIG_fail
;
24850 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24856 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24861 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 wxTreeItemId
* resultptr
;
24872 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24873 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24889 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24892 wxTreeItemId
*arg2
= 0 ;
24893 wxTreeItemId
*arg3
= 0 ;
24894 wxString
*arg4
= 0 ;
24895 int arg5
= (int) -1 ;
24896 int arg6
= (int) -1 ;
24897 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
24898 wxTreeItemId result
;
24899 bool temp4
= False
;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 PyObject
* obj2
= 0 ;
24903 PyObject
* obj3
= 0 ;
24904 PyObject
* obj4
= 0 ;
24905 PyObject
* obj5
= 0 ;
24906 PyObject
* obj6
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24914 if (arg2
== NULL
) {
24915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24917 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24918 if (arg3
== NULL
) {
24919 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24922 arg4
= wxString_in_helper(obj3
);
24923 if (arg4
== NULL
) SWIG_fail
;
24928 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24934 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24939 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 wxTreeItemId
* resultptr
;
24950 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24951 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24967 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
;
24969 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24970 wxTreeItemId
*arg2
= 0 ;
24972 wxString
*arg4
= 0 ;
24973 int arg5
= (int) -1 ;
24974 int arg6
= (int) -1 ;
24975 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
24976 wxTreeItemId result
;
24977 bool temp4
= False
;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 PyObject
* obj2
= 0 ;
24981 PyObject
* obj3
= 0 ;
24982 PyObject
* obj4
= 0 ;
24983 PyObject
* obj5
= 0 ;
24984 PyObject
* obj6
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24992 if (arg2
== NULL
) {
24993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24996 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
24997 if (PyErr_Occurred()) SWIG_fail
;
25000 arg4
= wxString_in_helper(obj3
);
25001 if (arg4
== NULL
) SWIG_fail
;
25006 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25012 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25017 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25027 wxTreeItemId
* resultptr
;
25028 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25029 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25045 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25048 wxTreeItemId
*arg2
= 0 ;
25049 wxString
*arg3
= 0 ;
25050 int arg4
= (int) -1 ;
25051 int arg5
= (int) -1 ;
25052 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25053 wxTreeItemId result
;
25054 bool temp3
= False
;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 PyObject
* obj2
= 0 ;
25058 PyObject
* obj3
= 0 ;
25059 PyObject
* obj4
= 0 ;
25060 PyObject
* obj5
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25068 if (arg2
== NULL
) {
25069 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25072 arg3
= wxString_in_helper(obj2
);
25073 if (arg3
== NULL
) SWIG_fail
;
25078 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25084 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25089 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25099 wxTreeItemId
* resultptr
;
25100 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25101 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25117 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
;
25119 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25120 wxTreeItemId
*arg2
= 0 ;
25121 PyObject
* obj0
= 0 ;
25122 PyObject
* obj1
= 0 ;
25123 char *kwnames
[] = {
25124 (char *) "self",(char *) "item", NULL
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25130 if (arg2
== NULL
) {
25131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 Py_INCREF(Py_None
); resultobj
= Py_None
;
25147 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25150 wxTreeItemId
*arg2
= 0 ;
25151 PyObject
* obj0
= 0 ;
25152 PyObject
* obj1
= 0 ;
25153 char *kwnames
[] = {
25154 (char *) "self",(char *) "item", NULL
25157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25160 if (arg2
== NULL
) {
25161 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 Py_INCREF(Py_None
); resultobj
= Py_None
;
25177 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25180 PyObject
* obj0
= 0 ;
25181 char *kwnames
[] = {
25182 (char *) "self", NULL
25185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 (arg1
)->DeleteAllItems();
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 Py_INCREF(Py_None
); resultobj
= Py_None
;
25201 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25204 wxTreeItemId
*arg2
= 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self",(char *) "item", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25214 if (arg2
== NULL
) {
25215 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 Py_INCREF(Py_None
); resultobj
= Py_None
;
25231 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25234 wxTreeItemId
*arg2
= 0 ;
25235 PyObject
* obj0
= 0 ;
25236 PyObject
* obj1
= 0 ;
25237 char *kwnames
[] = {
25238 (char *) "self",(char *) "item", NULL
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25244 if (arg2
== NULL
) {
25245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 Py_INCREF(Py_None
); resultobj
= Py_None
;
25261 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25264 wxTreeItemId
*arg2
= 0 ;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self",(char *) "item", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25274 if (arg2
== NULL
) {
25275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 Py_INCREF(Py_None
); resultobj
= Py_None
;
25291 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25294 wxTreeItemId
*arg2
= 0 ;
25295 PyObject
* obj0
= 0 ;
25296 PyObject
* obj1
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self",(char *) "item", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25303 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25304 if (arg2
== NULL
) {
25305 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25324 PyObject
* obj0
= 0 ;
25325 char *kwnames
[] = {
25326 (char *) "self", NULL
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 (arg1
)->Unselect();
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 Py_INCREF(Py_None
); resultobj
= Py_None
;
25345 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 (arg1
)->UnselectAll();
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 Py_INCREF(Py_None
); resultobj
= Py_None
;
25369 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25372 wxTreeItemId
*arg2
= 0 ;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj1
= 0 ;
25375 char *kwnames
[] = {
25376 (char *) "self",(char *) "item", NULL
25379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25382 if (arg2
== NULL
) {
25383 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25399 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25402 wxTreeItemId
*arg2
= 0 ;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self",(char *) "item", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25412 if (arg2
== NULL
) {
25413 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 Py_INCREF(Py_None
); resultobj
= Py_None
;
25429 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25432 wxTreeItemId
*arg2
= 0 ;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self",(char *) "item", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25442 if (arg2
== NULL
) {
25443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25447 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 Py_INCREF(Py_None
); resultobj
= Py_None
;
25459 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25462 wxTreeItemId
*arg2
= 0 ;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 char *kwnames
[] = {
25466 (char *) "self",(char *) "item", NULL
25469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25472 if (arg2
== NULL
) {
25473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 Py_INCREF(Py_None
); resultobj
= Py_None
;
25489 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
;
25491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25492 wxTextCtrl
*result
;
25493 PyObject
* obj0
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
25499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= wxPyMake_wxObject(result
);
25516 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25519 wxTreeItemId
*arg2
= 0 ;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self",(char *) "item", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25528 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25529 if (arg2
== NULL
) {
25530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 Py_INCREF(Py_None
); resultobj
= Py_None
;
25546 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25549 wxPoint
*arg2
= 0 ;
25551 wxTreeItemId result
;
25554 PyObject
* obj0
= 0 ;
25555 PyObject
* obj1
= 0 ;
25556 char *kwnames
[] = {
25557 (char *) "self",(char *) "point", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25565 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25575 wxTreeItemId
* resultptr
;
25576 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25577 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25580 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25581 resultobj
= t_output_helper(resultobj
,o
);
25589 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
;
25591 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25592 wxTreeItemId
*arg2
= 0 ;
25593 bool arg3
= (bool) False
;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 PyObject
* obj2
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self",(char *) "item",(char *) "textOnly", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25605 if (arg2
== NULL
) {
25606 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25610 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25621 resultobj
= result
;
25628 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
25630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25631 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
25633 return Py_BuildValue((char *)"");
25635 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
25636 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
25641 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
25646 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
25648 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
25655 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25657 wxWindow
*arg1
= (wxWindow
*) 0 ;
25658 int arg2
= (int) (int)-1 ;
25659 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
25660 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
25661 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25662 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25663 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25664 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25665 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
25666 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25667 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25668 int arg8
= (int) 0 ;
25669 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
25670 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
25671 wxGenericDirCtrl
*result
;
25672 bool temp3
= False
;
25675 bool temp7
= False
;
25676 bool temp9
= False
;
25677 PyObject
* obj0
= 0 ;
25678 PyObject
* obj1
= 0 ;
25679 PyObject
* obj2
= 0 ;
25680 PyObject
* obj3
= 0 ;
25681 PyObject
* obj4
= 0 ;
25682 PyObject
* obj5
= 0 ;
25683 PyObject
* obj6
= 0 ;
25684 PyObject
* obj7
= 0 ;
25685 PyObject
* obj8
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25694 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25700 arg3
= wxString_in_helper(obj2
);
25701 if (arg3
== NULL
) SWIG_fail
;
25708 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25714 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25719 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25725 arg7
= wxString_in_helper(obj6
);
25726 if (arg7
== NULL
) SWIG_fail
;
25732 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25738 arg9
= wxString_in_helper(obj8
);
25739 if (arg9
== NULL
) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
25781 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxGenericDirCtrl
*result
;
25784 char *kwnames
[] = {
25788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
25803 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
;
25805 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
25806 wxWindow
*arg2
= (wxWindow
*) 0 ;
25807 int arg3
= (int) (int)-1 ;
25808 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
25809 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25810 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
25811 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
25812 wxSize
const &arg6_defvalue
= wxDefaultSize
;
25813 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
25814 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
25815 wxString
const &arg8_defvalue
= wxPyEmptyString
;
25816 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25817 int arg9
= (int) 0 ;
25818 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
25819 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
25821 bool temp4
= False
;
25824 bool temp8
= False
;
25825 bool temp10
= False
;
25826 PyObject
* obj0
= 0 ;
25827 PyObject
* obj1
= 0 ;
25828 PyObject
* obj2
= 0 ;
25829 PyObject
* obj3
= 0 ;
25830 PyObject
* obj4
= 0 ;
25831 PyObject
* obj5
= 0 ;
25832 PyObject
* obj6
= 0 ;
25833 PyObject
* obj7
= 0 ;
25834 PyObject
* obj8
= 0 ;
25835 PyObject
* obj9
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
25841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25845 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25851 arg4
= wxString_in_helper(obj3
);
25852 if (arg4
== NULL
) SWIG_fail
;
25859 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
25865 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
25870 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25876 arg8
= wxString_in_helper(obj7
);
25877 if (arg8
== NULL
) SWIG_fail
;
25883 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25889 arg10
= wxString_in_helper(obj9
);
25890 if (arg10
== NULL
) SWIG_fail
;
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25932 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
25935 wxString
*arg2
= 0 ;
25937 bool temp2
= False
;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self",(char *) "path", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25947 arg2
= wxString_in_helper(obj1
);
25948 if (arg2
== NULL
) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25973 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
25977 PyObject
* obj0
= 0 ;
25978 char *kwnames
[] = {
25979 (char *) "self", NULL
25982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
25983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26004 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26007 wxString
*arg2
= 0 ;
26008 bool temp2
= False
;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self",(char *) "path", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26018 arg2
= wxString_in_helper(obj1
);
26019 if (arg2
== NULL
) SWIG_fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 Py_INCREF(Py_None
); resultobj
= Py_None
;
26044 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26075 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26079 PyObject
* obj0
= 0 ;
26080 char *kwnames
[] = {
26081 (char *) "self", NULL
26084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26106 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26109 wxString
*arg2
= 0 ;
26110 bool temp2
= False
;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self",(char *) "path", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26120 arg2
= wxString_in_helper(obj1
);
26121 if (arg2
== NULL
) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 (arg1
)->SetPath((wxString
const &)*arg2
);
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 Py_INCREF(Py_None
); resultobj
= Py_None
;
26146 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
;
26148 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 char *kwnames
[] = {
26153 (char *) "self",(char *) "show", NULL
26156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26159 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 (arg1
)->ShowHidden(arg2
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 Py_INCREF(Py_None
); resultobj
= Py_None
;
26176 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
;
26178 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 result
= (bool)(arg1
)->GetShowHidden();
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26201 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
;
26203 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26205 PyObject
* obj0
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26232 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
;
26234 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26235 wxString
*arg2
= 0 ;
26236 bool temp2
= False
;
26237 PyObject
* obj0
= 0 ;
26238 PyObject
* obj1
= 0 ;
26239 char *kwnames
[] = {
26240 (char *) "self",(char *) "filter", NULL
26243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26246 arg2
= wxString_in_helper(obj1
);
26247 if (arg2
== NULL
) SWIG_fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 (arg1
)->SetFilter((wxString
const &)*arg2
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 Py_INCREF(Py_None
); resultobj
= Py_None
;
26272 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_PyObj_FromInt((int)result
);
26297 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self",(char *) "n", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26310 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 (arg1
)->SetFilterIndex(arg2
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 Py_INCREF(Py_None
); resultobj
= Py_None
;
26327 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26330 wxTreeItemId result
;
26331 PyObject
* obj0
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self", NULL
26336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 result
= (arg1
)->GetRootId();
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26346 wxTreeItemId
* resultptr
;
26347 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26348 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26356 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26359 wxPyTreeCtrl
*result
;
26360 PyObject
* obj0
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
26366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26375 resultobj
= wxPyMake_wxObject(result
);
26383 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26384 PyObject
*resultobj
;
26385 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26386 wxDirFilterListCtrl
*result
;
26387 PyObject
* obj0
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
26393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
26408 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26411 wxTreeItemId arg2
;
26412 wxString
*arg3
= 0 ;
26414 wxTreeItemId result
;
26415 wxTreeItemId
*argp2
;
26416 bool temp3
= False
;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 PyObject
* obj2
= 0 ;
26421 char *kwnames
[] = {
26422 (char *) "self",(char *) "parentId",(char *) "path", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26428 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
26431 arg3
= wxString_in_helper(obj2
);
26432 if (arg3
== NULL
) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26443 wxTreeItemId
* resultptr
;
26444 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26445 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26448 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26449 resultobj
= t_output_helper(resultobj
,o
);
26465 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 char *kwnames
[] = {
26470 (char *) "self", NULL
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
26474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 (arg1
)->DoResize();
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 Py_INCREF(Py_None
); resultobj
= Py_None
;
26489 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 char *kwnames
[] = {
26494 (char *) "self", NULL
26497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
26498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 (arg1
)->ReCreateTree();
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 Py_INCREF(Py_None
); resultobj
= Py_None
;
26513 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26516 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
26518 return Py_BuildValue((char *)"");
26520 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
;
26522 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26523 int arg2
= (int) (int)-1 ;
26524 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26525 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26526 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26527 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26528 long arg5
= (long) 0 ;
26529 wxDirFilterListCtrl
*result
;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 PyObject
* obj2
= 0 ;
26535 PyObject
* obj3
= 0 ;
26536 PyObject
* obj4
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26545 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26552 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26558 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26563 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
26571 wxPyEndAllowThreads(__tstate
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26574 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26581 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26582 PyObject
*resultobj
;
26583 wxDirFilterListCtrl
*result
;
26584 char *kwnames
[] = {
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26603 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
;
26605 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
26606 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
26607 int arg3
= (int) (int)-1 ;
26608 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26609 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26610 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26611 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26612 long arg6
= (long) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 PyObject
* obj2
= 0 ;
26619 PyObject
* obj3
= 0 ;
26620 PyObject
* obj4
= 0 ;
26621 PyObject
* obj5
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26631 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26638 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26644 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26649 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26667 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
;
26669 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
26670 wxString
*arg2
= 0 ;
26672 bool temp2
= False
;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 PyObject
* obj2
= 0 ;
26676 char *kwnames
[] = {
26677 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
26680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26683 arg2
= wxString_in_helper(obj1
);
26684 if (arg2
== NULL
) SWIG_fail
;
26688 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 Py_INCREF(Py_None
); resultobj
= Py_None
;
26713 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26716 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
26718 return Py_BuildValue((char *)"");
26720 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
;
26722 wxWindow
*arg1
= (wxWindow
*) 0 ;
26724 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26725 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26726 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26727 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26728 long arg5
= (long) 0 ;
26729 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26730 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26731 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
26732 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26733 wxPyControl
*result
;
26736 bool temp7
= False
;
26737 PyObject
* obj0
= 0 ;
26738 PyObject
* obj1
= 0 ;
26739 PyObject
* obj2
= 0 ;
26740 PyObject
* obj3
= 0 ;
26741 PyObject
* obj4
= 0 ;
26742 PyObject
* obj5
= 0 ;
26743 PyObject
* obj6
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26751 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26757 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26763 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26768 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26773 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26774 if (arg6
== NULL
) {
26775 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26780 arg7
= wxString_in_helper(obj6
);
26781 if (arg7
== NULL
) SWIG_fail
;
26786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26787 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26789 wxPyEndAllowThreads(__tstate
);
26790 if (PyErr_Occurred()) SWIG_fail
;
26792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
26807 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
;
26809 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
26810 PyObject
*arg2
= (PyObject
*) 0 ;
26811 PyObject
*arg3
= (PyObject
*) 0 ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 PyObject
* obj2
= 0 ;
26815 char *kwnames
[] = {
26816 (char *) "self",(char *) "self",(char *) "_class", NULL
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26830 Py_INCREF(Py_None
); resultobj
= Py_None
;
26837 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26838 PyObject
*resultobj
;
26839 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
26844 PyObject
* obj0
= 0 ;
26845 PyObject
* obj1
= 0 ;
26846 PyObject
* obj2
= 0 ;
26847 PyObject
* obj3
= 0 ;
26848 PyObject
* obj4
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26860 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26864 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26868 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 Py_INCREF(Py_None
); resultobj
= Py_None
;
26885 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
;
26887 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
26892 int arg6
= (int) wxSIZE_AUTO
;
26893 PyObject
* obj0
= 0 ;
26894 PyObject
* obj1
= 0 ;
26895 PyObject
* obj2
= 0 ;
26896 PyObject
* obj3
= 0 ;
26897 PyObject
* obj4
= 0 ;
26898 PyObject
* obj5
= 0 ;
26899 char *kwnames
[] = {
26900 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
26903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26906 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26910 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26914 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26918 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26923 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26934 Py_INCREF(Py_None
); resultobj
= Py_None
;
26941 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
;
26943 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 PyObject
* obj2
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "width",(char *) "height", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26956 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 Py_INCREF(Py_None
); resultobj
= Py_None
;
26977 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26984 PyObject
* obj2
= 0 ;
26985 char *kwnames
[] = {
26986 (char *) "self",(char *) "x",(char *) "y", NULL
26989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26992 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26996 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26997 if (PyErr_Occurred()) SWIG_fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27006 Py_INCREF(Py_None
); resultobj
= Py_None
;
27013 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
;
27015 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27016 int *arg2
= (int *) 0 ;
27017 int *arg3
= (int *) 0 ;
27020 PyObject
* obj0
= 0 ;
27021 char *kwnames
[] = {
27022 (char *) "self", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 Py_INCREF(Py_None
); resultobj
= Py_None
;
27038 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27039 resultobj
= t_output_helper(resultobj
,o
);
27042 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27043 resultobj
= t_output_helper(resultobj
,o
);
27051 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
;
27053 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27054 int *arg2
= (int *) 0 ;
27055 int *arg3
= (int *) 0 ;
27058 PyObject
* obj0
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 Py_INCREF(Py_None
); resultobj
= Py_None
;
27076 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27077 resultobj
= t_output_helper(resultobj
,o
);
27080 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27081 resultobj
= t_output_helper(resultobj
,o
);
27089 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27092 int *arg2
= (int *) 0 ;
27093 int *arg3
= (int *) 0 ;
27096 PyObject
* obj0
= 0 ;
27097 char *kwnames
[] = {
27098 (char *) "self", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 Py_INCREF(Py_None
); resultobj
= Py_None
;
27114 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27115 resultobj
= t_output_helper(resultobj
,o
);
27118 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27119 resultobj
= t_output_helper(resultobj
,o
);
27127 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
;
27129 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27131 PyObject
* obj0
= 0 ;
27132 char *kwnames
[] = {
27133 (char *) "self", NULL
27136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27146 wxSize
* resultptr
;
27147 resultptr
= new wxSize((wxSize
&) result
);
27148 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27156 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
;
27158 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27160 PyObject
* obj0
= 0 ;
27161 char *kwnames
[] = {
27162 (char *) "self", NULL
27165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27175 wxSize
* resultptr
;
27176 resultptr
= new wxSize((wxSize
&) result
);
27177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27185 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
;
27187 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27188 PyObject
* obj0
= 0 ;
27189 char *kwnames
[] = {
27190 (char *) "self", NULL
27193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 (arg1
)->base_InitDialog();
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 Py_INCREF(Py_None
); resultobj
= Py_None
;
27209 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 char *kwnames
[] = {
27215 (char *) "self", NULL
27218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (bool)(arg1
)->base_TransferDataToWindow();
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27234 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 char *kwnames
[] = {
27240 (char *) "self", NULL
27243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27259 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
;
27261 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27263 PyObject
* obj0
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (bool)(arg1
)->base_Validate();
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27284 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27288 PyObject
* obj0
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27309 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27313 PyObject
* obj0
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27334 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 char *kwnames
[] = {
27340 (char *) "self", NULL
27343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 wxSize
* resultptr
;
27354 resultptr
= new wxSize((wxSize
&) result
);
27355 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27363 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
;
27365 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27366 wxWindow
*arg2
= (wxWindow
*) 0 ;
27367 PyObject
* obj0
= 0 ;
27368 PyObject
* obj1
= 0 ;
27369 char *kwnames
[] = {
27370 (char *) "self",(char *) "child", NULL
27373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 (arg1
)->base_AddChild(arg2
);
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27383 Py_INCREF(Py_None
); resultobj
= Py_None
;
27390 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27393 wxWindow
*arg2
= (wxWindow
*) 0 ;
27394 PyObject
* obj0
= 0 ;
27395 PyObject
* obj1
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self",(char *) "child", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 (arg1
)->base_RemoveChild(arg2
);
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 Py_INCREF(Py_None
); resultobj
= Py_None
;
27417 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
27419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27420 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
27422 return Py_BuildValue((char *)"");
27424 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
;
27426 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27427 int arg2
= (int) 0 ;
27428 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27429 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27430 wxHelpEvent
*result
;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 PyObject
* obj2
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "type",(char *) "winid",(char *) "pt", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27442 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27448 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27455 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
27472 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27476 PyObject
* obj0
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
27482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
27487 result
= (wxPoint
*) &_result_ref
;
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
27500 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27501 PyObject
*resultobj
;
27502 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27503 wxPoint
*arg2
= 0 ;
27505 PyObject
* obj0
= 0 ;
27506 PyObject
* obj1
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "pos", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
27512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 Py_INCREF(Py_None
); resultobj
= Py_None
;
27531 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27532 PyObject
*resultobj
;
27533 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27535 PyObject
* obj0
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
27541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
27546 result
= (wxString
*) &_result_ref
;
27549 wxPyEndAllowThreads(__tstate
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27554 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27556 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27565 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27568 wxString
*arg2
= 0 ;
27569 bool temp2
= False
;
27570 PyObject
* obj0
= 0 ;
27571 PyObject
* obj1
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self",(char *) "link", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
27577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27579 arg2
= wxString_in_helper(obj1
);
27580 if (arg2
== NULL
) SWIG_fail
;
27584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 (arg1
)->SetLink((wxString
const &)*arg2
);
27587 wxPyEndAllowThreads(__tstate
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27590 Py_INCREF(Py_None
); resultobj
= Py_None
;
27605 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27606 PyObject
*resultobj
;
27607 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27609 PyObject
* obj0
= 0 ;
27610 char *kwnames
[] = {
27611 (char *) "self", NULL
27614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
27615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
27620 result
= (wxString
*) &_result_ref
;
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27628 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27630 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27639 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27642 wxString
*arg2
= 0 ;
27643 bool temp2
= False
;
27644 PyObject
* obj0
= 0 ;
27645 PyObject
* obj1
= 0 ;
27646 char *kwnames
[] = {
27647 (char *) "self",(char *) "target", NULL
27650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27653 arg2
= wxString_in_helper(obj1
);
27654 if (arg2
== NULL
) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 (arg1
)->SetTarget((wxString
const &)*arg2
);
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 Py_INCREF(Py_None
); resultobj
= Py_None
;
27679 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
27681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27682 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
27684 return Py_BuildValue((char *)"");
27686 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
;
27688 wxWindow
*arg1
= (wxWindow
*) NULL
;
27689 bool arg2
= (bool) True
;
27690 wxContextHelp
*result
;
27691 PyObject
* obj0
= 0 ;
27692 PyObject
* obj1
= 0 ;
27693 char *kwnames
[] = {
27694 (char *) "window",(char *) "doNow", NULL
27697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
27699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27703 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
27721 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
27724 PyObject
* obj0
= 0 ;
27725 char *kwnames
[] = {
27726 (char *) "self", NULL
27729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
27730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27738 Py_INCREF(Py_None
); resultobj
= Py_None
;
27745 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
;
27747 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
27748 wxWindow
*arg2
= (wxWindow
*) NULL
;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 char *kwnames
[] = {
27753 (char *) "self",(char *) "window", NULL
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
27757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27759 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27775 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
27779 PyObject
* obj0
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "self", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
27785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 result
= (bool)(arg1
)->EndContextHelp();
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27800 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
27802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27803 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
27805 return Py_BuildValue((char *)"");
27807 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 wxWindow
*arg1
= (wxWindow
*) 0 ;
27810 int arg2
= (int) wxID_CONTEXT_HELP
;
27811 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27812 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27813 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27814 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27815 long arg5
= (long) wxBU_AUTODRAW
;
27816 wxContextHelpButton
*result
;
27819 PyObject
* obj0
= 0 ;
27820 PyObject
* obj1
= 0 ;
27821 PyObject
* obj2
= 0 ;
27822 PyObject
* obj3
= 0 ;
27823 PyObject
* obj4
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27832 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27839 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27845 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27850 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
27868 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
27870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27871 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
27873 return Py_BuildValue((char *)"");
27875 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
;
27877 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
27878 wxHelpProvider
*result
;
27879 PyObject
* obj0
= 0 ;
27880 char *kwnames
[] = {
27881 (char *) "helpProvider", NULL
27884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
27885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
27900 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxHelpProvider
*result
;
27903 char *kwnames
[] = {
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 result
= (wxHelpProvider
*)wxHelpProvider::Get();
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27915 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
27922 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27923 PyObject
*resultobj
;
27924 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
27925 wxWindow
*arg2
= (wxWindow
*) 0 ;
27927 PyObject
* obj0
= 0 ;
27928 PyObject
* obj1
= 0 ;
27929 char *kwnames
[] = {
27930 (char *) "self",(char *) "window", NULL
27933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
27934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
27940 wxPyEndAllowThreads(__tstate
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27956 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
;
27958 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
27959 wxWindow
*arg2
= (wxWindow
*) 0 ;
27961 PyObject
* obj0
= 0 ;
27962 PyObject
* obj1
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "self",(char *) "window", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
27968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 result
= (bool)(arg1
)->ShowHelp(arg2
);
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27984 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
27987 wxWindow
*arg2
= (wxWindow
*) 0 ;
27988 wxString
*arg3
= 0 ;
27989 bool temp3
= False
;
27990 PyObject
* obj0
= 0 ;
27991 PyObject
* obj1
= 0 ;
27992 PyObject
* obj2
= 0 ;
27993 char *kwnames
[] = {
27994 (char *) "self",(char *) "window",(char *) "text", NULL
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28001 arg3
= wxString_in_helper(obj2
);
28002 if (arg3
== NULL
) SWIG_fail
;
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28012 Py_INCREF(Py_None
); resultobj
= Py_None
;
28027 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
;
28029 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28031 wxString
*arg3
= 0 ;
28032 bool temp3
= False
;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 PyObject
* obj2
= 0 ;
28036 char *kwnames
[] = {
28037 (char *) "self",(char *) "id",(char *) "text", NULL
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28047 arg3
= wxString_in_helper(obj2
);
28048 if (arg3
== NULL
) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 Py_INCREF(Py_None
); resultobj
= Py_None
;
28073 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28074 PyObject
*resultobj
;
28075 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28076 PyObject
* obj0
= 0 ;
28077 char *kwnames
[] = {
28078 (char *) "self", NULL
28081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 wxHelpProvider_Destroy(arg1
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 Py_INCREF(Py_None
); resultobj
= Py_None
;
28097 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28100 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28102 return Py_BuildValue((char *)"");
28104 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxSimpleHelpProvider
*result
;
28107 char *kwnames
[] = {
28111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28126 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28129 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28131 return Py_BuildValue((char *)"");
28133 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
;
28135 wxBitmap
*arg1
= 0 ;
28136 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28137 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28138 wxGenericDragImage
*result
;
28139 PyObject
* obj0
= 0 ;
28140 PyObject
* obj1
= 0 ;
28141 char *kwnames
[] = {
28142 (char *) "image",(char *) "cursor", NULL
28145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28147 if (arg1
== NULL
) {
28148 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28152 if (arg2
== NULL
) {
28153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28170 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
;
28173 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28174 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28175 wxGenericDragImage
*result
;
28176 PyObject
* obj0
= 0 ;
28177 PyObject
* obj1
= 0 ;
28178 char *kwnames
[] = {
28179 (char *) "image",(char *) "cursor", NULL
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28184 if (arg1
== NULL
) {
28185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28189 if (arg2
== NULL
) {
28190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28207 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxString
*arg1
= 0 ;
28210 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28211 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28212 wxGenericDragImage
*result
;
28213 bool temp1
= False
;
28214 PyObject
* obj0
= 0 ;
28215 PyObject
* obj1
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "str",(char *) "cursor", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28222 arg1
= wxString_in_helper(obj0
);
28223 if (arg1
== NULL
) SWIG_fail
;
28227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28228 if (arg2
== NULL
) {
28229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28234 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28236 wxPyEndAllowThreads(__tstate
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28254 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
;
28256 wxPyTreeCtrl
*arg1
= 0 ;
28257 wxTreeItemId
*arg2
= 0 ;
28258 wxGenericDragImage
*result
;
28259 PyObject
* obj0
= 0 ;
28260 PyObject
* obj1
= 0 ;
28261 char *kwnames
[] = {
28262 (char *) "treeCtrl",(char *) "id", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28267 if (arg1
== NULL
) {
28268 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28271 if (arg2
== NULL
) {
28272 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28288 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxPyListCtrl
*arg1
= 0 ;
28292 wxGenericDragImage
*result
;
28293 PyObject
* obj0
= 0 ;
28294 PyObject
* obj1
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "listCtrl",(char *) "id", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28301 if (arg1
== NULL
) {
28302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28305 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28322 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
;
28324 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 Py_INCREF(Py_None
); resultobj
= Py_None
;
28346 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
;
28348 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28349 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
28350 PyObject
* obj0
= 0 ;
28351 PyObject
* obj1
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self",(char *) "bitmap", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 (arg1
)->SetBackingBitmap(arg2
);
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28366 Py_INCREF(Py_None
); resultobj
= Py_None
;
28373 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28374 PyObject
*resultobj
;
28375 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28376 wxPoint
*arg2
= 0 ;
28377 wxWindow
*arg3
= (wxWindow
*) 0 ;
28378 bool arg4
= (bool) False
;
28379 wxRect
*arg5
= (wxRect
*) NULL
;
28382 PyObject
* obj0
= 0 ;
28383 PyObject
* obj1
= 0 ;
28384 PyObject
* obj2
= 0 ;
28385 PyObject
* obj3
= 0 ;
28386 PyObject
* obj4
= 0 ;
28387 char *kwnames
[] = {
28388 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28395 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28397 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28400 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28405 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
28411 wxPyEndAllowThreads(__tstate
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28414 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28421 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28422 PyObject
*resultobj
;
28423 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28424 wxPoint
*arg2
= 0 ;
28425 wxWindow
*arg3
= (wxWindow
*) 0 ;
28426 wxWindow
*arg4
= (wxWindow
*) 0 ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 PyObject
* obj2
= 0 ;
28432 PyObject
* obj3
= 0 ;
28433 char *kwnames
[] = {
28434 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28441 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28443 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28444 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28459 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
;
28461 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28463 PyObject
* obj0
= 0 ;
28464 char *kwnames
[] = {
28465 (char *) "self", NULL
28468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
28469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 result
= (bool)(arg1
)->EndDrag();
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28484 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28487 wxPoint
*arg2
= 0 ;
28490 PyObject
* obj0
= 0 ;
28491 PyObject
* obj1
= 0 ;
28492 char *kwnames
[] = {
28493 (char *) "self",(char *) "pt", NULL
28496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
28497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28504 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28509 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28516 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28517 PyObject
*resultobj
;
28518 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28520 PyObject
* obj0
= 0 ;
28521 char *kwnames
[] = {
28522 (char *) "self", NULL
28525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
28526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 result
= (bool)(arg1
)->Show();
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28534 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28541 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
;
28543 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28545 PyObject
* obj0
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
28551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 result
= (bool)(arg1
)->Hide();
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28566 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28567 PyObject
*resultobj
;
28568 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28569 wxPoint
*arg2
= 0 ;
28572 PyObject
* obj0
= 0 ;
28573 PyObject
* obj1
= 0 ;
28574 char *kwnames
[] = {
28575 (char *) "self",(char *) "pos", NULL
28578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28592 wxRect
* resultptr
;
28593 resultptr
= new wxRect((wxRect
&) result
);
28594 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
28602 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
;
28604 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28606 wxPoint
*arg3
= 0 ;
28609 PyObject
* obj0
= 0 ;
28610 PyObject
* obj1
= 0 ;
28611 PyObject
* obj2
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "self",(char *) "dc",(char *) "pos", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28619 if (arg2
== NULL
) {
28620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28624 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28640 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28641 PyObject
*resultobj
;
28642 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28644 wxMemoryDC
*arg3
= 0 ;
28650 PyObject
* obj0
= 0 ;
28651 PyObject
* obj1
= 0 ;
28652 PyObject
* obj2
= 0 ;
28653 PyObject
* obj3
= 0 ;
28654 PyObject
* obj4
= 0 ;
28655 char *kwnames
[] = {
28656 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
28659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28662 if (arg2
== NULL
) {
28663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28665 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28666 if (arg3
== NULL
) {
28667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28671 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28675 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28691 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28694 wxPoint
*arg2
= 0 ;
28695 wxPoint
*arg3
= 0 ;
28701 PyObject
* obj0
= 0 ;
28702 PyObject
* obj1
= 0 ;
28703 PyObject
* obj2
= 0 ;
28704 PyObject
* obj3
= 0 ;
28705 PyObject
* obj4
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28718 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28721 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28725 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28742 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
28744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28745 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
28747 return Py_BuildValue((char *)"");
28749 static PyMethodDef SwigMethods
[] = {
28750 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
28756 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
28771 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
28782 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
28791 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
28809 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
28822 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
28826 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
28832 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
28836 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
28843 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
28862 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
28870 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
28871 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
28900 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
28951 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
28953 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
28958 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
28969 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
28981 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
28992 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
28996 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29002 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29013 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29015 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29016 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29017 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29019 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29020 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29027 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29030 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29031 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29033 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29034 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29035 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29038 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29039 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29041 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29042 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29043 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29044 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29045 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29046 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29047 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29048 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29049 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29050 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29051 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29052 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29053 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29054 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29055 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29056 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29057 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29058 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29059 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29060 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29061 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29062 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29063 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29064 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29065 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29066 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29067 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29068 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29069 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29070 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29071 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29072 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29073 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29074 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29075 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29076 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29077 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29078 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29079 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29080 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29081 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29082 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29083 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29084 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29085 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29086 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29087 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29088 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29089 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29090 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29091 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29092 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29093 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29094 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29095 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29096 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29097 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29098 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29099 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29100 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29101 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29102 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29103 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29104 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29105 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29106 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29107 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29108 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29109 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29110 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29111 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29112 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29113 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29114 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29115 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29116 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29117 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29118 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29119 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29120 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29121 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29122 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29123 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29124 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29125 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29126 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29127 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29128 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29129 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29130 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29131 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29132 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29133 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29134 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29135 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29136 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29137 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29138 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29139 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29140 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29141 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29142 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29143 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29144 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29145 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29146 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29147 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29148 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29149 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29150 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29151 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29152 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29153 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29154 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29155 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29156 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29157 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29158 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29159 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29160 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29161 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29162 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29163 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29164 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29165 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29166 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29167 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29168 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29169 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29170 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29171 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29172 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29173 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29174 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29175 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29176 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29177 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29178 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29179 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29180 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29181 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29182 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29183 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29184 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29185 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29186 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29187 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29188 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29189 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29190 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29191 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29192 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29193 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29194 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29195 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29196 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29197 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29198 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29199 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29200 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29201 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29202 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29203 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29204 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29205 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29206 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29207 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29208 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29209 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29210 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29211 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29212 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29213 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29214 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29215 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29216 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29217 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29218 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29219 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29220 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29221 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29222 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29223 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29224 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29225 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29226 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29227 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29228 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29229 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29230 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29231 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29232 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29233 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29234 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29235 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29236 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29237 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29238 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29239 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29240 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29241 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29242 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29243 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29244 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29245 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29246 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29247 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29248 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29249 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29250 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29251 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29252 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29253 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29254 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29255 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29256 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29257 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29258 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29259 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29260 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29261 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29262 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29263 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29264 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29265 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29266 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29267 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29268 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29269 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29270 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29271 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29272 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29273 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29274 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29275 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29276 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29277 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29278 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29279 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29280 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29281 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29282 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29283 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29284 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29285 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29286 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29287 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29288 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29289 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29290 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29291 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29292 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29293 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29294 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29295 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29296 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29297 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29298 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29299 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29300 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29301 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29302 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29303 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29304 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29305 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29306 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29307 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29308 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29309 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29310 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29311 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29312 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29313 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29314 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29315 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29316 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29317 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29318 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29319 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29320 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29321 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29322 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29323 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29324 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
29325 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29326 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29327 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29328 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
29329 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29330 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
29331 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
29332 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29333 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
29334 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29335 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29336 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29337 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29338 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
29339 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
29340 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
29341 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
29342 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
29343 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
29344 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
29345 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
29346 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
29347 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
29348 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
29349 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29350 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29351 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29352 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
29353 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29354 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29355 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29356 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29357 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29358 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
29359 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
29360 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
29361 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
29362 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29363 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29364 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29365 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29366 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29367 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
29368 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
29369 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29370 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29371 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29372 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29373 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29374 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29375 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29376 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29377 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29378 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29379 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29380 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29381 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29382 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
29383 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
29384 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29385 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29386 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29387 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29388 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29389 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29390 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29391 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29392 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29393 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29394 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29395 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29396 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29397 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29398 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29399 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29400 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29401 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29402 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29403 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29404 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29405 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29406 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29407 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29408 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29409 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29410 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29411 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
29412 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29413 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29414 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29415 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29419 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
29420 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
29421 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
29422 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29423 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
29425 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
29426 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
29427 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
29429 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
29430 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
29431 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
29432 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29436 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
29437 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
29438 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
29440 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
29442 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
29443 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
29446 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29447 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
29448 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
29450 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
29453 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
29456 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29457 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29458 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
29463 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29467 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
29472 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29473 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29474 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
29476 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
29478 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29479 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
29483 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
29486 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
29487 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29488 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
29490 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29491 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
29495 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
29496 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29497 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
29501 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
29502 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
29504 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
29505 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29506 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
29512 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
29517 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
29519 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
29527 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
29529 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
29551 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29553 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
29554 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29556 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
29557 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29559 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
29560 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
29562 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
29563 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29565 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
29566 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29568 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
29569 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
29571 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
29572 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29574 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
29575 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
29577 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
29578 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
29580 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
29581 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
29583 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29584 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29586 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29587 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29589 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29590 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29592 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29593 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29595 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29596 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29598 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
29599 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
29601 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29602 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29604 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29605 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29607 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29608 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29610 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
29611 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
29613 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
29614 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
29616 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29617 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29619 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29620 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29622 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
29623 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
29625 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
29626 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29628 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
29629 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29631 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
29632 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
29634 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29635 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29637 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29638 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29640 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29641 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29643 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29644 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29646 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29647 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29649 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29650 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29652 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29653 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29655 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29656 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29658 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29659 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29661 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29662 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29664 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29665 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29667 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29668 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29670 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29671 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29673 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29674 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29676 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29677 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29679 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29680 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29682 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29683 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29685 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29686 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29688 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29689 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29691 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29692 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29694 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29695 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29697 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29700 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29701 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29703 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29704 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29706 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29707 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29709 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
29710 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
29712 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
29713 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
29715 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
29716 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
29718 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
29719 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
29721 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
29722 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
29724 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
29725 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
29727 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
29728 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
29730 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
29731 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
29733 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
29734 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
29736 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
29737 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
29739 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
29740 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
29742 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
29743 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
29745 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
29746 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
29748 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
29749 return (void *)((wxControl
*) ((wxComboBox
*) x
));
29751 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
29752 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
29754 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
29755 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
29757 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
29758 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
29760 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
29761 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
29763 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
29764 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
29766 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
29767 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
29769 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
29770 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
29772 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
29773 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
29775 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
29776 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
29778 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
29779 return (void *)((wxControl
*) ((wxGauge
*) x
));
29781 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
29782 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
29784 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
29785 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
29787 static void *_p_wxButtonTo_p_wxControl(void *x
) {
29788 return (void *)((wxControl
*) ((wxButton
*) x
));
29790 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
29791 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
29793 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
29794 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
29796 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
29797 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
29799 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
29800 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
29802 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
29803 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
29805 static void *_p_wxListbookTo_p_wxControl(void *x
) {
29806 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
29808 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
29809 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
29811 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
29812 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
29814 static void *_p_wxListViewTo_p_wxControl(void *x
) {
29815 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
29817 static void *_p_wxSliderTo_p_wxControl(void *x
) {
29818 return (void *)((wxControl
*) ((wxSlider
*) x
));
29820 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
29821 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
29823 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
29824 return (void *)((wxControl
*) ((wxPyControl
*) x
));
29826 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
29827 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
29829 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
29830 return (void *)((wxControl
*) ((wxStaticText
*) x
));
29832 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
29833 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
29835 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
29836 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
29838 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
29839 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
29841 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
29842 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
29844 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
29845 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
29847 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
29848 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
29850 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
29851 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29853 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
29854 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29856 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
29857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
29859 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29860 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29862 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29863 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29865 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29866 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29868 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
29869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
29871 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29872 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29874 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
29875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
29877 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
29878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
29880 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29881 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29883 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29884 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29886 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
29887 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
29889 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
29890 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
29892 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
29893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
29895 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
29896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
29898 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
29899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
29901 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29902 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29904 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
29905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
29907 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
29908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
29910 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29913 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
29914 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
29916 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
29917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
29919 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
29920 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
29922 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
29923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
29925 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
29926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
29928 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
29929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
29931 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
29932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
29934 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
29935 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
29937 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
29938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
29940 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
29941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
29943 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
29944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
29946 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
29947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
29949 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
29950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
29952 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
29953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
29955 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
29956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
29958 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
29959 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
29961 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
29962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
29964 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
29965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
29967 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
29968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
29970 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
29971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
29973 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
29974 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
29976 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
29977 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
29979 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
29980 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
29982 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
29983 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
29985 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
29986 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
29988 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
29989 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
29991 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
29992 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
29994 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
29995 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
29997 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29998 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30000 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30001 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30003 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30004 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30006 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30009 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30010 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30012 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30015 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30018 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30019 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30021 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30022 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30024 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30025 return (void *)((wxObject
*) ((wxSizer
*) x
));
30027 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30028 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30030 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30033 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30036 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30037 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30039 static void *_p_wxEventTo_p_wxObject(void *x
) {
30040 return (void *)((wxObject
*) ((wxEvent
*) x
));
30042 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30043 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30045 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30046 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30048 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30049 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30051 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30054 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30057 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30060 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30061 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30063 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30064 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30066 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30067 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30069 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30070 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30072 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30073 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30075 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30076 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30078 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30081 static void *_p_wxControlTo_p_wxObject(void *x
) {
30082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30084 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30087 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30090 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30093 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30096 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30099 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30100 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30102 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30105 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30106 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30108 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30109 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30111 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30114 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30117 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30120 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30121 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30123 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30124 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30126 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30129 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30130 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30132 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30135 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30138 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30139 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30141 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30142 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30144 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30147 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30148 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30150 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30151 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30153 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30154 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30156 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30157 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30159 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30160 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30162 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30163 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30165 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30168 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30169 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30171 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30172 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30174 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30175 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30177 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30178 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30180 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30181 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30183 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30186 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30187 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30189 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30190 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30192 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30193 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30195 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30196 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30198 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30199 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30201 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30202 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30204 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30205 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30207 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30208 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30210 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30213 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30216 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30219 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30222 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30225 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30228 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30231 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30234 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30235 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30237 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30240 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30243 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30246 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30249 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30250 return (void *)((wxObject
*) ((wxListItem
*) x
));
30252 static void *_p_wxImageTo_p_wxObject(void *x
) {
30253 return (void *)((wxObject
*) ((wxImage
*) x
));
30255 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30256 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30258 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30259 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30261 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30264 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30265 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30267 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30270 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30271 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30273 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30276 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30279 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30280 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30282 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30283 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30285 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30286 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30288 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30289 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30291 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30294 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30295 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30297 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30298 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30300 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30301 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30303 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30304 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30306 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30307 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30309 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30310 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30312 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30313 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30315 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30318 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30319 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30321 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30322 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30324 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
30325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30327 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30328 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30330 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30331 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30333 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30336 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30339 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
30340 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
30342 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
30343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30345 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30348 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30349 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30351 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
30352 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
30354 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
30355 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
30357 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30358 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30360 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
30361 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30363 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
30364 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
30366 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
30367 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
30369 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
30370 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
30372 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30373 return (void *)((wxWindow
*) ((wxControl
*) x
));
30375 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
30376 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
30378 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
30379 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30381 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
30382 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
30384 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
30385 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
30387 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
30388 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
30390 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
30391 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
30393 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30394 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30396 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
30397 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
30399 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
30400 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
30402 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
30403 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30405 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
30406 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
30408 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
30409 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
30411 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
30412 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
30414 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
30415 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30417 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
30418 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30420 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
30421 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30423 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
30424 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30426 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
30427 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30429 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
30430 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
30432 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
30433 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
30435 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
30436 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
30438 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
30439 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
30441 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
30442 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
30444 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
30445 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
30447 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
30448 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
30450 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
30451 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30453 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
30454 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30456 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
30457 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
30459 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
30460 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30462 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
30463 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30465 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
30466 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30468 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
30469 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
30471 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
30472 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30474 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
30475 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30477 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
30478 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30480 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
30481 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30483 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
30484 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30486 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
30487 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
30489 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
30490 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30492 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
30493 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30495 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
30496 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30498 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
30499 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
30501 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
30502 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30504 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
30505 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30507 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
30508 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30510 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
30511 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
30513 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
30514 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
30516 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
30517 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
30519 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
30520 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
30522 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
30523 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}};
30524 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}};
30525 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
30526 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
30527 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}};
30528 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
30529 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
30530 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
30531 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}};
30532 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
30533 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
30534 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
30535 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}};
30536 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
30537 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
30538 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
30539 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
30540 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
30541 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
30542 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
30543 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
30544 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
30545 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
30546 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
30547 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
30548 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
30549 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
30550 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
30551 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
30552 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
30553 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}};
30554 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
30555 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
30556 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
30557 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
30558 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
30559 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
30560 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
30561 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
30562 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}};
30563 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
30564 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
30565 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
30566 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}};
30567 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
30568 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}};
30569 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
30570 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
30571 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
30572 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
30573 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
30574 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
30575 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
30576 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
30577 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
30578 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
30579 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
30580 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
30581 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
30582 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
30583 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
30584 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
30585 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
30586 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
30587 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
30588 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
30589 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
30590 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}};
30591 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
30592 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
30593 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}};
30594 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
30595 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
30596 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
30597 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
30598 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}};
30599 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
30600 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
30601 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
30602 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
30603 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
30604 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
30605 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
30607 static swig_type_info
*swig_types_initial
[] = {
30608 _swigt__p_wxTextUrlEvent
,
30609 _swigt__p_wxBookCtrlEvent
,
30611 _swigt__p_wxCheckBox
,
30612 _swigt__p_wxPyTreeCtrl
,
30614 _swigt__p_wxGenericDirCtrl
,
30616 _swigt__p_wxPyTreeItemData
,
30617 _swigt__p_wxItemContainer
,
30618 _swigt__p_wxDirFilterListCtrl
,
30619 _swigt__p_wxPyListCtrl
,
30620 _swigt__p_wxStaticLine
,
30621 _swigt__p_wxControl
,
30622 _swigt__p_wxPyControl
,
30624 _swigt__p_wxToolBarBase
,
30626 _swigt__p_wxToggleButton
,
30627 _swigt__p_wxRadioButton
,
30628 _swigt__p_wxChoice
,
30629 _swigt__p_wxMemoryDC
,
30630 _swigt__p_wxListItemAttr
,
30635 _swigt__p_wxListView
,
30637 _swigt__p_wxTextCtrl
,
30638 _swigt__p_wxNotebook
,
30639 _swigt__p_wxNotifyEvent
,
30640 _swigt__p_wxArrayString
,
30641 _swigt__p_wxListbook
,
30642 _swigt__p_wxStaticBitmap
,
30643 _swigt__p_wxSlider
,
30644 _swigt__p_wxStaticBox
,
30645 _swigt__p_wxArrayInt
,
30646 _swigt__p_wxContextHelp
,
30648 _swigt__p_wxEvtHandler
,
30649 _swigt__p_wxListEvent
,
30650 _swigt__p_wxListBox
,
30651 _swigt__p_wxCheckListBox
,
30652 _swigt__p_wxBookCtrl
,
30653 _swigt__p_wxSpinButton
,
30654 _swigt__p_wxButton
,
30655 _swigt__p_wxBitmapButton
,
30657 _swigt__p_wxContextHelpButton
,
30658 _swigt__p_wxRadioBox
,
30659 _swigt__p_wxScrollBar
,
30661 _swigt__p_wxTreeItemId
,
30662 _swigt__p_wxComboBox
,
30663 _swigt__p_wxHelpEvent
,
30664 _swigt__p_wxListItem
,
30665 _swigt__p_wxNotebookSizer
,
30666 _swigt__p_wxSpinEvent
,
30667 _swigt__p_wxGenericDragImage
,
30668 _swigt__p_wxSpinCtrl
,
30669 _swigt__p_wxImageList
,
30670 _swigt__p_wxHelpProvider
,
30671 _swigt__p_wxTextAttr
,
30672 _swigt__p_wxSimpleHelpProvider
,
30674 _swigt__p_wxListbookEvent
,
30675 _swigt__p_wxNotebookEvent
,
30676 _swigt__p_wxObject
,
30677 _swigt__p_wxCursor
,
30678 _swigt__p_wxKeyEvent
,
30679 _swigt__p_wxWindow
,
30680 _swigt__p_wxString
,
30681 _swigt__p_wxBitmap
,
30682 _swigt__p_wxTreeEvent
,
30683 _swigt__p_wxMouseEvent
,
30684 _swigt__p_wxCommandEvent
,
30685 _swigt__p_wxStaticText
,
30686 _swigt__p_wxControlWithItems
,
30687 _swigt__p_wxToolBarToolBase
,
30688 _swigt__p_wxColour
,
30689 _swigt__p_wxToolBar
,
30690 _swigt__p_wxBookCtrlSizer
,
30691 _swigt__p_wxValidator
,
30696 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30698 static swig_const_info swig_const_table
[] = {
30708 SWIGEXPORT(void) SWIG_init(void) {
30709 static PyObject
*SWIG_globals
= 0;
30710 static int typeinit
= 0;
30713 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30714 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30715 d
= PyModule_GetDict(m
);
30718 for (i
= 0; swig_types_initial
[i
]; i
++) {
30719 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30723 SWIG_InstallConstants(d
,swig_const_table
);
30725 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30726 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
30727 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
30728 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
30729 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
30730 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
30731 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
30732 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
30733 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
30734 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
30735 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
30736 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
30737 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
30738 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
30739 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
30740 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
30741 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
30742 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
30743 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
30744 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
30745 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
30746 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
30747 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
30748 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
30749 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
30750 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
30751 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
30752 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
30753 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
30754 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
30755 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
30756 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
30757 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
30758 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
30759 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
30760 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
30761 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
30762 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
30763 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
30764 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
30765 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
30766 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
30767 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
30768 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
30769 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
30770 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
30771 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
30772 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
30773 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
30774 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
30775 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
30776 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
30777 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
30778 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
30779 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
30780 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
30781 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
30782 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
30783 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
30784 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
30785 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
30786 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
30787 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
30788 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
30789 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
30790 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
30791 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
30792 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
30793 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
30794 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
30795 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
30796 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
30797 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
30798 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
30799 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
30800 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
30801 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
30802 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
30803 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
30804 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
30805 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
30806 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
30807 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
30808 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
30809 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
30810 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
30811 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
30812 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
30813 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
30814 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
30815 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
30816 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
30817 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
30818 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
30819 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
30820 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
30821 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
30822 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
30823 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
30824 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
30825 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
30826 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
30827 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
30828 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
30829 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
30830 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
30831 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
30832 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
30833 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
30834 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
30835 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
30836 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
30837 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
30838 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
30839 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
30840 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
30841 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
30842 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
30843 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
30844 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
30845 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
30846 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
30847 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
30848 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
30849 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
30850 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
30851 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
30852 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
30853 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
30854 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
30855 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
30856 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
30857 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
30858 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
30859 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
30860 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
30861 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
30862 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
30863 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
30864 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
30865 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
30866 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
30867 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
30868 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
30869 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
30870 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
30871 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
30872 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
30873 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
30874 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
30875 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
30876 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
30877 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
30878 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
30879 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
30880 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
30881 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
30882 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
30883 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
30884 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
30885 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
30886 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
30887 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
30888 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
30889 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
30890 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
30891 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
30892 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
30893 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
30894 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
30895 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
30896 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
30897 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
30898 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
30899 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
30900 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
30901 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
30902 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
30903 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
30904 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
30905 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
30906 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
30907 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
30908 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
30909 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
30910 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
30911 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
30912 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
30913 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
30914 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
30915 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
30916 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
30917 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
30918 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
30919 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
30920 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
30921 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
30922 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
30923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
30924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
30925 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
30926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
30927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
30928 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
30929 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
30930 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
30932 // Map renamed classes back to their common name for OOR
30933 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
30935 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
30936 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
30937 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
30938 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
30939 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
30940 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
30941 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
30942 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
30943 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
30944 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
30945 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
30946 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
30947 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
30948 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
30949 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
30950 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
30951 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
30952 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
30953 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
30954 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
30955 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
30956 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
30957 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
30958 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
30959 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
30960 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
30961 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
30962 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
30963 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
30964 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
30965 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
30966 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
30967 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
30968 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
30969 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
30970 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
30971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
30972 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
30973 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
30974 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
30975 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
30976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
30977 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
30978 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
30979 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
30980 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
30981 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
30982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
30983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
30984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
30985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
30986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
30987 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
30988 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
30989 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
30990 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
30992 // Map renamed classes back to their common name for OOR
30993 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
30994 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
30996 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
30997 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
30998 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
30999 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31000 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31001 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31002 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31003 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31004 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31005 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31007 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");