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
);
374 const wxArrayString wxPyEmptyStringArray
;
376 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
379 SWIG_PyObj_AsInt(PyObject
*obj
)
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
387 SWIG_PyObj_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
395 SWIG_PyObj_AsBool(PyObject
*obj
)
397 return PyObject_IsTrue(obj
) ? true : false;
400 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
401 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
402 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
403 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
404 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
405 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
407 #include <wx/checklst.h>
410 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
411 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
413 wxPyClientData
* data
= new wxPyClientData(clientData
);
414 self
->Insert(item
, pos
, data
);
416 self
->Insert(item
, pos
);
418 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
420 self
->GetSelections(lst
);
421 PyObject
*tup
= PyTuple_New(lst
.GetCount());
422 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
423 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
427 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
429 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
435 } else if (target
== Py_None
) {
439 if (!PyTuple_Check(target
)) {
441 target
= PyTuple_New(1);
442 PyTuple_SetItem(target
, 0, o2
);
445 PyTuple_SetItem(o3
, 0, o
);
448 target
= PySequence_Concat(o2
, o3
);
455 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
456 self
->AppendText(text
);
458 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
459 return self
->GetValue().Mid(from
, to
- from
);
461 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
462 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
463 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
464 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
465 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
467 #include <wx/slider.h>
470 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
471 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
473 #if defined(__WXMAC__) || defined(__WXX11__)
474 // implement dummy classes and such for wxMac
476 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
478 class wxToggleButton
: public wxControl
481 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
482 const wxPoint
&, const wxSize
&, long,
483 const wxValidator
&, const wxString
&)
484 { wxPyRaiseNotImplemented(); }
487 { wxPyRaiseNotImplemented(); }
491 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
493 SWIGSTATIC(PyObject
* )
494 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
496 return (value
> (unsigned long)(LONG_MAX
)) ?
497 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
500 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
501 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
502 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
504 Py_INCREF(udata
->m_obj
);
511 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
512 self
->SetClientData(new wxPyUserData(clientData
));
514 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
){
515 wxPyUserData
* udata
= NULL
;
516 if (clientData
&& clientData
!= Py_None
)
517 udata
= new wxPyUserData(clientData
);
518 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
519 shortHelp
, longHelp
, udata
);
521 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
){
522 wxPyUserData
* udata
= NULL
;
523 if (clientData
&& clientData
!= Py_None
)
524 udata
= new wxPyUserData(clientData
);
525 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
526 shortHelp
, longHelp
, udata
);
528 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
529 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
531 Py_INCREF(udata
->m_obj
);
538 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
539 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
542 #include <wx/listctrl.h>
545 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
546 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
547 // Python aware sorting function for wxPyListCtrl
548 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
550 PyObject
* func
= (PyObject
*)funcPtr
;
551 wxPyBeginBlockThreads();
553 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
554 PyObject
* result
= PyEval_CallObject(func
, args
);
557 retval
= PyInt_AsLong(result
);
561 wxPyEndBlockThreads();
565 // C++ Version of a Python aware class
566 class wxPyListCtrl
: public wxListCtrl
{
567 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
569 wxPyListCtrl() : wxListCtrl() {}
570 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
574 const wxValidator
& validator
,
575 const wxString
& name
) :
576 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
578 bool Create(wxWindow
* parent
, wxWindowID id
,
582 const wxValidator
& validator
,
583 const wxString
& name
) {
584 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
587 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
588 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
589 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
594 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
596 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
597 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
598 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
600 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
602 item
.SetMask( wxLIST_MASK_STATE
|
610 if (self
->GetColumn(col
, item
))
611 return new wxListItem(item
);
615 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
616 wxListItem
* info
= new wxListItem
;
617 info
->m_itemId
= itemId
;
619 info
->m_mask
= 0xFFFF;
620 self
->GetItem(*info
);
623 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
625 self
->GetItemPosition(item
, pos
);
628 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
630 self
->GetItemRect(item
, rect
, code
);
633 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
634 if (!PyCallable_Check(func
))
636 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
638 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
646 #include <wx/treectrl.h>
647 #include "wx/wxPython/pytree.h"
649 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
650 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
651 if (!other
) return False
;
652 return *self
== *other
;
654 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
655 if (!other
) return True
;
656 return *self
!= *other
;
658 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
659 // C++ version of Python aware wxTreeCtrl
660 class wxPyTreeCtrl
: public wxTreeCtrl
{
661 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
663 wxPyTreeCtrl() : wxTreeCtrl() {}
664 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
668 const wxValidator
& validator
,
669 const wxString
& name
) :
670 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
672 bool Create(wxWindow
*parent
, wxWindowID id
,
676 const wxValidator
& validator
,
677 const wxString
& name
) {
678 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
682 int OnCompareItems(const wxTreeItemId
& item1
,
683 const wxTreeItemId
& item2
) {
686 wxPyBeginBlockThreads();
687 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
688 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
689 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
690 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
694 wxPyEndBlockThreads();
696 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
702 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
706 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
709 SWIGSTATIC(unsigned int)
710 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
712 return numeric_cast(unsigned int,
713 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
716 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
717 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
719 data
= new wxPyTreeItemData();
720 data
->SetId(item
); // set the id
721 self
->SetItemData(item
, data
);
725 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
726 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
728 data
= new wxPyTreeItemData();
729 data
->SetId(item
); // set the id
730 self
->SetItemData(item
, data
);
732 return data
->GetData();
734 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
735 data
->SetId(item
); // set the id
736 self
->SetItemData(item
, data
);
738 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
739 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
741 data
= new wxPyTreeItemData(obj
);
742 data
->SetId(item
); // set the id
743 self
->SetItemData(item
, data
);
747 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
748 wxPyBeginBlockThreads();
749 PyObject
* rval
= PyList_New(0);
750 wxArrayTreeItemIds array
;
752 num
= self
->GetSelections(array
);
753 for (x
=0; x
< num
; x
++) {
754 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
755 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
756 PyList_Append(rval
, item
);
758 wxPyEndBlockThreads();
761 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
763 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
764 wxPyBeginBlockThreads();
765 PyObject
* tup
= PyTuple_New(2);
766 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
767 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
768 wxPyEndBlockThreads();
771 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
772 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
773 wxPyBeginBlockThreads();
774 PyObject
* tup
= PyTuple_New(2);
775 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
776 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
777 wxPyEndBlockThreads();
780 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
782 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
783 wxPyBeginBlockThreads();
784 wxRect
* r
= new wxRect(rect
);
785 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
786 wxPyEndBlockThreads();
792 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
793 // C++ version of Python aware wxControl
794 class wxPyControl
: public wxControl
796 DECLARE_DYNAMIC_CLASS(wxPyControl
)
798 wxPyControl() : wxControl() {}
799 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
800 const wxPoint
& pos
= wxDefaultPosition
,
801 const wxSize
& size
= wxDefaultSize
,
803 const wxValidator
& validator
=wxDefaultValidator
,
804 const wxString
& name
= wxPyControlNameStr
)
805 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
808 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
809 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
810 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
811 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
813 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
814 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
815 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
817 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
818 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
820 DEC_PYCALLBACK__(InitDialog
);
821 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
822 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
823 DEC_PYCALLBACK_BOOL_(Validate
);
825 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
826 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
827 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
829 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
830 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
835 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
837 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
838 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
839 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
840 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
842 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
843 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
844 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
846 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
847 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
849 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
850 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
851 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
852 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
854 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
855 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
856 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
858 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
859 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
864 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
866 #include <wx/generic/dragimgg.h>
871 static int _wrap_ButtonNameStr_set(PyObject
*) {
872 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
877 static PyObject
*_wrap_ButtonNameStr_get() {
882 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
884 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
891 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 wxWindow
*arg1
= (wxWindow
*) 0 ;
896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
900 long arg6
= (long) 0 ;
901 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
902 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
903 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
910 PyObject
* obj0
= 0 ;
911 PyObject
* obj1
= 0 ;
912 PyObject
* obj2
= 0 ;
913 PyObject
* obj3
= 0 ;
914 PyObject
* obj4
= 0 ;
915 PyObject
* obj5
= 0 ;
916 PyObject
* obj6
= 0 ;
917 PyObject
* obj7
= 0 ;
919 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
925 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
926 if (PyErr_Occurred()) SWIG_fail
;
929 arg3
= wxString_in_helper(obj2
);
930 if (arg3
== NULL
) SWIG_fail
;
936 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
942 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
947 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
948 if (PyErr_Occurred()) SWIG_fail
;
952 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
954 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
959 arg8
= wxString_in_helper(obj7
);
960 if (arg8
== NULL
) SWIG_fail
;
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) SWIG_fail
;
972 resultobj
= wxPyMake_wxObject(result
);
996 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1006 result
= (wxButton
*)new wxButton();
1008 wxPyEndAllowThreads(__tstate
);
1009 if (PyErr_Occurred()) SWIG_fail
;
1012 resultobj
= wxPyMake_wxObject(result
);
1020 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
*resultobj
;
1022 wxButton
*arg1
= (wxButton
*) 0 ;
1023 wxWindow
*arg2
= (wxWindow
*) 0 ;
1025 wxString
*arg4
= 0 ;
1026 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1027 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1028 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1029 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1030 long arg7
= (long) 0 ;
1031 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1032 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1033 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1034 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1036 bool temp4
= False
;
1039 bool temp9
= False
;
1040 PyObject
* obj0
= 0 ;
1041 PyObject
* obj1
= 0 ;
1042 PyObject
* obj2
= 0 ;
1043 PyObject
* obj3
= 0 ;
1044 PyObject
* obj4
= 0 ;
1045 PyObject
* obj5
= 0 ;
1046 PyObject
* obj6
= 0 ;
1047 PyObject
* obj7
= 0 ;
1048 PyObject
* obj8
= 0 ;
1050 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1057 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1061 arg4
= wxString_in_helper(obj3
);
1062 if (arg4
== NULL
) SWIG_fail
;
1068 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1074 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1079 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1080 if (PyErr_Occurred()) SWIG_fail
;
1084 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1086 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1091 arg9
= wxString_in_helper(obj8
);
1092 if (arg9
== NULL
) SWIG_fail
;
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) SWIG_fail
;
1103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1126 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
*resultobj
;
1128 wxButton
*arg1
= (wxButton
*) 0 ;
1129 PyObject
* obj0
= 0 ;
1131 (char *) "self", NULL
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1138 (arg1
)->SetDefault();
1140 wxPyEndAllowThreads(__tstate
);
1141 if (PyErr_Occurred()) SWIG_fail
;
1143 Py_INCREF(Py_None
); resultobj
= Py_None
;
1150 static PyObject
*_wrap_Button_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
*resultobj
;
1152 wxButton
*arg1
= (wxButton
*) 0 ;
1153 wxBitmap
*arg2
= 0 ;
1154 PyObject
* obj0
= 0 ;
1155 PyObject
* obj1
= 0 ;
1157 (char *) "self",(char *) "bitmap", NULL
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Button_SetImageLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1162 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1164 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 (arg1
)->SetImageLabel((wxBitmap
const &)*arg2
);
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) SWIG_fail
;
1173 Py_INCREF(Py_None
); resultobj
= Py_None
;
1180 static PyObject
*_wrap_Button_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
*resultobj
;
1182 wxButton
*arg1
= (wxButton
*) 0 ;
1185 PyObject
* obj0
= 0 ;
1186 PyObject
* obj1
= 0 ;
1187 PyObject
* obj2
= 0 ;
1189 (char *) "self",(char *) "x",(char *) "y", NULL
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Button_SetImageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1195 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1199 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1200 if (PyErr_Occurred()) SWIG_fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 (arg1
)->SetImageMargins(arg2
,arg3
);
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1209 Py_INCREF(Py_None
); resultobj
= Py_None
;
1216 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
*resultobj
;
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 result
= wxButton::GetDefaultSize();
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1233 resultptr
= new wxSize((wxSize
&) result
);
1234 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1242 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1245 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1247 return Py_BuildValue((char *)"");
1249 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
*resultobj
;
1251 wxWindow
*arg1
= (wxWindow
*) 0 ;
1253 wxBitmap
*arg3
= 0 ;
1254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1258 long arg6
= (long) wxBU_AUTODRAW
;
1259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1261 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1263 wxBitmapButton
*result
;
1266 bool temp8
= False
;
1267 PyObject
* obj0
= 0 ;
1268 PyObject
* obj1
= 0 ;
1269 PyObject
* obj2
= 0 ;
1270 PyObject
* obj3
= 0 ;
1271 PyObject
* obj4
= 0 ;
1272 PyObject
* obj5
= 0 ;
1273 PyObject
* obj6
= 0 ;
1274 PyObject
* obj7
= 0 ;
1276 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1282 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1283 if (PyErr_Occurred()) SWIG_fail
;
1285 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1292 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1298 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1303 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1308 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1310 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1315 arg8
= wxString_in_helper(obj7
);
1316 if (arg8
== NULL
) SWIG_fail
;
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1328 resultobj
= wxPyMake_wxObject(result
);
1344 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
*resultobj
;
1346 wxBitmapButton
*result
;
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= (wxBitmapButton
*)new wxBitmapButton();
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1360 resultobj
= wxPyMake_wxObject(result
);
1368 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1371 wxWindow
*arg2
= (wxWindow
*) 0 ;
1373 wxBitmap
*arg4
= 0 ;
1374 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1375 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1376 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1377 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1378 long arg7
= (long) wxBU_AUTODRAW
;
1379 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1380 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1381 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1382 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1386 bool temp9
= False
;
1387 PyObject
* obj0
= 0 ;
1388 PyObject
* obj1
= 0 ;
1389 PyObject
* obj2
= 0 ;
1390 PyObject
* obj3
= 0 ;
1391 PyObject
* obj4
= 0 ;
1392 PyObject
* obj5
= 0 ;
1393 PyObject
* obj6
= 0 ;
1394 PyObject
* obj7
= 0 ;
1395 PyObject
* obj8
= 0 ;
1397 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1404 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1407 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1414 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1420 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1425 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1430 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1437 arg9
= wxString_in_helper(obj8
);
1438 if (arg9
== NULL
) SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1464 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
*resultobj
;
1466 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1468 PyObject
* obj0
= 0 ;
1470 (char *) "self", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= (arg1
)->GetBitmapLabel();
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1483 wxBitmap
* resultptr
;
1484 resultptr
= new wxBitmap((wxBitmap
&) result
);
1485 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1493 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1497 PyObject
* obj0
= 0 ;
1499 (char *) "self", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 result
= (arg1
)->GetBitmapDisabled();
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1512 wxBitmap
* resultptr
;
1513 resultptr
= new wxBitmap((wxBitmap
&) result
);
1514 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1522 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
*resultobj
;
1524 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1526 PyObject
* obj0
= 0 ;
1528 (char *) "self", NULL
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 result
= (arg1
)->GetBitmapFocus();
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1541 wxBitmap
* resultptr
;
1542 resultptr
= new wxBitmap((wxBitmap
&) result
);
1543 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1551 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1555 PyObject
* obj0
= 0 ;
1557 (char *) "self", NULL
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 result
= (arg1
)->GetBitmapSelected();
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1570 wxBitmap
* resultptr
;
1571 resultptr
= new wxBitmap((wxBitmap
&) result
);
1572 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1580 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(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_SetBitmapDisabled",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
)->SetBitmapDisabled((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_SetBitmapFocus(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_SetBitmapFocus",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
)->SetBitmapFocus((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_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1643 wxBitmap
*arg2
= 0 ;
1644 PyObject
* obj0
= 0 ;
1645 PyObject
* obj1
= 0 ;
1647 (char *) "self",(char *) "bitmap", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1654 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1660 wxPyEndAllowThreads(__tstate
);
1661 if (PyErr_Occurred()) SWIG_fail
;
1663 Py_INCREF(Py_None
); resultobj
= Py_None
;
1670 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
*resultobj
;
1672 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1673 wxBitmap
*arg2
= 0 ;
1674 PyObject
* obj0
= 0 ;
1675 PyObject
* obj1
= 0 ;
1677 (char *) "self",(char *) "bitmap", NULL
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1684 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 Py_INCREF(Py_None
); resultobj
= Py_None
;
1700 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1705 PyObject
* obj0
= 0 ;
1706 PyObject
* obj1
= 0 ;
1707 PyObject
* obj2
= 0 ;
1709 (char *) "self",(char *) "x",(char *) "y", NULL
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1715 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1719 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1720 if (PyErr_Occurred()) SWIG_fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 (arg1
)->SetMargins(arg2
,arg3
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 Py_INCREF(Py_None
); resultobj
= Py_None
;
1736 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1738 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1740 PyObject
* obj0
= 0 ;
1742 (char *) "self", NULL
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 resultobj
= SWIG_PyObj_FromInt((int)result
);
1761 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1765 PyObject
* obj0
= 0 ;
1767 (char *) "self", NULL
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 resultobj
= SWIG_PyObj_FromInt((int)result
);
1786 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1789 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1791 return Py_BuildValue((char *)"");
1793 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1794 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1799 static PyObject
*_wrap_CheckBoxNameStr_get() {
1804 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1806 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1813 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxWindow
*arg1
= (wxWindow
*) 0 ;
1817 wxString
*arg3
= 0 ;
1818 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1819 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1820 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1821 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1822 long arg6
= (long) 0 ;
1823 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1824 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1825 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1828 bool temp3
= False
;
1831 bool temp8
= False
;
1832 PyObject
* obj0
= 0 ;
1833 PyObject
* obj1
= 0 ;
1834 PyObject
* obj2
= 0 ;
1835 PyObject
* obj3
= 0 ;
1836 PyObject
* obj4
= 0 ;
1837 PyObject
* obj5
= 0 ;
1838 PyObject
* obj6
= 0 ;
1839 PyObject
* obj7
= 0 ;
1841 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1847 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1851 arg3
= wxString_in_helper(obj2
);
1852 if (arg3
== NULL
) SWIG_fail
;
1858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1869 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1870 if (PyErr_Occurred()) SWIG_fail
;
1874 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1881 arg8
= wxString_in_helper(obj7
);
1882 if (arg8
== NULL
) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1916 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
*resultobj
;
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 result
= (wxCheckBox
*)new wxCheckBox();
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1938 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1941 wxWindow
*arg2
= (wxWindow
*) 0 ;
1943 wxString
*arg4
= 0 ;
1944 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1945 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1946 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1947 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1948 long arg7
= (long) 0 ;
1949 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1950 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1951 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1952 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1954 bool temp4
= False
;
1957 bool temp9
= False
;
1958 PyObject
* obj0
= 0 ;
1959 PyObject
* obj1
= 0 ;
1960 PyObject
* obj2
= 0 ;
1961 PyObject
* obj3
= 0 ;
1962 PyObject
* obj4
= 0 ;
1963 PyObject
* obj5
= 0 ;
1964 PyObject
* obj6
= 0 ;
1965 PyObject
* obj7
= 0 ;
1966 PyObject
* obj8
= 0 ;
1968 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1975 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1979 arg4
= wxString_in_helper(obj3
);
1980 if (arg4
== NULL
) SWIG_fail
;
1986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1997 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2002 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2004 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2009 arg9
= wxString_in_helper(obj8
);
2010 if (arg9
== NULL
) SWIG_fail
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2044 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2050 (char *) "self", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 result
= (bool)(arg1
)->GetValue();
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2069 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2073 PyObject
* obj0
= 0 ;
2075 (char *) "self", NULL
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 result
= (bool)(arg1
)->IsChecked();
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2094 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2098 PyObject
* obj0
= 0 ;
2099 PyObject
* obj1
= 0 ;
2101 (char *) "self",(char *) "state", NULL
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2107 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 (arg1
)->SetValue(arg2
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 Py_INCREF(Py_None
); resultobj
= Py_None
;
2124 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
*resultobj
;
2126 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2128 PyObject
* obj0
= 0 ;
2130 (char *) "self", NULL
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 resultobj
= SWIG_PyObj_FromInt((int)result
);
2149 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2151 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2153 PyObject
* obj0
= 0 ;
2154 PyObject
* obj1
= 0 ;
2156 (char *) "self",(char *) "state", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2162 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2172 Py_INCREF(Py_None
); resultobj
= Py_None
;
2179 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2181 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2183 PyObject
* obj0
= 0 ;
2185 (char *) "self", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2204 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2206 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2208 PyObject
* obj0
= 0 ;
2210 (char *) "self", NULL
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2229 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2232 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2234 return Py_BuildValue((char *)"");
2236 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2237 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2242 static PyObject
*_wrap_ChoiceNameStr_get() {
2247 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2249 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2256 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
*resultobj
;
2258 wxWindow
*arg1
= (wxWindow
*) 0 ;
2260 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2261 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2262 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2263 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2264 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2265 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2266 long arg6
= (long) 0 ;
2267 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2268 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2269 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2270 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2274 bool temp5
= False
;
2275 bool temp8
= False
;
2276 PyObject
* obj0
= 0 ;
2277 PyObject
* obj1
= 0 ;
2278 PyObject
* obj2
= 0 ;
2279 PyObject
* obj3
= 0 ;
2280 PyObject
* obj4
= 0 ;
2281 PyObject
* obj5
= 0 ;
2282 PyObject
* obj6
= 0 ;
2283 PyObject
* obj7
= 0 ;
2285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2291 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2308 if (! PySequence_Check(obj4
)) {
2309 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2312 arg5
= new wxArrayString
;
2314 int i
, len
=PySequence_Length(obj4
);
2315 for (i
=0; i
<len
; i
++) {
2316 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2318 PyObject
* str
= PyObject_Unicode(item
);
2320 PyObject
* str
= PyObject_Str(item
);
2322 arg5
->Add(Py2wxString(str
));
2330 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2335 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2342 arg8
= wxString_in_helper(obj7
);
2343 if (arg8
== NULL
) SWIG_fail
;
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2356 if (temp5
) delete arg5
;
2365 if (temp5
) delete arg5
;
2375 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
*resultobj
;
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 result
= (wxChoice
*)new wxChoice();
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2397 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
*resultobj
;
2399 wxChoice
*arg1
= (wxChoice
*) 0 ;
2400 wxWindow
*arg2
= (wxWindow
*) 0 ;
2402 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2403 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2404 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2405 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2406 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2407 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2408 long arg7
= (long) 0 ;
2409 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2410 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2411 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2412 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2416 bool temp6
= False
;
2417 bool temp9
= False
;
2418 PyObject
* obj0
= 0 ;
2419 PyObject
* obj1
= 0 ;
2420 PyObject
* obj2
= 0 ;
2421 PyObject
* obj3
= 0 ;
2422 PyObject
* obj4
= 0 ;
2423 PyObject
* obj5
= 0 ;
2424 PyObject
* obj6
= 0 ;
2425 PyObject
* obj7
= 0 ;
2426 PyObject
* obj8
= 0 ;
2428 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2433 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2435 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2452 if (! PySequence_Check(obj5
)) {
2453 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2456 arg6
= new wxArrayString
;
2458 int i
, len
=PySequence_Length(obj5
);
2459 for (i
=0; i
<len
; i
++) {
2460 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2462 PyObject
* str
= PyObject_Unicode(item
);
2464 PyObject
* str
= PyObject_Str(item
);
2466 arg6
->Add(Py2wxString(str
));
2474 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2479 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2486 arg9
= wxString_in_helper(obj8
);
2487 if (arg9
== NULL
) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2500 if (temp6
) delete arg6
;
2509 if (temp6
) delete arg6
;
2519 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2521 wxChoice
*arg1
= (wxChoice
*) 0 ;
2523 PyObject
* obj0
= 0 ;
2525 (char *) "self", NULL
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 result
= (int)(arg1
)->GetColumns();
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2537 resultobj
= SWIG_PyObj_FromInt((int)result
);
2544 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxChoice
*arg1
= (wxChoice
*) 0 ;
2547 int arg2
= (int) (int)1 ;
2548 PyObject
* obj0
= 0 ;
2549 PyObject
* obj1
= 0 ;
2551 (char *) "self",(char *) "n", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Choice_SetColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2558 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 (arg1
)->SetColumns(arg2
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2569 Py_INCREF(Py_None
); resultobj
= Py_None
;
2576 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
*resultobj
;
2578 wxChoice
*arg1
= (wxChoice
*) 0 ;
2580 PyObject
* obj0
= 0 ;
2581 PyObject
* obj1
= 0 ;
2583 (char *) "self",(char *) "n", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2589 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 (arg1
)->SetSelection(arg2
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 Py_INCREF(Py_None
); resultobj
= Py_None
;
2606 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxChoice
*arg1
= (wxChoice
*) 0 ;
2609 wxString
*arg2
= 0 ;
2610 bool temp2
= False
;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2614 (char *) "self",(char *) "string", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2620 arg2
= wxString_in_helper(obj1
);
2621 if (arg2
== NULL
) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2631 Py_INCREF(Py_None
); resultobj
= Py_None
;
2646 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 wxChoice
*arg1
= (wxChoice
*) 0 ;
2650 wxString
*arg3
= 0 ;
2651 bool temp3
= False
;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2654 PyObject
* obj2
= 0 ;
2656 (char *) "self",(char *) "n",(char *) "s", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2662 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2666 arg3
= wxString_in_helper(obj2
);
2667 if (arg3
== NULL
) SWIG_fail
;
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) SWIG_fail
;
2677 Py_INCREF(Py_None
); resultobj
= Py_None
;
2692 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2695 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2697 return Py_BuildValue((char *)"");
2699 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2700 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2705 static PyObject
*_wrap_ComboBoxNameStr_get() {
2710 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2712 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2719 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
*resultobj
;
2721 wxWindow
*arg1
= (wxWindow
*) 0 ;
2723 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2724 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2729 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2730 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2731 long arg7
= (long) 0 ;
2732 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2733 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2734 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2735 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2737 bool temp3
= False
;
2740 bool temp6
= False
;
2741 bool temp9
= False
;
2742 PyObject
* obj0
= 0 ;
2743 PyObject
* obj1
= 0 ;
2744 PyObject
* obj2
= 0 ;
2745 PyObject
* obj3
= 0 ;
2746 PyObject
* obj4
= 0 ;
2747 PyObject
* obj5
= 0 ;
2748 PyObject
* obj6
= 0 ;
2749 PyObject
* obj7
= 0 ;
2750 PyObject
* obj8
= 0 ;
2752 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2758 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2763 arg3
= wxString_in_helper(obj2
);
2764 if (arg3
== NULL
) SWIG_fail
;
2771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2782 if (! PySequence_Check(obj5
)) {
2783 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2786 arg6
= new wxArrayString
;
2788 int i
, len
=PySequence_Length(obj5
);
2789 for (i
=0; i
<len
; i
++) {
2790 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2792 PyObject
* str
= PyObject_Unicode(item
);
2794 PyObject
* str
= PyObject_Str(item
);
2796 arg6
->Add(Py2wxString(str
));
2804 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2805 if (PyErr_Occurred()) SWIG_fail
;
2809 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2816 arg9
= wxString_in_helper(obj8
);
2817 if (arg9
== NULL
) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2834 if (temp6
) delete arg6
;
2847 if (temp6
) delete arg6
;
2857 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 result
= (wxComboBox
*)new wxComboBox();
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2879 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2882 wxWindow
*arg2
= (wxWindow
*) 0 ;
2884 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2885 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2886 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2887 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2888 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2889 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2890 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2891 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2892 long arg8
= (long) 0 ;
2893 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2894 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2895 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2896 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2898 bool temp4
= False
;
2901 bool temp7
= False
;
2902 bool temp10
= False
;
2903 PyObject
* obj0
= 0 ;
2904 PyObject
* obj1
= 0 ;
2905 PyObject
* obj2
= 0 ;
2906 PyObject
* obj3
= 0 ;
2907 PyObject
* obj4
= 0 ;
2908 PyObject
* obj5
= 0 ;
2909 PyObject
* obj6
= 0 ;
2910 PyObject
* obj7
= 0 ;
2911 PyObject
* obj8
= 0 ;
2912 PyObject
* obj9
= 0 ;
2914 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2921 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2926 arg4
= wxString_in_helper(obj3
);
2927 if (arg4
== NULL
) SWIG_fail
;
2934 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2940 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2945 if (! PySequence_Check(obj6
)) {
2946 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2949 arg7
= new wxArrayString
;
2951 int i
, len
=PySequence_Length(obj6
);
2952 for (i
=0; i
<len
; i
++) {
2953 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2955 PyObject
* str
= PyObject_Unicode(item
);
2957 PyObject
* str
= PyObject_Str(item
);
2959 arg7
->Add(Py2wxString(str
));
2967 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2972 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2974 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2979 arg10
= wxString_in_helper(obj9
);
2980 if (arg10
== NULL
) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2997 if (temp7
) delete arg7
;
3010 if (temp7
) delete arg7
;
3020 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3024 PyObject
* obj0
= 0 ;
3026 (char *) "self", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= ((wxComboBox
const *)arg1
)->GetValue();
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3051 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3054 wxString
*arg2
= 0 ;
3055 bool temp2
= False
;
3056 PyObject
* obj0
= 0 ;
3057 PyObject
* obj1
= 0 ;
3059 (char *) "self",(char *) "value", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3065 arg2
= wxString_in_helper(obj1
);
3066 if (arg2
== NULL
) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 (arg1
)->SetValue((wxString
const &)*arg2
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 Py_INCREF(Py_None
); resultobj
= Py_None
;
3091 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3096 (char *) "self", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3108 Py_INCREF(Py_None
); resultobj
= Py_None
;
3115 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3120 (char *) "self", NULL
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3132 Py_INCREF(Py_None
); resultobj
= Py_None
;
3139 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3144 (char *) "self", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3163 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3167 PyObject
* obj0
= 0 ;
3168 PyObject
* obj1
= 0 ;
3170 (char *) "self",(char *) "pos", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3176 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 (arg1
)->SetInsertionPoint(arg2
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 Py_INCREF(Py_None
); resultobj
= Py_None
;
3193 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "self", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= SWIG_PyObj_FromLong((long)result
);
3218 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3222 PyObject
* obj0
= 0 ;
3224 (char *) "self", NULL
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3236 resultobj
= SWIG_PyObj_FromLong((long)result
);
3243 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3248 wxString
*arg4
= 0 ;
3249 bool temp4
= False
;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3252 PyObject
* obj2
= 0 ;
3253 PyObject
* obj3
= 0 ;
3255 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3261 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3265 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 arg4
= wxString_in_helper(obj3
);
3270 if (arg4
== NULL
) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 Py_INCREF(Py_None
); resultobj
= Py_None
;
3295 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj1
= 0 ;
3302 (char *) "self",(char *) "n", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3308 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 (arg1
)->SetSelection(arg2
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 Py_INCREF(Py_None
); resultobj
= Py_None
;
3325 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3332 PyObject
* obj2
= 0 ;
3334 (char *) "self",(char *) "from",(char *) "to", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3340 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3344 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 (arg1
)->SetSelection(arg2
,arg3
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3368 (char *) "self",(char *) "editable", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3374 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 (arg1
)->SetEditable(arg2
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3396 (char *) "self", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 (arg1
)->SetInsertionPointEnd();
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3408 Py_INCREF(Py_None
); resultobj
= Py_None
;
3415 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3421 PyObject
* obj1
= 0 ;
3422 PyObject
* obj2
= 0 ;
3424 (char *) "self",(char *) "from",(char *) "to", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3430 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3434 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 (arg1
)->Remove(arg2
,arg3
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3454 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3456 return Py_BuildValue((char *)"");
3458 static int _wrap_GaugeNameStr_set(PyObject
*) {
3459 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3464 static PyObject
*_wrap_GaugeNameStr_get() {
3469 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3471 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3478 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
*resultobj
;
3480 wxWindow
*arg1
= (wxWindow
*) 0 ;
3483 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3484 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3485 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3486 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3487 long arg6
= (long) wxGA_HORIZONTAL
;
3488 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3489 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3490 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3491 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3495 bool temp8
= False
;
3496 PyObject
* obj0
= 0 ;
3497 PyObject
* obj1
= 0 ;
3498 PyObject
* obj2
= 0 ;
3499 PyObject
* obj3
= 0 ;
3500 PyObject
* obj4
= 0 ;
3501 PyObject
* obj5
= 0 ;
3502 PyObject
* obj6
= 0 ;
3503 PyObject
* obj7
= 0 ;
3505 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3511 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3532 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3537 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3544 arg8
= wxString_in_helper(obj7
);
3545 if (arg8
== NULL
) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3571 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 result
= (wxGauge
*)new wxGauge();
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3593 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxGauge
*arg1
= (wxGauge
*) 0 ;
3596 wxWindow
*arg2
= (wxWindow
*) 0 ;
3599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3603 long arg7
= (long) wxGA_HORIZONTAL
;
3604 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3605 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3606 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3607 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3611 bool temp9
= False
;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj1
= 0 ;
3614 PyObject
* obj2
= 0 ;
3615 PyObject
* obj3
= 0 ;
3616 PyObject
* obj4
= 0 ;
3617 PyObject
* obj5
= 0 ;
3618 PyObject
* obj6
= 0 ;
3619 PyObject
* obj7
= 0 ;
3620 PyObject
* obj8
= 0 ;
3622 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3629 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3650 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3655 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3662 arg9
= wxString_in_helper(obj8
);
3663 if (arg9
== NULL
) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3689 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3691 wxGauge
*arg1
= (wxGauge
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3696 (char *) "self",(char *) "range", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3702 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 (arg1
)->SetRange(arg2
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 Py_INCREF(Py_None
); resultobj
= Py_None
;
3719 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
;
3721 wxGauge
*arg1
= (wxGauge
*) 0 ;
3723 PyObject
* obj0
= 0 ;
3725 (char *) "self", NULL
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= SWIG_PyObj_FromInt((int)result
);
3744 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3746 wxGauge
*arg1
= (wxGauge
*) 0 ;
3748 PyObject
* obj0
= 0 ;
3749 PyObject
* obj1
= 0 ;
3751 (char *) "self",(char *) "pos", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 (arg1
)->SetValue(arg2
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxGauge
*arg1
= (wxGauge
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 resultobj
= SWIG_PyObj_FromInt((int)result
);
3799 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxGauge
*arg1
= (wxGauge
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3824 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxGauge
*arg1
= (wxGauge
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3829 PyObject
* obj1
= 0 ;
3831 (char *) "self",(char *) "w", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 (arg1
)->SetShadowWidth(arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 Py_INCREF(Py_None
); resultobj
= Py_None
;
3854 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxGauge
*arg1
= (wxGauge
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= SWIG_PyObj_FromInt((int)result
);
3879 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 wxGauge
*arg1
= (wxGauge
*) 0 ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3886 (char *) "self",(char *) "w", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3892 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 (arg1
)->SetBezelFace(arg2
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 Py_INCREF(Py_None
); resultobj
= Py_None
;
3909 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxGauge
*arg1
= (wxGauge
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 resultobj
= SWIG_PyObj_FromInt((int)result
);
3934 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3937 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3939 return Py_BuildValue((char *)"");
3941 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3942 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3947 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3952 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3954 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3961 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3962 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3967 static PyObject
*_wrap_StaticBoxNameStr_get() {
3972 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3974 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3981 static int _wrap_StaticTextNameStr_set(PyObject
*) {
3982 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3987 static PyObject
*_wrap_StaticTextNameStr_get() {
3992 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3994 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4001 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxWindow
*arg1
= (wxWindow
*) 0 ;
4005 wxString
*arg3
= 0 ;
4006 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4007 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4008 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4009 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4010 long arg6
= (long) 0 ;
4011 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4013 wxStaticBox
*result
;
4014 bool temp3
= False
;
4017 bool temp7
= False
;
4018 PyObject
* obj0
= 0 ;
4019 PyObject
* obj1
= 0 ;
4020 PyObject
* obj2
= 0 ;
4021 PyObject
* obj3
= 0 ;
4022 PyObject
* obj4
= 0 ;
4023 PyObject
* obj5
= 0 ;
4024 PyObject
* obj6
= 0 ;
4026 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4032 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4036 arg3
= wxString_in_helper(obj2
);
4037 if (arg3
== NULL
) SWIG_fail
;
4043 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4049 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4054 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4060 arg7
= wxString_in_helper(obj6
);
4061 if (arg7
== NULL
) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= wxPyMake_wxObject(result
);
4097 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxStaticBox
*result
;
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (wxStaticBox
*)new wxStaticBox();
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= wxPyMake_wxObject(result
);
4121 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
*resultobj
;
4123 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4124 wxWindow
*arg2
= (wxWindow
*) 0 ;
4126 wxString
*arg4
= 0 ;
4127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4131 long arg7
= (long) 0 ;
4132 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4135 bool temp4
= False
;
4138 bool temp8
= False
;
4139 PyObject
* obj0
= 0 ;
4140 PyObject
* obj1
= 0 ;
4141 PyObject
* obj2
= 0 ;
4142 PyObject
* obj3
= 0 ;
4143 PyObject
* obj4
= 0 ;
4144 PyObject
* obj5
= 0 ;
4145 PyObject
* obj6
= 0 ;
4146 PyObject
* obj7
= 0 ;
4148 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4155 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4159 arg4
= wxString_in_helper(obj3
);
4160 if (arg4
== NULL
) SWIG_fail
;
4166 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4172 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4177 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4183 arg8
= wxString_in_helper(obj7
);
4184 if (arg8
== NULL
) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4218 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4221 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4223 return Py_BuildValue((char *)"");
4225 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxWindow
*arg1
= (wxWindow
*) 0 ;
4229 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4230 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4231 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4232 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4233 long arg5
= (long) wxLI_HORIZONTAL
;
4234 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4235 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4236 wxStaticLine
*result
;
4239 bool temp6
= False
;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 PyObject
* obj2
= 0 ;
4243 PyObject
* obj3
= 0 ;
4244 PyObject
* obj4
= 0 ;
4245 PyObject
* obj5
= 0 ;
4247 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4253 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4259 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4265 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4270 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4276 arg6
= wxString_in_helper(obj5
);
4277 if (arg6
== NULL
) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4303 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxStaticLine
*result
;
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (wxStaticLine
*)new wxStaticLine();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4325 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4328 wxWindow
*arg2
= (wxWindow
*) 0 ;
4330 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4331 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4332 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4333 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4334 long arg6
= (long) wxLI_HORIZONTAL
;
4335 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4336 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4340 bool temp7
= False
;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4343 PyObject
* obj2
= 0 ;
4344 PyObject
* obj3
= 0 ;
4345 PyObject
* obj4
= 0 ;
4346 PyObject
* obj5
= 0 ;
4347 PyObject
* obj6
= 0 ;
4349 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4356 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4373 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4379 arg7
= wxString_in_helper(obj6
);
4380 if (arg7
== NULL
) SWIG_fail
;
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4406 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4408 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4412 (char *) "self", NULL
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4431 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= (int)wxStaticLine::GetDefaultSize();
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= SWIG_PyObj_FromInt((int)result
);
4453 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4456 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4458 return Py_BuildValue((char *)"");
4460 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 wxWindow
*arg1
= (wxWindow
*) 0 ;
4464 wxString
*arg3
= 0 ;
4465 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4466 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4467 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4468 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4469 long arg6
= (long) 0 ;
4470 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4471 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4472 wxStaticText
*result
;
4473 bool temp3
= False
;
4476 bool temp7
= False
;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4479 PyObject
* obj2
= 0 ;
4480 PyObject
* obj3
= 0 ;
4481 PyObject
* obj4
= 0 ;
4482 PyObject
* obj5
= 0 ;
4483 PyObject
* obj6
= 0 ;
4485 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4491 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 arg3
= wxString_in_helper(obj2
);
4496 if (arg3
== NULL
) SWIG_fail
;
4502 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4508 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4513 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4519 arg7
= wxString_in_helper(obj6
);
4520 if (arg7
== NULL
) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4554 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxStaticText
*result
;
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 result
= (wxStaticText
*)new wxStaticText();
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4576 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4579 wxWindow
*arg2
= (wxWindow
*) 0 ;
4581 wxString
*arg4
= 0 ;
4582 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4583 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4584 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4585 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4586 long arg7
= (long) 0 ;
4587 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4588 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4590 bool temp4
= False
;
4593 bool temp8
= False
;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4596 PyObject
* obj2
= 0 ;
4597 PyObject
* obj3
= 0 ;
4598 PyObject
* obj4
= 0 ;
4599 PyObject
* obj5
= 0 ;
4600 PyObject
* obj6
= 0 ;
4601 PyObject
* obj7
= 0 ;
4603 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4610 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 arg4
= wxString_in_helper(obj3
);
4615 if (arg4
== NULL
) SWIG_fail
;
4621 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4627 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4632 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4638 arg8
= wxString_in_helper(obj7
);
4639 if (arg8
== NULL
) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4673 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4676 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4678 return Py_BuildValue((char *)"");
4680 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4682 wxWindow
*arg1
= (wxWindow
*) 0 ;
4684 wxBitmap
*arg3
= 0 ;
4685 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4686 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4687 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4688 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4689 long arg6
= (long) 0 ;
4690 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4691 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4692 wxStaticBitmap
*result
;
4695 bool temp7
= False
;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4704 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4710 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4713 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4715 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4720 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4726 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4731 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4737 arg7
= wxString_in_helper(obj6
);
4738 if (arg7
== NULL
) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4764 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
;
4766 wxStaticBitmap
*result
;
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4786 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4789 wxWindow
*arg2
= (wxWindow
*) 0 ;
4791 wxBitmap
*arg4
= 0 ;
4792 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4793 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4794 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4795 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4796 long arg7
= (long) 0 ;
4797 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4798 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4802 bool temp8
= False
;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4805 PyObject
* obj2
= 0 ;
4806 PyObject
* obj3
= 0 ;
4807 PyObject
* obj4
= 0 ;
4808 PyObject
* obj5
= 0 ;
4809 PyObject
* obj6
= 0 ;
4810 PyObject
* obj7
= 0 ;
4812 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4819 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4824 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4829 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4835 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4840 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4846 arg8
= wxString_in_helper(obj7
);
4847 if (arg8
== NULL
) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4873 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4877 PyObject
* obj0
= 0 ;
4879 (char *) "self", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (arg1
)->GetBitmap();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4892 wxBitmap
* resultptr
;
4893 resultptr
= new wxBitmap((wxBitmap
&) result
);
4894 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4902 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4905 wxBitmap
*arg2
= 0 ;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "self",(char *) "bitmap", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 Py_INCREF(Py_None
); resultobj
= Py_None
;
4932 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4939 (char *) "self",(char *) "icon", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 Py_INCREF(Py_None
); resultobj
= Py_None
;
4962 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4965 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4967 return Py_BuildValue((char *)"");
4969 static int _wrap_ListBoxNameStr_set(PyObject
*) {
4970 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4975 static PyObject
*_wrap_ListBoxNameStr_get() {
4980 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4982 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4989 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxWindow
*arg1
= (wxWindow
*) 0 ;
4993 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4994 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4995 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4996 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4997 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4998 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4999 long arg6
= (long) 0 ;
5000 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5001 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5002 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5003 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5007 bool temp5
= False
;
5008 bool temp8
= False
;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5011 PyObject
* obj2
= 0 ;
5012 PyObject
* obj3
= 0 ;
5013 PyObject
* obj4
= 0 ;
5014 PyObject
* obj5
= 0 ;
5015 PyObject
* obj6
= 0 ;
5016 PyObject
* obj7
= 0 ;
5018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5024 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5030 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5036 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5041 if (! PySequence_Check(obj4
)) {
5042 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5045 arg5
= new wxArrayString
;
5047 int i
, len
=PySequence_Length(obj4
);
5048 for (i
=0; i
<len
; i
++) {
5049 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5051 PyObject
* str
= PyObject_Unicode(item
);
5053 PyObject
* str
= PyObject_Str(item
);
5055 arg5
->Add(Py2wxString(str
));
5063 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5068 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5075 arg8
= wxString_in_helper(obj7
);
5076 if (arg8
== NULL
) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5089 if (temp5
) delete arg5
;
5098 if (temp5
) delete arg5
;
5108 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (wxListBox
*)new wxListBox();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5130 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxListBox
*arg1
= (wxListBox
*) 0 ;
5133 wxWindow
*arg2
= (wxWindow
*) 0 ;
5135 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5136 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5137 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5138 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5139 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5140 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5141 long arg7
= (long) 0 ;
5142 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5143 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5144 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5145 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5149 bool temp6
= False
;
5150 bool temp9
= False
;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5153 PyObject
* obj2
= 0 ;
5154 PyObject
* obj3
= 0 ;
5155 PyObject
* obj4
= 0 ;
5156 PyObject
* obj5
= 0 ;
5157 PyObject
* obj6
= 0 ;
5158 PyObject
* obj7
= 0 ;
5159 PyObject
* obj8
= 0 ;
5161 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5166 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5168 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5174 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5180 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5185 if (! PySequence_Check(obj5
)) {
5186 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5189 arg6
= new wxArrayString
;
5191 int i
, len
=PySequence_Length(obj5
);
5192 for (i
=0; i
<len
; i
++) {
5193 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5195 PyObject
* str
= PyObject_Unicode(item
);
5197 PyObject
* str
= PyObject_Str(item
);
5199 arg6
->Add(Py2wxString(str
));
5207 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5212 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5214 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5219 arg9
= wxString_in_helper(obj8
);
5220 if (arg9
== NULL
) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5233 if (temp6
) delete arg6
;
5242 if (temp6
) delete arg6
;
5252 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxListBox
*arg1
= (wxListBox
*) 0 ;
5255 wxString
*arg2
= 0 ;
5257 PyObject
*arg4
= (PyObject
*) NULL
;
5258 bool temp2
= False
;
5259 PyObject
* obj0
= 0 ;
5260 PyObject
* obj1
= 0 ;
5261 PyObject
* obj2
= 0 ;
5262 PyObject
* obj3
= 0 ;
5264 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5270 arg2
= wxString_in_helper(obj1
);
5271 if (arg2
== NULL
) SWIG_fail
;
5275 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 Py_INCREF(Py_None
); resultobj
= Py_None
;
5303 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
;
5305 wxListBox
*arg1
= (wxListBox
*) 0 ;
5306 wxArrayString
*arg2
= 0 ;
5308 bool temp2
= False
;
5309 PyObject
* obj0
= 0 ;
5310 PyObject
* obj1
= 0 ;
5311 PyObject
* obj2
= 0 ;
5313 (char *) "self",(char *) "items",(char *) "pos", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5319 if (! PySequence_Check(obj1
)) {
5320 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5323 arg2
= new wxArrayString
;
5325 int i
, len
=PySequence_Length(obj1
);
5326 for (i
=0; i
<len
; i
++) {
5327 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5329 PyObject
* str
= PyObject_Unicode(item
);
5331 PyObject
* str
= PyObject_Str(item
);
5333 arg2
->Add(Py2wxString(str
));
5339 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 Py_INCREF(Py_None
); resultobj
= Py_None
;
5351 if (temp2
) delete arg2
;
5356 if (temp2
) delete arg2
;
5362 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxListBox
*arg1
= (wxListBox
*) 0 ;
5365 wxArrayString
*arg2
= 0 ;
5366 bool temp2
= False
;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "items", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5376 if (! PySequence_Check(obj1
)) {
5377 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5380 arg2
= new wxArrayString
;
5382 int i
, len
=PySequence_Length(obj1
);
5383 for (i
=0; i
<len
; i
++) {
5384 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5386 PyObject
* str
= PyObject_Unicode(item
);
5388 PyObject
* str
= PyObject_Str(item
);
5390 arg2
->Add(Py2wxString(str
));
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->Set((wxArrayString
const &)*arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 if (temp2
) delete arg2
;
5409 if (temp2
) delete arg2
;
5415 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
;
5417 wxListBox
*arg1
= (wxListBox
*) 0 ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5423 (char *) "self",(char *) "n", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5429 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5446 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxListBox
*arg1
= (wxListBox
*) 0 ;
5450 bool arg3
= (bool) True
;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 PyObject
* obj2
= 0 ;
5455 (char *) "self",(char *) "n",(char *) "select", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5466 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 (arg1
)->SetSelection(arg2
,arg3
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 Py_INCREF(Py_None
); resultobj
= Py_None
;
5484 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxListBox
*arg1
= (wxListBox
*) 0 ;
5488 PyObject
* obj0
= 0 ;
5489 PyObject
* obj1
= 0 ;
5491 (char *) "self",(char *) "n", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5497 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->Select(arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 Py_INCREF(Py_None
); resultobj
= Py_None
;
5514 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxListBox
*arg1
= (wxListBox
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5519 PyObject
* obj1
= 0 ;
5521 (char *) "self",(char *) "n", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5527 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 (arg1
)->Deselect(arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxListBox
*arg1
= (wxListBox
*) 0 ;
5547 int arg2
= (int) -1 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5551 (char *) "self",(char *) "itemToLeaveSelected", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 (arg1
)->DeselectAll(arg2
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxListBox
*arg1
= (wxListBox
*) 0 ;
5579 wxString
*arg2
= 0 ;
5580 bool arg3
= (bool) True
;
5582 bool temp2
= False
;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5585 PyObject
* obj2
= 0 ;
5587 (char *) "self",(char *) "s",(char *) "select", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5593 arg2
= wxString_in_helper(obj1
);
5594 if (arg2
== NULL
) SWIG_fail
;
5599 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5625 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxListBox
*arg1
= (wxListBox
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5631 (char *) "self", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5650 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxListBox
*arg1
= (wxListBox
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5657 (char *) "self",(char *) "n", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5663 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 (arg1
)->SetFirstItem(arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 Py_INCREF(Py_None
); resultobj
= Py_None
;
5680 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxListBox
*arg1
= (wxListBox
*) 0 ;
5683 wxString
*arg2
= 0 ;
5684 bool temp2
= False
;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5688 (char *) "self",(char *) "s", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5694 arg2
= wxString_in_helper(obj1
);
5695 if (arg2
== NULL
) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5720 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxListBox
*arg1
= (wxListBox
*) 0 ;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5727 (char *) "self",(char *) "n", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5733 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 (arg1
)->EnsureVisible(arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxListBox
*arg1
= (wxListBox
*) 0 ;
5753 wxString
*arg2
= 0 ;
5754 bool temp2
= False
;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5758 (char *) "self",(char *) "s", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5764 arg2
= wxString_in_helper(obj1
);
5765 if (arg2
== NULL
) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 Py_INCREF(Py_None
); resultobj
= Py_None
;
5790 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxListBox
*arg1
= (wxListBox
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "self", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5815 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5818 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5820 return Py_BuildValue((char *)"");
5822 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxWindow
*arg1
= (wxWindow
*) 0 ;
5826 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5827 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5828 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5829 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5830 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5831 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5832 long arg6
= (long) 0 ;
5833 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5834 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5835 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5837 wxCheckListBox
*result
;
5840 bool temp5
= False
;
5841 bool temp8
= False
;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5844 PyObject
* obj2
= 0 ;
5845 PyObject
* obj3
= 0 ;
5846 PyObject
* obj4
= 0 ;
5847 PyObject
* obj5
= 0 ;
5848 PyObject
* obj6
= 0 ;
5849 PyObject
* obj7
= 0 ;
5851 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5857 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5863 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5869 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5874 if (! PySequence_Check(obj4
)) {
5875 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5878 arg5
= new wxArrayString
;
5880 int i
, len
=PySequence_Length(obj4
);
5881 for (i
=0; i
<len
; i
++) {
5882 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5884 PyObject
* str
= PyObject_Unicode(item
);
5886 PyObject
* str
= PyObject_Str(item
);
5888 arg5
->Add(Py2wxString(str
));
5896 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5901 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5903 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5908 arg8
= wxString_in_helper(obj7
);
5909 if (arg8
== NULL
) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5922 if (temp5
) delete arg5
;
5931 if (temp5
) delete arg5
;
5941 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
;
5943 wxCheckListBox
*result
;
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (wxCheckListBox
*)new wxCheckListBox();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5963 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5966 wxWindow
*arg2
= (wxWindow
*) 0 ;
5968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5972 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5973 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5974 long arg7
= (long) 0 ;
5975 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5976 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5977 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5978 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5982 bool temp6
= False
;
5983 bool temp9
= False
;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj1
= 0 ;
5986 PyObject
* obj2
= 0 ;
5987 PyObject
* obj3
= 0 ;
5988 PyObject
* obj4
= 0 ;
5989 PyObject
* obj5
= 0 ;
5990 PyObject
* obj6
= 0 ;
5991 PyObject
* obj7
= 0 ;
5992 PyObject
* obj8
= 0 ;
5994 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6001 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6018 if (! PySequence_Check(obj5
)) {
6019 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6022 arg6
= new wxArrayString
;
6024 int i
, len
=PySequence_Length(obj5
);
6025 for (i
=0; i
<len
; i
++) {
6026 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6028 PyObject
* str
= PyObject_Unicode(item
);
6030 PyObject
* str
= PyObject_Str(item
);
6032 arg6
->Add(Py2wxString(str
));
6040 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6045 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6047 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6052 arg9
= wxString_in_helper(obj8
);
6053 if (arg9
== NULL
) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6066 if (temp6
) delete arg6
;
6075 if (temp6
) delete arg6
;
6085 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6091 PyObject
* obj1
= 0 ;
6093 (char *) "self",(char *) "index", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6099 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (bool)(arg1
)->IsChecked(arg2
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6116 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6120 int arg3
= (int) True
;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6123 PyObject
* obj2
= 0 ;
6125 (char *) "self",(char *) "index",(char *) "check", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6131 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6136 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 (arg1
)->Check(arg2
,arg3
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 Py_INCREF(Py_None
); resultobj
= Py_None
;
6154 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6158 PyObject
* obj0
= 0 ;
6160 (char *) "self", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (int)(arg1
)->GetItemHeight();
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_PyObj_FromInt((int)result
);
6179 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6188 (char *) "self",(char *) "pt", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= SWIG_PyObj_FromInt((int)result
);
6211 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6219 PyObject
* obj2
= 0 ;
6221 (char *) "self",(char *) "x",(char *) "y", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_PyObj_FromInt((int)result
);
6248 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6251 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6253 return Py_BuildValue((char *)"");
6255 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6256 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6261 static PyObject
*_wrap_TextCtrlNameStr_get() {
6266 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6268 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6275 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6276 PyObject
*resultobj
;
6279 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (wxTextAttr
*)new wxTextAttr();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6294 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6295 PyObject
*resultobj
;
6296 wxColour
*arg1
= 0 ;
6297 wxColour
const &arg2_defvalue
= wxNullColour
;
6298 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6299 wxFont
const &arg3_defvalue
= wxNullFont
;
6300 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6301 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6307 PyObject
* obj2
= 0 ;
6308 PyObject
* obj3
= 0 ;
6310 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6313 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6318 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6322 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6324 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6329 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6347 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6352 argc
= PyObject_Length(args
);
6353 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6354 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6357 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6359 if ((argc
>= 1) && (argc
<= 4)) {
6362 _v
= wxColour_typecheck(argv
[0]);
6366 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6369 _v
= wxColour_typecheck(argv
[1]);
6373 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6377 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6386 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6389 SWIG_PyObj_AsInt(argv
[3]);
6390 if (PyErr_Occurred()) {
6398 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6405 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6410 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6413 PyObject
* obj0
= 0 ;
6415 (char *) "self", NULL
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 Py_INCREF(Py_None
); resultobj
= Py_None
;
6434 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6461 wxColour
*arg2
= 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6466 (char *) "self",(char *) "colText", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 Py_INCREF(Py_None
); resultobj
= Py_None
;
6489 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6492 wxColour
*arg2
= 0 ;
6494 PyObject
* obj0
= 0 ;
6495 PyObject
* obj1
= 0 ;
6497 (char *) "self",(char *) "colBack", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6504 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 Py_INCREF(Py_None
); resultobj
= Py_None
;
6520 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6524 long arg3
= (long) wxTEXT_ATTR_FONT
;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6527 PyObject
* obj2
= 0 ;
6529 (char *) "self",(char *) "font",(char *) "flags", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6540 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 Py_INCREF(Py_None
); resultobj
= Py_None
;
6558 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6565 (char *) "self",(char *) "alignment", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6571 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 Py_INCREF(Py_None
); resultobj
= Py_None
;
6588 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6591 wxArrayInt
*arg2
= 0 ;
6592 bool temp2
= False
;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6596 (char *) "self",(char *) "tabs", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6602 if (! PySequence_Check(obj1
)) {
6603 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6606 arg2
= new wxArrayInt
;
6608 int i
, len
=PySequence_Length(obj1
);
6609 for (i
=0; i
<len
; i
++) {
6610 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6611 PyObject
* number
= PyNumber_Int(item
);
6612 arg2
->Add(PyInt_AS_LONG(number
));
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 Py_INCREF(Py_None
); resultobj
= Py_None
;
6626 if (temp2
) delete arg2
;
6631 if (temp2
) delete arg2
;
6637 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6644 (char *) "self",(char *) "indent", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6650 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 (arg1
)->SetLeftIndent(arg2
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6674 (char *) "self",(char *) "indent", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6680 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 (arg1
)->SetRightIndent(arg2
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6704 (char *) "self",(char *) "flags", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6710 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 (arg1
)->SetFlags(arg2
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 Py_INCREF(Py_None
); resultobj
= Py_None
;
6727 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6733 (char *) "self", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6752 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6758 (char *) "self", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6777 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6783 (char *) "self", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6802 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
;
6804 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6806 PyObject
* obj0
= 0 ;
6808 (char *) "self", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6827 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6833 (char *) "self", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6852 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6856 PyObject
* obj0
= 0 ;
6858 (char *) "self", NULL
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6877 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6883 (char *) "self", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6902 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6907 PyObject
* obj0
= 0 ;
6908 PyObject
* obj1
= 0 ;
6910 (char *) "self",(char *) "flag", NULL
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6916 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6933 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6939 (char *) "self", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6948 result
= (wxColour
*) &_result_ref
;
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6961 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "self", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6976 result
= (wxColour
*) &_result_ref
;
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6989 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6993 PyObject
* obj0
= 0 ;
6995 (char *) "self", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7004 result
= (wxFont
*) &_result_ref
;
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
7017 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_PyObj_FromInt((int)result
);
7042 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7057 result
= (wxArrayInt
*) &_result_ref
;
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= PyList_New(0);
7066 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7067 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7068 PyList_Append(resultobj
, val
);
7078 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7082 PyObject
* obj0
= 0 ;
7084 (char *) "self", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_PyObj_FromLong((long)result
);
7103 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "self", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_PyObj_FromLong((long)result
);
7128 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "self", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= SWIG_PyObj_FromLong((long)result
);
7153 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7159 (char *) "self", NULL
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7178 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxTextAttr
*arg1
= 0 ;
7181 wxTextAttr
*arg2
= 0 ;
7182 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7186 PyObject
* obj2
= 0 ;
7188 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7194 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7198 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7200 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7209 wxTextAttr
* resultptr
;
7210 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7211 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7219 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7222 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7224 return Py_BuildValue((char *)"");
7226 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxWindow
*arg1
= (wxWindow
*) 0 ;
7230 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7231 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7236 long arg6
= (long) 0 ;
7237 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7238 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7239 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7240 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7242 bool temp3
= False
;
7245 bool temp8
= False
;
7246 PyObject
* obj0
= 0 ;
7247 PyObject
* obj1
= 0 ;
7248 PyObject
* obj2
= 0 ;
7249 PyObject
* obj3
= 0 ;
7250 PyObject
* obj4
= 0 ;
7251 PyObject
* obj5
= 0 ;
7252 PyObject
* obj6
= 0 ;
7253 PyObject
* obj7
= 0 ;
7255 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7261 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7266 arg3
= wxString_in_helper(obj2
);
7267 if (arg3
== NULL
) SWIG_fail
;
7274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7280 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7285 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7290 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7292 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7297 arg8
= wxString_in_helper(obj7
);
7298 if (arg8
== NULL
) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= wxPyMake_wxObject(result
);
7334 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
;
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= (wxTextCtrl
*)new wxTextCtrl();
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= wxPyMake_wxObject(result
);
7358 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7361 wxWindow
*arg2
= (wxWindow
*) 0 ;
7363 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7364 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7365 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7366 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7367 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7368 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7369 long arg7
= (long) 0 ;
7370 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7371 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7372 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7373 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7375 bool temp4
= False
;
7378 bool temp9
= False
;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7381 PyObject
* obj2
= 0 ;
7382 PyObject
* obj3
= 0 ;
7383 PyObject
* obj4
= 0 ;
7384 PyObject
* obj5
= 0 ;
7385 PyObject
* obj6
= 0 ;
7386 PyObject
* obj7
= 0 ;
7387 PyObject
* obj8
= 0 ;
7389 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7394 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7396 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7401 arg4
= wxString_in_helper(obj3
);
7402 if (arg4
== NULL
) SWIG_fail
;
7409 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7415 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7420 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7425 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7432 arg9
= wxString_in_helper(obj8
);
7433 if (arg9
== NULL
) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7467 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7473 (char *) "self", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7498 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7501 wxString
*arg2
= 0 ;
7502 bool temp2
= False
;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7506 (char *) "self",(char *) "value", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7512 arg2
= wxString_in_helper(obj1
);
7513 if (arg2
== NULL
) SWIG_fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 (arg1
)->SetValue((wxString
const &)*arg2
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 Py_INCREF(Py_None
); resultobj
= Py_None
;
7538 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7546 PyObject
* obj2
= 0 ;
7548 (char *) "self",(char *) "from",(char *) "to", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7554 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7558 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7581 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7589 (char *) "self",(char *) "lineNo", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7595 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= SWIG_PyObj_FromInt((int)result
);
7612 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7620 (char *) "self",(char *) "lineNo", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7626 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7649 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_PyObj_FromInt((int)result
);
7674 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7699 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7705 (char *) "self", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7724 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "self", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7749 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7755 (char *) "self", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7774 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7777 long *arg2
= (long *) 0 ;
7778 long *arg3
= (long *) 0 ;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 Py_INCREF(Py_None
); resultobj
= Py_None
;
7799 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7800 resultobj
= t_output_helper(resultobj
,o
);
7803 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7804 resultobj
= t_output_helper(resultobj
,o
);
7812 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7818 (char *) "self", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7843 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 Py_INCREF(Py_None
); resultobj
= Py_None
;
7867 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7872 wxString
*arg4
= 0 ;
7873 bool temp4
= False
;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7876 PyObject
* obj2
= 0 ;
7877 PyObject
* obj3
= 0 ;
7879 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7885 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7889 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7893 arg4
= wxString_in_helper(obj3
);
7894 if (arg4
== NULL
) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 Py_INCREF(Py_None
); resultobj
= Py_None
;
7919 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7925 PyObject
* obj1
= 0 ;
7926 PyObject
* obj2
= 0 ;
7928 (char *) "self",(char *) "from",(char *) "to", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7934 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7938 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->Remove(arg2
,arg3
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7958 wxString
*arg2
= 0 ;
7960 bool temp2
= False
;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7964 (char *) "self",(char *) "file", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7970 arg2
= wxString_in_helper(obj1
);
7971 if (arg2
== NULL
) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7996 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7999 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8000 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8002 bool temp2
= False
;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8006 (char *) "self",(char *) "file", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8013 arg2
= wxString_in_helper(obj1
);
8014 if (arg2
== NULL
) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8040 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8045 (char *) "self", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 (arg1
)->MarkDirty();
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 Py_INCREF(Py_None
); resultobj
= Py_None
;
8064 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
;
8066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8067 PyObject
* obj0
= 0 ;
8069 (char *) "self", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 (arg1
)->DiscardEdits();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 Py_INCREF(Py_None
); resultobj
= Py_None
;
8088 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8091 unsigned long arg2
;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8095 (char *) "self",(char *) "len", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8101 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 (arg1
)->SetMaxLength(arg2
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8118 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8121 wxString
*arg2
= 0 ;
8122 bool temp2
= False
;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8126 (char *) "self",(char *) "text", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8132 arg2
= wxString_in_helper(obj1
);
8133 if (arg2
== NULL
) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 (arg1
)->WriteText((wxString
const &)*arg2
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 Py_INCREF(Py_None
); resultobj
= Py_None
;
8158 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8161 wxString
*arg2
= 0 ;
8162 bool temp2
= False
;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8166 (char *) "self",(char *) "text", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8172 arg2
= wxString_in_helper(obj1
);
8173 if (arg2
== NULL
) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 (arg1
)->AppendText((wxString
const &)*arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 Py_INCREF(Py_None
); resultobj
= Py_None
;
8198 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8201 wxKeyEvent
*arg2
= 0 ;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8206 (char *) "self",(char *) "event", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8229 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8234 wxTextAttr
*arg4
= 0 ;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8238 PyObject
* obj2
= 0 ;
8239 PyObject
* obj3
= 0 ;
8241 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8247 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8251 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8256 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8272 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8276 wxTextAttr
*arg3
= 0 ;
8278 PyObject
* obj0
= 0 ;
8279 PyObject
* obj1
= 0 ;
8280 PyObject
* obj2
= 0 ;
8282 (char *) "self",(char *) "position",(char *) "style", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8288 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8293 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8312 wxTextAttr
*arg2
= 0 ;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8317 (char *) "self",(char *) "style", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8324 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8340 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8344 PyObject
* obj0
= 0 ;
8346 (char *) "self", NULL
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8355 result
= (wxTextAttr
*) &_result_ref
;
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8368 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8376 PyObject
* obj2
= 0 ;
8378 (char *) "self",(char *) "x",(char *) "y", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8384 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8388 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= SWIG_PyObj_FromLong((long)result
);
8405 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8409 long *arg3
= (long *) 0 ;
8410 long *arg4
= (long *) 0 ;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8416 (char *) "self",(char *) "pos", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8424 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8437 resultobj
= t_output_helper(resultobj
,o
);
8440 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8441 resultobj
= t_output_helper(resultobj
,o
);
8449 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8456 (char *) "self",(char *) "pos", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8462 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 (arg1
)->ShowPosition(arg2
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 Py_INCREF(Py_None
); resultobj
= Py_None
;
8479 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8483 long *arg3
= (long *) 0 ;
8484 long *arg4
= (long *) 0 ;
8489 PyObject
* obj0
= 0 ;
8490 PyObject
* obj1
= 0 ;
8492 (char *) "self",(char *) "pt", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= SWIG_PyObj_FromInt((int)result
);
8512 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8513 resultobj
= t_output_helper(resultobj
,o
);
8516 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8517 resultobj
= t_output_helper(resultobj
,o
);
8525 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8528 PyObject
* obj0
= 0 ;
8530 (char *) "self", NULL
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 Py_INCREF(Py_None
); resultobj
= Py_None
;
8549 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 Py_INCREF(Py_None
); resultobj
= Py_None
;
8573 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8576 PyObject
* obj0
= 0 ;
8578 (char *) "self", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 Py_INCREF(Py_None
); resultobj
= Py_None
;
8597 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8603 (char *) "self", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8622 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8628 (char *) "self", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8647 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8651 PyObject
* obj0
= 0 ;
8653 (char *) "self", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8672 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "self", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 Py_INCREF(Py_None
); resultobj
= Py_None
;
8696 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8701 (char *) "self", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 Py_INCREF(Py_None
); resultobj
= Py_None
;
8720 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8724 PyObject
* obj0
= 0 ;
8726 (char *) "self", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8745 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8749 PyObject
* obj0
= 0 ;
8751 (char *) "self", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8770 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8772 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8777 (char *) "self",(char *) "pos", NULL
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8783 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 (arg1
)->SetInsertionPoint(arg2
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 Py_INCREF(Py_None
); resultobj
= Py_None
;
8800 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8805 (char *) "self", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 (arg1
)->SetInsertionPointEnd();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8824 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8828 PyObject
* obj0
= 0 ;
8830 (char *) "self", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_PyObj_FromLong((long)result
);
8849 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8853 PyObject
* obj0
= 0 ;
8855 (char *) "self", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= SWIG_PyObj_FromLong((long)result
);
8874 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8883 (char *) "self",(char *) "from",(char *) "to", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8889 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 (arg1
)->SetSelection(arg2
,arg3
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 Py_INCREF(Py_None
); resultobj
= Py_None
;
8910 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8915 (char *) "self", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 (arg1
)->SelectAll();
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 Py_INCREF(Py_None
); resultobj
= Py_None
;
8934 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8941 (char *) "self",(char *) "editable", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8947 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 (arg1
)->SetEditable(arg2
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 Py_INCREF(Py_None
); resultobj
= Py_None
;
8964 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8967 bool arg2
= (bool) True
;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8972 (char *) "self",(char *) "show", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
8976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8979 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8997 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9001 PyObject
* obj0
= 0 ;
9003 (char *) "self", NULL
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (bool)(arg1
)->HideNativeCaret();
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9022 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9025 wxString
*arg2
= 0 ;
9026 bool temp2
= False
;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9030 (char *) "self",(char *) "text", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9036 arg2
= wxString_in_helper(obj1
);
9037 if (arg2
== NULL
) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 Py_INCREF(Py_None
); resultobj
= Py_None
;
9062 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9069 PyObject
* obj1
= 0 ;
9070 PyObject
* obj2
= 0 ;
9072 (char *) "self",(char *) "from",(char *) "to", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9078 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9082 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9105 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9108 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9110 return Py_BuildValue((char *)"");
9112 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9115 wxMouseEvent
*arg2
= 0 ;
9118 wxTextUrlEvent
*result
;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9121 PyObject
* obj2
= 0 ;
9122 PyObject
* obj3
= 0 ;
9124 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9129 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9134 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9137 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9141 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9158 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9160 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9161 wxMouseEvent
*result
;
9162 PyObject
* obj0
= 0 ;
9164 (char *) "self", NULL
9167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9173 result
= (wxMouseEvent
*) &_result_ref
;
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9186 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9190 PyObject
* obj0
= 0 ;
9192 (char *) "self", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_PyObj_FromLong((long)result
);
9211 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9217 (char *) "self", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_PyObj_FromLong((long)result
);
9236 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9239 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9241 return Py_BuildValue((char *)"");
9243 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9244 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9249 static PyObject
*_wrap_ScrollBarNameStr_get() {
9254 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9256 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9263 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxWindow
*arg1
= (wxWindow
*) 0 ;
9266 int arg2
= (int) -1 ;
9267 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9268 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9269 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9270 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9271 long arg5
= (long) wxSB_HORIZONTAL
;
9272 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9273 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9274 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9275 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9276 wxScrollBar
*result
;
9279 bool temp7
= False
;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9282 PyObject
* obj2
= 0 ;
9283 PyObject
* obj3
= 0 ;
9284 PyObject
* obj4
= 0 ;
9285 PyObject
* obj5
= 0 ;
9286 PyObject
* obj6
= 0 ;
9288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9295 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9308 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9313 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9318 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9320 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9325 arg7
= wxString_in_helper(obj6
);
9326 if (arg7
== NULL
) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9352 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxScrollBar
*result
;
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (wxScrollBar
*)new wxScrollBar();
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9374 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9377 wxWindow
*arg2
= (wxWindow
*) 0 ;
9378 int arg3
= (int) -1 ;
9379 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9380 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9381 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9382 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9383 long arg6
= (long) wxSB_HORIZONTAL
;
9384 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9385 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9386 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9387 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9391 bool temp8
= False
;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 PyObject
* obj2
= 0 ;
9395 PyObject
* obj3
= 0 ;
9396 PyObject
* obj4
= 0 ;
9397 PyObject
* obj5
= 0 ;
9398 PyObject
* obj6
= 0 ;
9399 PyObject
* obj7
= 0 ;
9401 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9409 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9427 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9432 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9439 arg8
= wxString_in_helper(obj7
);
9440 if (arg8
== NULL
) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9466 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_PyObj_FromInt((int)result
);
9491 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9497 (char *) "self", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= SWIG_PyObj_FromInt((int)result
);
9516 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 resultobj
= SWIG_PyObj_FromInt((int)result
);
9541 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9547 (char *) "self", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_PyObj_FromInt((int)result
);
9566 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9591 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9598 (char *) "self",(char *) "viewStart", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9604 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 (arg1
)->SetThumbPosition(arg2
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 Py_INCREF(Py_None
); resultobj
= Py_None
;
9621 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9628 bool arg6
= (bool) True
;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 PyObject
* obj2
= 0 ;
9632 PyObject
* obj3
= 0 ;
9633 PyObject
* obj4
= 0 ;
9634 PyObject
* obj5
= 0 ;
9636 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9642 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9646 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9650 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9659 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 Py_INCREF(Py_None
); resultobj
= Py_None
;
9677 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9680 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9682 return Py_BuildValue((char *)"");
9684 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9685 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9690 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9695 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9697 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9704 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9705 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9710 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9715 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9717 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9724 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxWindow
*arg1
= (wxWindow
*) 0 ;
9727 int arg2
= (int) -1 ;
9728 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9729 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9730 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9731 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9732 long arg5
= (long) wxSP_HORIZONTAL
;
9733 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9734 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9735 wxSpinButton
*result
;
9738 bool temp6
= False
;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9741 PyObject
* obj2
= 0 ;
9742 PyObject
* obj3
= 0 ;
9743 PyObject
* obj4
= 0 ;
9744 PyObject
* obj5
= 0 ;
9746 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9753 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9766 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9771 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9777 arg6
= wxString_in_helper(obj5
);
9778 if (arg6
== NULL
) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9804 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxSpinButton
*result
;
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (wxSpinButton
*)new wxSpinButton();
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9826 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9829 wxWindow
*arg2
= (wxWindow
*) 0 ;
9830 int arg3
= (int) -1 ;
9831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9835 long arg6
= (long) wxSP_HORIZONTAL
;
9836 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9837 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9841 bool temp7
= False
;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9844 PyObject
* obj2
= 0 ;
9845 PyObject
* obj3
= 0 ;
9846 PyObject
* obj4
= 0 ;
9847 PyObject
* obj5
= 0 ;
9848 PyObject
* obj6
= 0 ;
9850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9855 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9858 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9876 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9882 arg7
= wxString_in_helper(obj6
);
9883 if (arg7
== NULL
) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9909 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9915 (char *) "self", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_PyObj_FromInt((int)result
);
9934 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9940 (char *) "self", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_PyObj_FromInt((int)result
);
9959 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_PyObj_FromInt((int)result
);
9984 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9991 (char *) "self",(char *) "val", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9997 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 (arg1
)->SetValue(arg2
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 Py_INCREF(Py_None
); resultobj
= Py_None
;
10014 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self",(char *) "minVal", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10027 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 (arg1
)->SetMin(arg2
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 Py_INCREF(Py_None
); resultobj
= Py_None
;
10044 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10048 PyObject
* obj0
= 0 ;
10049 PyObject
* obj1
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "self",(char *) "maxVal", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10057 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 (arg1
)->SetMax(arg2
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 Py_INCREF(Py_None
); resultobj
= Py_None
;
10074 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 PyObject
* obj2
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10089 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10093 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 (arg1
)->SetRange(arg2
,arg3
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 Py_INCREF(Py_None
); resultobj
= Py_None
;
10110 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10135 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10138 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10140 return Py_BuildValue((char *)"");
10142 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxWindow
*arg1
= (wxWindow
*) 0 ;
10145 int arg2
= (int) -1 ;
10146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10152 long arg6
= (long) wxSP_ARROW_KEYS
;
10153 int arg7
= (int) 0 ;
10154 int arg8
= (int) 100 ;
10155 int arg9
= (int) 0 ;
10156 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10157 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10158 wxSpinCtrl
*result
;
10159 bool temp3
= False
;
10162 bool temp10
= False
;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 PyObject
* obj2
= 0 ;
10166 PyObject
* obj3
= 0 ;
10167 PyObject
* obj4
= 0 ;
10168 PyObject
* obj5
= 0 ;
10169 PyObject
* obj6
= 0 ;
10170 PyObject
* obj7
= 0 ;
10171 PyObject
* obj8
= 0 ;
10172 PyObject
* obj9
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10181 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10187 arg3
= wxString_in_helper(obj2
);
10188 if (arg3
== NULL
) SWIG_fail
;
10195 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10201 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10206 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10212 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10218 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10224 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10230 arg10
= wxString_in_helper(obj9
);
10231 if (arg10
== NULL
) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10265 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxSpinCtrl
*result
;
10268 char *kwnames
[] = {
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10287 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10290 wxWindow
*arg2
= (wxWindow
*) 0 ;
10291 int arg3
= (int) -1 ;
10292 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10293 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10294 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10295 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10296 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10297 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10298 long arg7
= (long) wxSP_ARROW_KEYS
;
10299 int arg8
= (int) 0 ;
10300 int arg9
= (int) 100 ;
10301 int arg10
= (int) 0 ;
10302 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10303 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10305 bool temp4
= False
;
10308 bool temp11
= False
;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 PyObject
* obj3
= 0 ;
10313 PyObject
* obj4
= 0 ;
10314 PyObject
* obj5
= 0 ;
10315 PyObject
* obj6
= 0 ;
10316 PyObject
* obj7
= 0 ;
10317 PyObject
* obj8
= 0 ;
10318 PyObject
* obj9
= 0 ;
10319 PyObject
* obj10
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10329 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10335 arg4
= wxString_in_helper(obj3
);
10336 if (arg4
== NULL
) SWIG_fail
;
10343 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10349 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10354 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10360 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10366 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10372 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10378 arg11
= wxString_in_helper(obj10
);
10379 if (arg11
== NULL
) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10413 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_PyObj_FromInt((int)result
);
10438 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self",(char *) "value", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10451 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 (arg1
)->SetValue(arg2
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 Py_INCREF(Py_None
); resultobj
= Py_None
;
10468 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
;
10470 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10471 wxString
*arg2
= 0 ;
10472 bool temp2
= False
;
10473 PyObject
* obj0
= 0 ;
10474 PyObject
* obj1
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self",(char *) "text", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10482 arg2
= wxString_in_helper(obj1
);
10483 if (arg2
== NULL
) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 (arg1
)->SetValue((wxString
const &)*arg2
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 PyObject
* obj2
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10523 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10527 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 (arg1
)->SetRange(arg2
,arg3
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 Py_INCREF(Py_None
); resultobj
= Py_None
;
10544 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= SWIG_PyObj_FromInt((int)result
);
10569 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10573 PyObject
* obj0
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= SWIG_PyObj_FromInt((int)result
);
10594 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 PyObject
* obj2
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self",(char *) "from",(char *) "to", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10609 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 (arg1
)->SetSelection(arg2
,arg3
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 Py_INCREF(Py_None
); resultobj
= Py_None
;
10630 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10633 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10635 return Py_BuildValue((char *)"");
10637 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10640 int arg2
= (int) 0 ;
10641 wxSpinEvent
*result
;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "commandType",(char *) "winid", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10651 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10657 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10675 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10679 PyObject
* obj0
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_PyObj_FromInt((int)result
);
10700 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj1
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self",(char *) "pos", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10713 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 (arg1
)->SetPosition(arg2
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 Py_INCREF(Py_None
); resultobj
= Py_None
;
10730 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10733 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10735 return Py_BuildValue((char *)"");
10737 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10738 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10743 static PyObject
*_wrap_RadioBoxNameStr_get() {
10748 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10750 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10757 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10758 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10763 static PyObject
*_wrap_RadioButtonNameStr_get() {
10768 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10770 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10777 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxWindow
*arg1
= (wxWindow
*) 0 ;
10781 wxString
*arg3
= 0 ;
10782 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10783 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10784 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10785 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10786 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10787 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10788 int arg7
= (int) 0 ;
10789 long arg8
= (long) wxRA_HORIZONTAL
;
10790 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10791 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10792 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10793 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10794 wxRadioBox
*result
;
10795 bool temp3
= False
;
10798 bool temp6
= False
;
10799 bool temp10
= False
;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 PyObject
* obj2
= 0 ;
10803 PyObject
* obj3
= 0 ;
10804 PyObject
* obj4
= 0 ;
10805 PyObject
* obj5
= 0 ;
10806 PyObject
* obj6
= 0 ;
10807 PyObject
* obj7
= 0 ;
10808 PyObject
* obj8
= 0 ;
10809 PyObject
* obj9
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10817 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10821 arg3
= wxString_in_helper(obj2
);
10822 if (arg3
== NULL
) SWIG_fail
;
10828 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10834 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10839 if (! PySequence_Check(obj5
)) {
10840 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10843 arg6
= new wxArrayString
;
10845 int i
, len
=PySequence_Length(obj5
);
10846 for (i
=0; i
<len
; i
++) {
10847 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10849 PyObject
* str
= PyObject_Unicode(item
);
10851 PyObject
* str
= PyObject_Str(item
);
10853 arg6
->Add(Py2wxString(str
));
10861 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10867 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10872 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10873 if (arg9
== NULL
) {
10874 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10879 arg10
= wxString_in_helper(obj9
);
10880 if (arg10
== NULL
) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10897 if (temp6
) delete arg6
;
10910 if (temp6
) delete arg6
;
10920 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxRadioBox
*result
;
10923 char *kwnames
[] = {
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (wxRadioBox
*)new wxRadioBox();
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10942 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10945 wxWindow
*arg2
= (wxWindow
*) 0 ;
10947 wxString
*arg4
= 0 ;
10948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10950 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10951 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10952 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10953 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10954 int arg8
= (int) 0 ;
10955 long arg9
= (long) wxRA_HORIZONTAL
;
10956 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10957 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10958 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10959 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10961 bool temp4
= False
;
10964 bool temp7
= False
;
10965 bool temp11
= False
;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 PyObject
* obj2
= 0 ;
10969 PyObject
* obj3
= 0 ;
10970 PyObject
* obj4
= 0 ;
10971 PyObject
* obj5
= 0 ;
10972 PyObject
* obj6
= 0 ;
10973 PyObject
* obj7
= 0 ;
10974 PyObject
* obj8
= 0 ;
10975 PyObject
* obj9
= 0 ;
10976 PyObject
* obj10
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10985 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10989 arg4
= wxString_in_helper(obj3
);
10990 if (arg4
== NULL
) SWIG_fail
;
10996 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11002 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11007 if (! PySequence_Check(obj6
)) {
11008 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11011 arg7
= new wxArrayString
;
11013 int i
, len
=PySequence_Length(obj6
);
11014 for (i
=0; i
<len
; i
++) {
11015 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11017 PyObject
* str
= PyObject_Unicode(item
);
11019 PyObject
* str
= PyObject_Str(item
);
11021 arg7
->Add(Py2wxString(str
));
11029 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11035 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11040 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11041 if (arg10
== NULL
) {
11042 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11047 arg11
= wxString_in_helper(obj10
);
11048 if (arg11
== NULL
) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11065 if (temp7
) delete arg7
;
11078 if (temp7
) delete arg7
;
11088 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "n", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11101 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 (arg1
)->SetSelection(arg2
);
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 Py_INCREF(Py_None
); resultobj
= Py_None
;
11118 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= SWIG_PyObj_FromInt((int)result
);
11143 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 char *kwnames
[] = {
11149 (char *) "self", NULL
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11174 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11177 wxString
*arg2
= 0 ;
11179 bool temp2
= False
;
11180 PyObject
* obj0
= 0 ;
11181 PyObject
* obj1
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self",(char *) "s", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11189 arg2
= wxString_in_helper(obj1
);
11190 if (arg2
== NULL
) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11215 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= SWIG_PyObj_FromInt((int)result
);
11240 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11243 wxString
*arg2
= 0 ;
11245 bool temp2
= False
;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self",(char *) "s", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11255 arg2
= wxString_in_helper(obj1
);
11256 if (arg2
== NULL
) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= SWIG_PyObj_FromInt((int)result
);
11281 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "n", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11295 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11318 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11322 wxString
*arg3
= 0 ;
11323 bool temp3
= False
;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 PyObject
* obj2
= 0 ;
11327 char *kwnames
[] = {
11328 (char *) "self",(char *) "n",(char *) "label", NULL
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11334 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 arg3
= wxString_in_helper(obj2
);
11339 if (arg3
== NULL
) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 Py_INCREF(Py_None
); resultobj
= Py_None
;
11364 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11368 bool arg3
= (bool) True
;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 PyObject
* obj2
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "n",(char *) "enable", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11379 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11384 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 (arg1
)->Enable(arg2
,arg3
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 Py_INCREF(Py_None
); resultobj
= Py_None
;
11402 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11406 bool arg3
= (bool) True
;
11407 PyObject
* obj0
= 0 ;
11408 PyObject
* obj1
= 0 ;
11409 PyObject
* obj2
= 0 ;
11410 char *kwnames
[] = {
11411 (char *) "self",(char *) "n",(char *) "show", NULL
11414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11417 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11422 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 (arg1
)->Show(arg2
,arg3
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 Py_INCREF(Py_None
); resultobj
= Py_None
;
11440 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_PyObj_FromInt((int)result
);
11465 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= SWIG_PyObj_FromInt((int)result
);
11490 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 PyObject
* obj2
= 0 ;
11500 PyObject
* obj3
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11508 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11512 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_PyObj_FromInt((int)result
);
11533 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11536 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11538 return Py_BuildValue((char *)"");
11540 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxWindow
*arg1
= (wxWindow
*) 0 ;
11544 wxString
*arg3
= 0 ;
11545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11549 long arg6
= (long) 0 ;
11550 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11551 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11552 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11553 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11554 wxRadioButton
*result
;
11555 bool temp3
= False
;
11558 bool temp8
= False
;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 PyObject
* obj2
= 0 ;
11562 PyObject
* obj3
= 0 ;
11563 PyObject
* obj4
= 0 ;
11564 PyObject
* obj5
= 0 ;
11565 PyObject
* obj6
= 0 ;
11566 PyObject
* obj7
= 0 ;
11567 char *kwnames
[] = {
11568 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11574 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11578 arg3
= wxString_in_helper(obj2
);
11579 if (arg3
== NULL
) SWIG_fail
;
11585 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11591 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11596 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11601 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11602 if (arg7
== NULL
) {
11603 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11608 arg8
= wxString_in_helper(obj7
);
11609 if (arg8
== NULL
) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11643 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxRadioButton
*result
;
11646 char *kwnames
[] = {
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (wxRadioButton
*)new wxRadioButton();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11665 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
;
11667 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11668 wxWindow
*arg2
= (wxWindow
*) 0 ;
11670 wxString
*arg4
= 0 ;
11671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11675 long arg7
= (long) 0 ;
11676 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11677 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11678 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11681 bool temp4
= False
;
11684 bool temp9
= False
;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 PyObject
* obj4
= 0 ;
11690 PyObject
* obj5
= 0 ;
11691 PyObject
* obj6
= 0 ;
11692 PyObject
* obj7
= 0 ;
11693 PyObject
* obj8
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11702 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11706 arg4
= wxString_in_helper(obj3
);
11707 if (arg4
== NULL
) SWIG_fail
;
11713 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11719 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11724 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11729 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11730 if (arg8
== NULL
) {
11731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11736 arg9
= wxString_in_helper(obj8
);
11737 if (arg9
== NULL
) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11771 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11775 PyObject
* obj0
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (bool)(arg1
)->GetValue();
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11796 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "self",(char *) "value", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11809 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 (arg1
)->SetValue(arg2
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 Py_INCREF(Py_None
); resultobj
= Py_None
;
11826 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11829 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11831 return Py_BuildValue((char *)"");
11833 static int _wrap_SliderNameStr_set(PyObject
*) {
11834 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11839 static PyObject
*_wrap_SliderNameStr_get() {
11844 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11846 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11853 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxWindow
*arg1
= (wxWindow
*) 0 ;
11860 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11861 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11862 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11863 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11864 long arg8
= (long) wxSL_HORIZONTAL
;
11865 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11866 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11867 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11868 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11872 bool temp10
= False
;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 PyObject
* obj2
= 0 ;
11876 PyObject
* obj3
= 0 ;
11877 PyObject
* obj4
= 0 ;
11878 PyObject
* obj5
= 0 ;
11879 PyObject
* obj6
= 0 ;
11880 PyObject
* obj7
= 0 ;
11881 PyObject
* obj8
= 0 ;
11882 PyObject
* obj9
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11890 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11894 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11898 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11908 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11914 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11919 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11924 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11925 if (arg9
== NULL
) {
11926 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11931 arg10
= wxString_in_helper(obj9
);
11932 if (arg10
== NULL
) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11958 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11961 char *kwnames
[] = {
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (wxSlider
*)new wxSlider();
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11980 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxSlider
*arg1
= (wxSlider
*) 0 ;
11983 wxWindow
*arg2
= (wxWindow
*) 0 ;
11988 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11989 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11990 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11991 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11992 long arg9
= (long) wxSL_HORIZONTAL
;
11993 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11994 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11995 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11996 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12000 bool temp11
= False
;
12001 PyObject
* obj0
= 0 ;
12002 PyObject
* obj1
= 0 ;
12003 PyObject
* obj2
= 0 ;
12004 PyObject
* obj3
= 0 ;
12005 PyObject
* obj4
= 0 ;
12006 PyObject
* obj5
= 0 ;
12007 PyObject
* obj6
= 0 ;
12008 PyObject
* obj7
= 0 ;
12009 PyObject
* obj8
= 0 ;
12010 PyObject
* obj9
= 0 ;
12011 PyObject
* obj10
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12020 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12028 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12038 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12044 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12049 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12054 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12055 if (arg10
== NULL
) {
12056 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12061 arg11
= wxString_in_helper(obj10
);
12062 if (arg11
== NULL
) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12088 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxSlider
*arg1
= (wxSlider
*) 0 ;
12092 PyObject
* obj0
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_PyObj_FromInt((int)result
);
12113 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxSlider
*arg1
= (wxSlider
*) 0 ;
12117 PyObject
* obj0
= 0 ;
12118 PyObject
* obj1
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "value", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12126 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 (arg1
)->SetValue(arg2
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 Py_INCREF(Py_None
); resultobj
= Py_None
;
12143 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxSlider
*arg1
= (wxSlider
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 PyObject
* obj2
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12158 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 (arg1
)->SetRange(arg2
,arg3
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 Py_INCREF(Py_None
); resultobj
= Py_None
;
12179 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxSlider
*arg1
= (wxSlider
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_PyObj_FromInt((int)result
);
12204 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxSlider
*arg1
= (wxSlider
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_PyObj_FromInt((int)result
);
12229 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxSlider
*arg1
= (wxSlider
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 PyObject
* obj1
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self",(char *) "minValue", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12242 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 (arg1
)->SetMin(arg2
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 Py_INCREF(Py_None
); resultobj
= Py_None
;
12259 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxSlider
*arg1
= (wxSlider
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "maxValue", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12272 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 (arg1
)->SetMax(arg2
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 Py_INCREF(Py_None
); resultobj
= Py_None
;
12289 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxSlider
*arg1
= (wxSlider
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 PyObject
* obj1
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self",(char *) "lineSize", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12302 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 (arg1
)->SetLineSize(arg2
);
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 Py_INCREF(Py_None
); resultobj
= Py_None
;
12319 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxSlider
*arg1
= (wxSlider
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self",(char *) "pageSize", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12332 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->SetPageSize(arg2
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12349 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxSlider
*arg1
= (wxSlider
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_PyObj_FromInt((int)result
);
12374 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxSlider
*arg1
= (wxSlider
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= SWIG_PyObj_FromInt((int)result
);
12399 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxSlider
*arg1
= (wxSlider
*) 0 ;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self",(char *) "lenPixels", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12412 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->SetThumbLength(arg2
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 Py_INCREF(Py_None
); resultobj
= Py_None
;
12429 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxSlider
*arg1
= (wxSlider
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_PyObj_FromInt((int)result
);
12454 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxSlider
*arg1
= (wxSlider
*) 0 ;
12458 int arg3
= (int) 1 ;
12459 PyObject
* obj0
= 0 ;
12460 PyObject
* obj1
= 0 ;
12461 PyObject
* obj2
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self",(char *) "n",(char *) "pos", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12469 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12474 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->SetTickFreq(arg2
,arg3
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 Py_INCREF(Py_None
); resultobj
= Py_None
;
12492 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxSlider
*arg1
= (wxSlider
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= SWIG_PyObj_FromInt((int)result
);
12517 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxSlider
*arg1
= (wxSlider
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->ClearTicks();
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 Py_INCREF(Py_None
); resultobj
= Py_None
;
12541 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxSlider
*arg1
= (wxSlider
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 PyObject
* obj1
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self",(char *) "tickPos", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12554 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 (arg1
)->SetTick(arg2
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 Py_INCREF(Py_None
); resultobj
= Py_None
;
12571 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxSlider
*arg1
= (wxSlider
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 (arg1
)->ClearSel();
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 Py_INCREF(Py_None
); resultobj
= Py_None
;
12595 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxSlider
*arg1
= (wxSlider
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= SWIG_PyObj_FromInt((int)result
);
12620 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxSlider
*arg1
= (wxSlider
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_PyObj_FromInt((int)result
);
12645 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxSlider
*arg1
= (wxSlider
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 PyObject
* obj2
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self",(char *) "min",(char *) "max", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12660 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12664 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 (arg1
)->SetSelection(arg2
,arg3
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 Py_INCREF(Py_None
); resultobj
= Py_None
;
12681 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12684 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12686 return Py_BuildValue((char *)"");
12688 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12689 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12694 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12699 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12701 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12708 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxWindow
*arg1
= (wxWindow
*) 0 ;
12712 wxString
*arg3
= 0 ;
12713 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12714 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12715 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12716 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12717 long arg6
= (long) 0 ;
12718 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12719 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12720 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12721 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12722 wxToggleButton
*result
;
12723 bool temp3
= False
;
12726 bool temp8
= False
;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 PyObject
* obj2
= 0 ;
12730 PyObject
* obj3
= 0 ;
12731 PyObject
* obj4
= 0 ;
12732 PyObject
* obj5
= 0 ;
12733 PyObject
* obj6
= 0 ;
12734 PyObject
* obj7
= 0 ;
12735 char *kwnames
[] = {
12736 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12742 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 arg3
= wxString_in_helper(obj2
);
12747 if (arg3
== NULL
) SWIG_fail
;
12753 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12759 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12764 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12769 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12770 if (arg7
== NULL
) {
12771 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12776 arg8
= wxString_in_helper(obj7
);
12777 if (arg8
== NULL
) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12811 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxToggleButton
*result
;
12814 char *kwnames
[] = {
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (wxToggleButton
*)new wxToggleButton();
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12833 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12836 wxWindow
*arg2
= (wxWindow
*) 0 ;
12838 wxString
*arg4
= 0 ;
12839 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12840 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12841 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12842 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12843 long arg7
= (long) 0 ;
12844 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12845 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12846 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12847 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12849 bool temp4
= False
;
12852 bool temp9
= False
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 PyObject
* obj3
= 0 ;
12857 PyObject
* obj4
= 0 ;
12858 PyObject
* obj5
= 0 ;
12859 PyObject
* obj6
= 0 ;
12860 PyObject
* obj7
= 0 ;
12861 PyObject
* obj8
= 0 ;
12862 char *kwnames
[] = {
12863 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12868 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12870 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12874 arg4
= wxString_in_helper(obj3
);
12875 if (arg4
== NULL
) SWIG_fail
;
12881 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12887 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12892 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12897 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12898 if (arg8
== NULL
) {
12899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12904 arg9
= wxString_in_helper(obj8
);
12905 if (arg9
== NULL
) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12939 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 PyObject
* obj1
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self",(char *) "value", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12952 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 (arg1
)->SetValue(arg2
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 Py_INCREF(Py_None
); resultobj
= Py_None
;
12969 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12994 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12997 wxString
*arg2
= 0 ;
12998 bool temp2
= False
;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "label", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13008 arg2
= wxString_in_helper(obj1
);
13009 if (arg2
== NULL
) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 (arg1
)->SetLabel((wxString
const &)*arg2
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 Py_INCREF(Py_None
); resultobj
= Py_None
;
13034 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13037 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13039 return Py_BuildValue((char *)"");
13041 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
13042 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13047 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13052 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13054 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13061 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
13086 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "n", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13100 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= wxPyMake_wxObject(result
);
13119 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13123 PyObject
* obj0
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_PyObj_FromInt((int)result
);
13144 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13148 wxString
*arg3
= 0 ;
13150 bool temp3
= False
;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 PyObject
* obj2
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "n",(char *) "strText", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13161 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13165 arg3
= wxString_in_helper(obj2
);
13166 if (arg3
== NULL
) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13191 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self",(char *) "n", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13205 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13228 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13231 wxImageList
*arg2
= (wxImageList
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "imageList", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13240 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 (arg1
)->SetImageList(arg2
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 Py_INCREF(Py_None
); resultobj
= Py_None
;
13255 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13258 wxImageList
*arg2
= (wxImageList
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self",(char *) "imageList", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 (arg1
)->AssignImageList(arg2
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 Py_INCREF(Py_None
); resultobj
= Py_None
;
13282 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13285 wxImageList
*result
;
13286 PyObject
* obj0
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= wxPyMake_wxObject(result
);
13309 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self",(char *) "n", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13323 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_PyObj_FromInt((int)result
);
13340 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
;
13342 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 PyObject
* obj2
= 0 ;
13349 char *kwnames
[] = {
13350 (char *) "self",(char *) "n",(char *) "imageId", NULL
13353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13356 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13360 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13377 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self",(char *) "size", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 Py_INCREF(Py_None
); resultobj
= Py_None
;
13408 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 PyObject
* obj1
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self",(char *) "sizePage", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13424 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13434 wxSize
* resultptr
;
13435 resultptr
= new wxSize((wxSize
&) result
);
13436 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13444 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "n", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13458 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (bool)(arg1
)->DeletePage(arg2
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13475 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self",(char *) "n", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13489 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (bool)(arg1
)->RemovePage(arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13506 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (bool)(arg1
)->DeleteAllPages();
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13531 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13534 wxWindow
*arg2
= (wxWindow
*) 0 ;
13535 wxString
*arg3
= 0 ;
13536 bool arg4
= (bool) False
;
13537 int arg5
= (int) -1 ;
13539 bool temp3
= False
;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 PyObject
* obj2
= 0 ;
13543 PyObject
* obj3
= 0 ;
13544 PyObject
* obj4
= 0 ;
13545 char *kwnames
[] = {
13546 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13553 arg3
= wxString_in_helper(obj2
);
13554 if (arg3
== NULL
) SWIG_fail
;
13559 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13565 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13591 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
;
13593 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13595 wxWindow
*arg3
= (wxWindow
*) 0 ;
13596 wxString
*arg4
= 0 ;
13597 bool arg5
= (bool) False
;
13598 int arg6
= (int) -1 ;
13600 bool temp4
= False
;
13601 PyObject
* obj0
= 0 ;
13602 PyObject
* obj1
= 0 ;
13603 PyObject
* obj2
= 0 ;
13604 PyObject
* obj3
= 0 ;
13605 PyObject
* obj4
= 0 ;
13606 PyObject
* obj5
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13614 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13619 arg4
= wxString_in_helper(obj3
);
13620 if (arg4
== NULL
) SWIG_fail
;
13625 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13631 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13657 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
;
13659 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "self",(char *) "n", NULL
13668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13671 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 result
= (int)(arg1
)->SetSelection(arg2
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= SWIG_PyObj_FromInt((int)result
);
13688 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13691 bool arg2
= (bool) True
;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 char *kwnames
[] = {
13695 (char *) "self",(char *) "forward", NULL
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13702 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 (arg1
)->AdvanceSelection(arg2
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 Py_INCREF(Py_None
); resultobj
= Py_None
;
13720 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13723 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13725 return Py_BuildValue((char *)"");
13727 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13730 int arg2
= (int) 0 ;
13731 int arg3
= (int) -1 ;
13732 int arg4
= (int) -1 ;
13733 wxBookCtrlEvent
*result
;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 PyObject
* obj2
= 0 ;
13737 PyObject
* obj3
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13745 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13751 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13757 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13763 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13781 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= SWIG_PyObj_FromInt((int)result
);
13806 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 PyObject
* obj1
= 0 ;
13812 char *kwnames
[] = {
13813 (char *) "self",(char *) "nSel", NULL
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13819 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 (arg1
)->SetSelection(arg2
);
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 Py_INCREF(Py_None
); resultobj
= Py_None
;
13836 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_PyObj_FromInt((int)result
);
13861 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 PyObject
* obj1
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "self",(char *) "nOldSel", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13874 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->SetOldSelection(arg2
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 Py_INCREF(Py_None
); resultobj
= Py_None
;
13891 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13894 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13896 return Py_BuildValue((char *)"");
13898 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxWindow
*arg1
= (wxWindow
*) 0 ;
13902 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13903 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13904 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13905 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13906 long arg5
= (long) 0 ;
13907 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13908 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13909 wxNotebook
*result
;
13912 bool temp6
= False
;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 PyObject
* obj2
= 0 ;
13916 PyObject
* obj3
= 0 ;
13917 PyObject
* obj4
= 0 ;
13918 PyObject
* obj5
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13926 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13932 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13938 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13943 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13949 arg6
= wxString_in_helper(obj5
);
13950 if (arg6
== NULL
) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= wxPyMake_wxObject(result
);
13978 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxNotebook
*result
;
13981 char *kwnames
[] = {
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (wxNotebook
*)new wxNotebook();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= wxPyMake_wxObject(result
);
14002 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14005 wxWindow
*arg2
= (wxWindow
*) 0 ;
14007 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14008 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14009 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14010 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14011 long arg6
= (long) 0 ;
14012 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14013 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14017 bool temp7
= False
;
14018 PyObject
* obj0
= 0 ;
14019 PyObject
* obj1
= 0 ;
14020 PyObject
* obj2
= 0 ;
14021 PyObject
* obj3
= 0 ;
14022 PyObject
* obj4
= 0 ;
14023 PyObject
* obj5
= 0 ;
14024 PyObject
* obj6
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14033 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14039 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14045 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14050 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14056 arg7
= wxString_in_helper(obj6
);
14057 if (arg7
== NULL
) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14083 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= SWIG_PyObj_FromInt((int)result
);
14108 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self",(char *) "padding", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 Py_INCREF(Py_None
); resultobj
= Py_None
;
14139 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 PyObject
* obj1
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self",(char *) "sz", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 Py_INCREF(Py_None
); resultobj
= Py_None
;
14170 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14173 wxPoint
*arg2
= 0 ;
14174 long *arg3
= (long *) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self",(char *) "pt", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= SWIG_PyObj_FromInt((int)result
);
14200 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14201 resultobj
= t_output_helper(resultobj
,o
);
14209 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 PyObject
* obj1
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self",(char *) "sizePage", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14235 wxSize
* resultptr
;
14236 resultptr
= new wxSize((wxSize
&) result
);
14237 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14245 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
;
14247 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14248 wxWindow
*arg2
= (wxWindow
*) 0 ;
14249 wxColour
*arg3
= 0 ;
14251 PyObject
* obj0
= 0 ;
14252 PyObject
* obj1
= 0 ;
14253 PyObject
* obj2
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self",(char *) "window",(char *) "colour", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14263 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 Py_INCREF(Py_None
); resultobj
= Py_None
;
14279 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14282 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14284 return Py_BuildValue((char *)"");
14286 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14289 int arg2
= (int) 0 ;
14290 int arg3
= (int) -1 ;
14291 int arg4
= (int) -1 ;
14292 wxNotebookEvent
*result
;
14293 PyObject
* obj0
= 0 ;
14294 PyObject
* obj1
= 0 ;
14295 PyObject
* obj2
= 0 ;
14296 PyObject
* obj3
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14304 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14310 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14316 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14322 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14340 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14343 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14345 return Py_BuildValue((char *)"");
14347 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxWindow
*arg1
= (wxWindow
*) 0 ;
14351 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14352 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14353 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14354 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14355 long arg5
= (long) 0 ;
14356 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14357 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14358 wxListbook
*result
;
14361 bool temp6
= False
;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 PyObject
* obj2
= 0 ;
14365 PyObject
* obj3
= 0 ;
14366 PyObject
* obj4
= 0 ;
14367 PyObject
* obj5
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14375 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14381 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14387 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14392 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14398 arg6
= wxString_in_helper(obj5
);
14399 if (arg6
== NULL
) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14425 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxListbook
*result
;
14428 char *kwnames
[] = {
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (wxListbook
*)new wxListbook();
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14447 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxListbook
*arg1
= (wxListbook
*) 0 ;
14450 wxWindow
*arg2
= (wxWindow
*) 0 ;
14452 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14453 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14454 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14455 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14456 long arg6
= (long) 0 ;
14457 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14458 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14462 bool temp7
= False
;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 PyObject
* obj2
= 0 ;
14466 PyObject
* obj3
= 0 ;
14467 PyObject
* obj4
= 0 ;
14468 PyObject
* obj5
= 0 ;
14469 PyObject
* obj6
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14476 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14478 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14484 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14490 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14495 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14501 arg7
= wxString_in_helper(obj6
);
14502 if (arg7
== NULL
) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14528 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxListbook
*arg1
= (wxListbook
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "self", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14553 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14556 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14558 return Py_BuildValue((char *)"");
14560 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14563 int arg2
= (int) 0 ;
14564 int arg3
= (int) -1 ;
14565 int arg4
= (int) -1 ;
14566 wxListbookEvent
*result
;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 PyObject
* obj2
= 0 ;
14570 PyObject
* obj3
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14578 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14584 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14590 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14596 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14614 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14617 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14619 return Py_BuildValue((char *)"");
14621 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14624 wxBookCtrlSizer
*result
;
14625 PyObject
* obj0
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "nb", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14646 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 (arg1
)->RecalcSizes();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 Py_INCREF(Py_None
); resultobj
= Py_None
;
14670 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (arg1
)->CalcMin();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14689 wxSize
* resultptr
;
14690 resultptr
= new wxSize((wxSize
&) result
);
14691 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14699 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14702 wxBookCtrl
*result
;
14703 PyObject
* obj0
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14724 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14727 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14729 return Py_BuildValue((char *)"");
14731 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14734 wxNotebookSizer
*result
;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "nb", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14756 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14759 PyObject
* obj0
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "self", NULL
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 (arg1
)->RecalcSizes();
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 Py_INCREF(Py_None
); resultobj
= Py_None
;
14780 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (arg1
)->CalcMin();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 wxSize
* resultptr
;
14800 resultptr
= new wxSize((wxSize
&) result
);
14801 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14809 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14812 wxNotebook
*result
;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= wxPyMake_wxObject(result
);
14836 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14839 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14841 return Py_BuildValue((char *)"");
14843 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14847 PyObject
* obj0
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (int)(arg1
)->GetId();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_PyObj_FromInt((int)result
);
14868 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (wxControl
*)(arg1
)->GetControl();
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= wxPyMake_wxObject(result
);
14895 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14898 wxToolBarBase
*result
;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= wxPyMake_wxObject(result
);
14922 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
;
14924 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (int)(arg1
)->IsButton();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_PyObj_FromInt((int)result
);
14947 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (int)(arg1
)->IsControl();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_PyObj_FromInt((int)result
);
14972 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (int)(arg1
)->IsSeparator();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= SWIG_PyObj_FromInt((int)result
);
14997 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15001 PyObject
* obj0
= 0 ;
15002 char *kwnames
[] = {
15003 (char *) "self", NULL
15006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (int)(arg1
)->GetStyle();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_PyObj_FromInt((int)result
);
15022 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= (int)(arg1
)->GetKind();
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= SWIG_PyObj_FromInt((int)result
);
15047 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15051 PyObject
* obj0
= 0 ;
15052 char *kwnames
[] = {
15053 (char *) "self", NULL
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (bool)(arg1
)->IsEnabled();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15072 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (bool)(arg1
)->IsToggled();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15097 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (bool)(arg1
)->CanBeToggled();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15122 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15137 result
= (wxBitmap
*) &_result_ref
;
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15150 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15154 PyObject
* obj0
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15165 result
= (wxBitmap
*) &_result_ref
;
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15178 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (arg1
)->GetBitmap();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15197 wxBitmap
* resultptr
;
15198 resultptr
= new wxBitmap((wxBitmap
&) result
);
15199 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
15207 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15211 PyObject
* obj0
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (arg1
)->GetLabel();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15238 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= (arg1
)->GetShortHelp();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15269 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (arg1
)->GetLongHelp();
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15300 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self",(char *) "enable", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15314 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (bool)(arg1
)->Enable(arg2
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15331 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 Py_INCREF(Py_None
); resultobj
= Py_None
;
15355 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self",(char *) "toggle", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15369 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)(arg1
)->SetToggle(arg2
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15386 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15389 wxString
*arg2
= 0 ;
15391 bool temp2
= False
;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "help", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15401 arg2
= wxString_in_helper(obj1
);
15402 if (arg2
== NULL
) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15427 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15430 wxString
*arg2
= 0 ;
15432 bool temp2
= False
;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "help", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15442 arg2
= wxString_in_helper(obj1
);
15443 if (arg2
== NULL
) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15468 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15471 wxBitmap
*arg2
= 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self",(char *) "bmp", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15481 if (arg2
== NULL
) {
15482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15498 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15501 wxBitmap
*arg2
= 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "bmp", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15511 if (arg2
== NULL
) {
15512 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 Py_INCREF(Py_None
); resultobj
= Py_None
;
15528 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15531 wxString
*arg2
= 0 ;
15532 bool temp2
= False
;
15533 PyObject
* obj0
= 0 ;
15534 PyObject
* obj1
= 0 ;
15535 char *kwnames
[] = {
15536 (char *) "self",(char *) "label", NULL
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15542 arg2
= wxString_in_helper(obj1
);
15543 if (arg2
== NULL
) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 (arg1
)->SetLabel((wxString
const &)*arg2
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 Py_INCREF(Py_None
); resultobj
= Py_None
;
15568 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 Py_INCREF(Py_None
); resultobj
= Py_None
;
15592 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15595 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 PyObject
* obj1
= 0 ;
15598 char *kwnames
[] = {
15599 (char *) "self",(char *) "tbar", NULL
15602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 (arg1
)->Attach(arg2
);
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15612 Py_INCREF(Py_None
); resultobj
= Py_None
;
15619 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15620 PyObject
*resultobj
;
15621 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15623 PyObject
* obj0
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 resultobj
= result
;
15644 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15647 PyObject
*arg2
= (PyObject
*) 0 ;
15648 PyObject
* obj0
= 0 ;
15649 PyObject
* obj1
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "clientData", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 Py_INCREF(Py_None
); resultobj
= Py_None
;
15671 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15674 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15676 return Py_BuildValue((char *)"");
15678 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15682 wxString
*arg3
= 0 ;
15683 wxBitmap
*arg4
= 0 ;
15684 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15685 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15686 int arg6
= (int) wxITEM_NORMAL
;
15687 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15688 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15689 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15690 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15691 PyObject
*arg9
= (PyObject
*) NULL
;
15692 wxToolBarToolBase
*result
;
15693 bool temp3
= False
;
15694 bool temp7
= False
;
15695 bool temp8
= False
;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 PyObject
* obj2
= 0 ;
15699 PyObject
* obj3
= 0 ;
15700 PyObject
* obj4
= 0 ;
15701 PyObject
* obj5
= 0 ;
15702 PyObject
* obj6
= 0 ;
15703 PyObject
* obj7
= 0 ;
15704 PyObject
* obj8
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15716 arg3
= wxString_in_helper(obj2
);
15717 if (arg3
== NULL
) SWIG_fail
;
15720 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15721 if (arg4
== NULL
) {
15722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15725 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15726 if (arg5
== NULL
) {
15727 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15732 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15738 arg7
= wxString_in_helper(obj6
);
15739 if (arg7
== NULL
) SWIG_fail
;
15745 arg8
= wxString_in_helper(obj7
);
15746 if (arg8
== NULL
) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= wxPyMake_wxObject(result
);
15793 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15798 wxString
*arg4
= 0 ;
15799 wxBitmap
*arg5
= 0 ;
15800 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15801 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15802 int arg7
= (int) wxITEM_NORMAL
;
15803 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15804 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15805 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15806 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15807 PyObject
*arg10
= (PyObject
*) NULL
;
15808 wxToolBarToolBase
*result
;
15809 bool temp4
= False
;
15810 bool temp8
= False
;
15811 bool temp9
= False
;
15812 PyObject
* obj0
= 0 ;
15813 PyObject
* obj1
= 0 ;
15814 PyObject
* obj2
= 0 ;
15815 PyObject
* obj3
= 0 ;
15816 PyObject
* obj4
= 0 ;
15817 PyObject
* obj5
= 0 ;
15818 PyObject
* obj6
= 0 ;
15819 PyObject
* obj7
= 0 ;
15820 PyObject
* obj8
= 0 ;
15821 PyObject
* obj9
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15829 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15837 arg4
= wxString_in_helper(obj3
);
15838 if (arg4
== NULL
) SWIG_fail
;
15841 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15842 if (arg5
== NULL
) {
15843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15846 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15847 if (arg6
== NULL
) {
15848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15853 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15859 arg8
= wxString_in_helper(obj7
);
15860 if (arg8
== NULL
) SWIG_fail
;
15866 arg9
= wxString_in_helper(obj8
);
15867 if (arg9
== NULL
) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 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
);
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= wxPyMake_wxObject(result
);
15914 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15917 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15918 wxToolBarToolBase
*result
;
15919 PyObject
* obj0
= 0 ;
15920 PyObject
* obj1
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "self",(char *) "tool", NULL
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= wxPyMake_wxObject(result
);
15944 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15948 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15949 wxToolBarToolBase
*result
;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 PyObject
* obj2
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self",(char *) "pos",(char *) "tool", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15960 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= wxPyMake_wxObject(result
);
15980 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15983 wxControl
*arg2
= (wxControl
*) 0 ;
15984 wxToolBarToolBase
*result
;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self",(char *) "control", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= wxPyMake_wxObject(result
);
16010 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16014 wxControl
*arg3
= (wxControl
*) 0 ;
16015 wxToolBarToolBase
*result
;
16016 PyObject
* obj0
= 0 ;
16017 PyObject
* obj1
= 0 ;
16018 PyObject
* obj2
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self",(char *) "pos",(char *) "control", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16026 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= wxPyMake_wxObject(result
);
16046 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self",(char *) "id", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= wxPyMake_wxObject(result
);
16079 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16082 wxToolBarToolBase
*result
;
16083 PyObject
* obj0
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16094 wxPyEndAllowThreads(__tstate
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= wxPyMake_wxObject(result
);
16106 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16110 wxToolBarToolBase
*result
;
16111 PyObject
* obj0
= 0 ;
16112 PyObject
* obj1
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "self",(char *) "pos", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16120 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= wxPyMake_wxObject(result
);
16139 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16143 wxToolBarToolBase
*result
;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self",(char *) "id", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16153 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= wxPyMake_wxObject(result
);
16172 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 PyObject
* obj1
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self",(char *) "pos", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16186 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16203 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 PyObject
* obj1
= 0 ;
16210 char *kwnames
[] = {
16211 (char *) "self",(char *) "id", NULL
16214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (bool)(arg1
)->DeleteTool(arg2
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16234 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 (arg1
)->ClearTools();
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 Py_INCREF(Py_None
); resultobj
= Py_None
;
16258 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
;
16260 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 char *kwnames
[] = {
16264 (char *) "self", NULL
16267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (bool)(arg1
)->Realize();
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16283 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 PyObject
* obj2
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "id",(char *) "enable", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16298 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16302 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 (arg1
)->EnableTool(arg2
,arg3
);
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16312 Py_INCREF(Py_None
); resultobj
= Py_None
;
16319 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 PyObject
* obj2
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self",(char *) "id",(char *) "toggle", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16334 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16338 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 (arg1
)->ToggleTool(arg2
,arg3
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 Py_INCREF(Py_None
); resultobj
= Py_None
;
16355 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 PyObject
* obj2
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self",(char *) "id",(char *) "toggle", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16370 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16374 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 (arg1
)->SetToggle(arg2
,arg3
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16384 Py_INCREF(Py_None
); resultobj
= Py_None
;
16391 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "self",(char *) "id", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16405 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= result
;
16422 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16426 PyObject
*arg3
= (PyObject
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 PyObject
* obj1
= 0 ;
16429 PyObject
* obj2
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self",(char *) "id",(char *) "clientData", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16437 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 Py_INCREF(Py_None
); resultobj
= Py_None
;
16455 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self",(char *) "id", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16469 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= SWIG_PyObj_FromInt((int)result
);
16486 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 PyObject
* obj1
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self",(char *) "id", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16500 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (bool)(arg1
)->GetToolState(arg2
);
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16517 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16522 PyObject
* obj0
= 0 ;
16523 PyObject
* obj1
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self",(char *) "id", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16531 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16552 wxString
*arg3
= 0 ;
16553 bool temp3
= False
;
16554 PyObject
* obj0
= 0 ;
16555 PyObject
* obj1
= 0 ;
16556 PyObject
* obj2
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "id",(char *) "helpString", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16564 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 arg3
= wxString_in_helper(obj2
);
16569 if (arg3
== NULL
) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 Py_INCREF(Py_None
); resultobj
= Py_None
;
16594 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self",(char *) "id", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16608 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 result
= (arg1
)->GetToolShortHelp(arg2
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16631 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16635 wxString
*arg3
= 0 ;
16636 bool temp3
= False
;
16637 PyObject
* obj0
= 0 ;
16638 PyObject
* obj1
= 0 ;
16639 PyObject
* obj2
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self",(char *) "id",(char *) "helpString", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 arg3
= wxString_in_helper(obj2
);
16652 if (arg3
== NULL
) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 Py_INCREF(Py_None
); resultobj
= Py_None
;
16677 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "id", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16691 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 result
= (arg1
)->GetToolLongHelp(arg2
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16714 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 PyObject
* obj2
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "x",(char *) "y", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16729 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16733 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 (arg1
)->SetMargins(arg2
,arg3
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 Py_INCREF(Py_None
); resultobj
= Py_None
;
16750 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self",(char *) "size", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16765 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 Py_INCREF(Py_None
); resultobj
= Py_None
;
16781 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16785 PyObject
* obj0
= 0 ;
16786 PyObject
* obj1
= 0 ;
16787 char *kwnames
[] = {
16788 (char *) "self",(char *) "packing", NULL
16791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16794 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 (arg1
)->SetToolPacking(arg2
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 Py_INCREF(Py_None
); resultobj
= Py_None
;
16811 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 PyObject
* obj1
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self",(char *) "separation", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 (arg1
)->SetToolSeparation(arg2
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 Py_INCREF(Py_None
); resultobj
= Py_None
;
16841 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (arg1
)->GetToolMargins();
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 wxSize
* resultptr
;
16861 resultptr
= new wxSize((wxSize
&) result
);
16862 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16870 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 result
= (arg1
)->GetMargins();
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16889 wxSize
* resultptr
;
16890 resultptr
= new wxSize((wxSize
&) result
);
16891 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16899 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16903 PyObject
* obj0
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "self", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (int)(arg1
)->GetToolPacking();
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 resultobj
= SWIG_PyObj_FromInt((int)result
);
16924 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
;
16926 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16928 PyObject
* obj0
= 0 ;
16929 char *kwnames
[] = {
16930 (char *) "self", NULL
16933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (int)(arg1
)->GetToolSeparation();
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_PyObj_FromInt((int)result
);
16949 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
;
16951 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self",(char *) "nRows", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16962 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 (arg1
)->SetRows(arg2
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 Py_INCREF(Py_None
); resultobj
= Py_None
;
16979 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 PyObject
* obj2
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self",(char *) "rows",(char *) "cols", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16994 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 Py_INCREF(Py_None
); resultobj
= Py_None
;
17015 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17019 PyObject
* obj0
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (int)(arg1
)->GetMaxRows();
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= SWIG_PyObj_FromInt((int)result
);
17040 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= (int)(arg1
)->GetMaxCols();
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_PyObj_FromInt((int)result
);
17065 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "size", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17080 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 Py_INCREF(Py_None
); resultobj
= Py_None
;
17096 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17100 PyObject
* obj0
= 0 ;
17101 char *kwnames
[] = {
17102 (char *) "self", NULL
17105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17109 result
= (arg1
)->GetToolBitmapSize();
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17115 wxSize
* resultptr
;
17116 resultptr
= new wxSize((wxSize
&) result
);
17117 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17125 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17129 PyObject
* obj0
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (arg1
)->GetToolSize();
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 wxSize
* resultptr
;
17145 resultptr
= new wxSize((wxSize
&) result
);
17146 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17154 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17159 wxToolBarToolBase
*result
;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 PyObject
* obj2
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self",(char *) "x",(char *) "y", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17170 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17174 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= wxPyMake_wxObject(result
);
17193 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17197 wxToolBarToolBase
*result
;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self",(char *) "toolid", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= wxPyMake_wxObject(result
);
17226 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (bool)(arg1
)->IsVertical();
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17251 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17254 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17256 return Py_BuildValue((char *)"");
17258 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxWindow
*arg1
= (wxWindow
*) 0 ;
17262 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17263 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17264 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17265 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17266 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17267 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17268 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17272 bool temp6
= False
;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 PyObject
* obj2
= 0 ;
17276 PyObject
* obj3
= 0 ;
17277 PyObject
* obj4
= 0 ;
17278 PyObject
* obj5
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17286 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17298 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17303 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17309 arg6
= wxString_in_helper(obj5
);
17310 if (arg6
== NULL
) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= wxPyMake_wxObject(result
);
17338 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17341 char *kwnames
[] = {
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (wxToolBar
*)new wxToolBar();
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= wxPyMake_wxObject(result
);
17362 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17365 wxWindow
*arg2
= (wxWindow
*) 0 ;
17367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17371 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17372 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17373 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17377 bool temp7
= False
;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 PyObject
* obj2
= 0 ;
17381 PyObject
* obj3
= 0 ;
17382 PyObject
* obj4
= 0 ;
17383 PyObject
* obj5
= 0 ;
17384 PyObject
* obj6
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17393 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17410 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17416 arg7
= wxString_in_helper(obj6
);
17417 if (arg7
== NULL
) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17443 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17448 wxToolBarToolBase
*result
;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 PyObject
* obj2
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "x",(char *) "y", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= wxPyMake_wxObject(result
);
17482 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17485 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17487 return Py_BuildValue((char *)"");
17489 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17490 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17495 static PyObject
*_wrap_ListCtrlNameStr_get() {
17500 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17502 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17509 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxColour
const &arg1_defvalue
= wxNullColour
;
17512 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17513 wxColour
const &arg2_defvalue
= wxNullColour
;
17514 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17515 wxFont
const &arg3_defvalue
= wxNullFont
;
17516 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17517 wxListItemAttr
*result
;
17520 PyObject
* obj0
= 0 ;
17521 PyObject
* obj1
= 0 ;
17522 PyObject
* obj2
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17531 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17541 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17542 if (arg3
== NULL
) {
17543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17560 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17563 wxColour
*arg2
= 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "colText", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 Py_INCREF(Py_None
); resultobj
= Py_None
;
17591 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17594 wxColour
*arg2
= 0 ;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self",(char *) "colBack", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17606 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 Py_INCREF(Py_None
); resultobj
= Py_None
;
17622 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "font", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17635 if (arg2
== NULL
) {
17636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 (arg1
)->SetFont((wxFont
const &)*arg2
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 Py_INCREF(Py_None
); resultobj
= Py_None
;
17652 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (bool)(arg1
)->HasTextColour();
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17677 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17681 PyObject
* obj0
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= (bool)(arg1
)->HasBackgroundColour();
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17702 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 result
= (bool)(arg1
)->HasFont();
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17727 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17731 PyObject
* obj0
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (arg1
)->GetTextColour();
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17746 wxColour
* resultptr
;
17747 resultptr
= new wxColour((wxColour
&) result
);
17748 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17756 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (arg1
)->GetBackgroundColour();
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17775 wxColour
* resultptr
;
17776 resultptr
= new wxColour((wxColour
&) result
);
17777 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17785 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= (arg1
)->GetFont();
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17804 wxFont
* resultptr
;
17805 resultptr
= new wxFont((wxFont
&) result
);
17806 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17814 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17817 PyObject
* obj0
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 wxListItemAttr_Destroy(arg1
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 Py_INCREF(Py_None
); resultobj
= Py_None
;
17838 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17841 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17843 return Py_BuildValue((char *)"");
17845 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxListItem
*result
;
17848 char *kwnames
[] = {
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= (wxListItem
*)new wxListItem();
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= wxPyMake_wxObject(result
);
17869 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxListItem
*arg1
= (wxListItem
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 Py_INCREF(Py_None
); resultobj
= Py_None
;
17893 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxListItem
*arg1
= (wxListItem
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 Py_INCREF(Py_None
); resultobj
= Py_None
;
17917 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
;
17919 wxListItem
*arg1
= (wxListItem
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 (arg1
)->ClearAttributes();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 Py_INCREF(Py_None
); resultobj
= Py_None
;
17941 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxListItem
*arg1
= (wxListItem
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "mask", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17954 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 (arg1
)->SetMask(arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 Py_INCREF(Py_None
); resultobj
= Py_None
;
17971 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxListItem
*arg1
= (wxListItem
*) 0 ;
17975 PyObject
* obj0
= 0 ;
17976 PyObject
* obj1
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self",(char *) "id", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17984 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 (arg1
)->SetId(arg2
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 Py_INCREF(Py_None
); resultobj
= Py_None
;
18001 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxListItem
*arg1
= (wxListItem
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "col", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18014 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 (arg1
)->SetColumn(arg2
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 Py_INCREF(Py_None
); resultobj
= Py_None
;
18031 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxListItem
*arg1
= (wxListItem
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "state", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18044 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 (arg1
)->SetState(arg2
);
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 Py_INCREF(Py_None
); resultobj
= Py_None
;
18061 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxListItem
*arg1
= (wxListItem
*) 0 ;
18065 PyObject
* obj0
= 0 ;
18066 PyObject
* obj1
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self",(char *) "stateMask", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18074 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 (arg1
)->SetStateMask(arg2
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 Py_INCREF(Py_None
); resultobj
= Py_None
;
18091 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxListItem
*arg1
= (wxListItem
*) 0 ;
18094 wxString
*arg2
= 0 ;
18095 bool temp2
= False
;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self",(char *) "text", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18105 arg2
= wxString_in_helper(obj1
);
18106 if (arg2
== NULL
) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 (arg1
)->SetText((wxString
const &)*arg2
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 Py_INCREF(Py_None
); resultobj
= Py_None
;
18131 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxListItem
*arg1
= (wxListItem
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self",(char *) "image", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18144 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 (arg1
)->SetImage(arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 Py_INCREF(Py_None
); resultobj
= Py_None
;
18161 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxListItem
*arg1
= (wxListItem
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self",(char *) "data", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18174 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->SetData(arg2
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 Py_INCREF(Py_None
); resultobj
= Py_None
;
18191 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxListItem
*arg1
= (wxListItem
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 PyObject
* obj1
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self",(char *) "width", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18204 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 (arg1
)->SetWidth(arg2
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 Py_INCREF(Py_None
); resultobj
= Py_None
;
18221 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxListItem
*arg1
= (wxListItem
*) 0 ;
18225 PyObject
* obj0
= 0 ;
18226 PyObject
* obj1
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self",(char *) "align", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18234 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 Py_INCREF(Py_None
); resultobj
= Py_None
;
18251 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxListItem
*arg1
= (wxListItem
*) 0 ;
18254 wxColour
*arg2
= 0 ;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self",(char *) "colText", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 Py_INCREF(Py_None
); resultobj
= Py_None
;
18282 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxListItem
*arg1
= (wxListItem
*) 0 ;
18285 wxColour
*arg2
= 0 ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self",(char *) "colBack", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 Py_INCREF(Py_None
); resultobj
= Py_None
;
18313 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxListItem
*arg1
= (wxListItem
*) 0 ;
18317 PyObject
* obj0
= 0 ;
18318 PyObject
* obj1
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self",(char *) "font", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18326 if (arg2
== NULL
) {
18327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 (arg1
)->SetFont((wxFont
const &)*arg2
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 Py_INCREF(Py_None
); resultobj
= Py_None
;
18343 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxListItem
*arg1
= (wxListItem
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (long)(arg1
)->GetMask();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 resultobj
= SWIG_PyObj_FromLong((long)result
);
18368 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxListItem
*arg1
= (wxListItem
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "self", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (long)(arg1
)->GetId();
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= SWIG_PyObj_FromLong((long)result
);
18393 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxListItem
*arg1
= (wxListItem
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (int)(arg1
)->GetColumn();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_PyObj_FromInt((int)result
);
18418 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxListItem
*arg1
= (wxListItem
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (long)(arg1
)->GetState();
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= SWIG_PyObj_FromLong((long)result
);
18443 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
;
18445 wxListItem
*arg1
= (wxListItem
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 wxString
const &_result_ref
= (arg1
)->GetText();
18458 result
= (wxString
*) &_result_ref
;
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18468 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18477 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18479 wxListItem
*arg1
= (wxListItem
*) 0 ;
18481 PyObject
* obj0
= 0 ;
18482 char *kwnames
[] = {
18483 (char *) "self", NULL
18486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (int)(arg1
)->GetImage();
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_PyObj_FromInt((int)result
);
18502 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxListItem
*arg1
= (wxListItem
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (long)(arg1
)->GetData();
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= SWIG_PyObj_FromLong((long)result
);
18527 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxListItem
*arg1
= (wxListItem
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (int)(arg1
)->GetWidth();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 resultobj
= SWIG_PyObj_FromInt((int)result
);
18552 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxListItem
*arg1
= (wxListItem
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 result
= (int)(arg1
)->GetAlign();
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_PyObj_FromInt((int)result
);
18577 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxListItem
*arg1
= (wxListItem
*) 0 ;
18580 wxListItemAttr
*result
;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18602 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxListItem
*arg1
= (wxListItem
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= (bool)(arg1
)->HasAttributes();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18627 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxListItem
*arg1
= (wxListItem
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18646 wxColour
* resultptr
;
18647 resultptr
= new wxColour((wxColour
&) result
);
18648 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18656 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxListItem
*arg1
= (wxListItem
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18675 wxColour
* resultptr
;
18676 resultptr
= new wxColour((wxColour
&) result
);
18677 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18685 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
;
18687 wxListItem
*arg1
= (wxListItem
*) 0 ;
18689 PyObject
* obj0
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "self", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 result
= ((wxListItem
const *)arg1
)->GetFont();
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18704 wxFont
* resultptr
;
18705 resultptr
= new wxFont((wxFont
&) result
);
18706 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18714 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxListItem
*arg1
= (wxListItem
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "self",(char *) "m_mask", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18727 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 if (arg1
) (arg1
)->m_mask
= arg2
;
18732 Py_INCREF(Py_None
); resultobj
= Py_None
;
18739 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxListItem
*arg1
= (wxListItem
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18750 result
= (long) ((arg1
)->m_mask
);
18752 resultobj
= SWIG_PyObj_FromLong((long)result
);
18759 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxListItem
*arg1
= (wxListItem
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self",(char *) "m_itemId", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18772 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 if (arg1
) (arg1
)->m_itemId
= arg2
;
18777 Py_INCREF(Py_None
); resultobj
= Py_None
;
18784 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxListItem
*arg1
= (wxListItem
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18795 result
= (long) ((arg1
)->m_itemId
);
18797 resultobj
= SWIG_PyObj_FromLong((long)result
);
18804 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxListItem
*arg1
= (wxListItem
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "m_col", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18817 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 if (arg1
) (arg1
)->m_col
= arg2
;
18822 Py_INCREF(Py_None
); resultobj
= Py_None
;
18829 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
;
18831 wxListItem
*arg1
= (wxListItem
*) 0 ;
18833 PyObject
* obj0
= 0 ;
18834 char *kwnames
[] = {
18835 (char *) "self", NULL
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18840 result
= (int) ((arg1
)->m_col
);
18842 resultobj
= SWIG_PyObj_FromInt((int)result
);
18849 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxListItem
*arg1
= (wxListItem
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "m_state", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18862 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 if (arg1
) (arg1
)->m_state
= arg2
;
18867 Py_INCREF(Py_None
); resultobj
= Py_None
;
18874 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxListItem
*arg1
= (wxListItem
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18885 result
= (long) ((arg1
)->m_state
);
18887 resultobj
= SWIG_PyObj_FromLong((long)result
);
18894 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxListItem
*arg1
= (wxListItem
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 PyObject
* obj1
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self",(char *) "m_stateMask", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18907 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18910 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18912 Py_INCREF(Py_None
); resultobj
= Py_None
;
18919 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18921 wxListItem
*arg1
= (wxListItem
*) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18930 result
= (long) ((arg1
)->m_stateMask
);
18932 resultobj
= SWIG_PyObj_FromLong((long)result
);
18939 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 wxListItem
*arg1
= (wxListItem
*) 0 ;
18942 wxString
*arg2
= (wxString
*) 0 ;
18943 bool temp2
= False
;
18944 PyObject
* obj0
= 0 ;
18945 PyObject
* obj1
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self",(char *) "m_text", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18953 arg2
= wxString_in_helper(obj1
);
18954 if (arg2
== NULL
) SWIG_fail
;
18957 if (arg1
) (arg1
)->m_text
= *arg2
;
18959 Py_INCREF(Py_None
); resultobj
= Py_None
;
18974 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxListItem
*arg1
= (wxListItem
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18985 result
= (wxString
*)& ((arg1
)->m_text
);
18989 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18991 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19000 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxListItem
*arg1
= (wxListItem
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 PyObject
* obj1
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self",(char *) "m_image", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19013 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19016 if (arg1
) (arg1
)->m_image
= arg2
;
19018 Py_INCREF(Py_None
); resultobj
= Py_None
;
19025 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxListItem
*arg1
= (wxListItem
*) 0 ;
19029 PyObject
* obj0
= 0 ;
19030 char *kwnames
[] = {
19031 (char *) "self", NULL
19034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19036 result
= (int) ((arg1
)->m_image
);
19038 resultobj
= SWIG_PyObj_FromInt((int)result
);
19045 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxListItem
*arg1
= (wxListItem
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "m_data", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19058 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 if (arg1
) (arg1
)->m_data
= arg2
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxListItem
*arg1
= (wxListItem
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19081 result
= (long) ((arg1
)->m_data
);
19083 resultobj
= SWIG_PyObj_FromLong((long)result
);
19090 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
;
19092 wxListItem
*arg1
= (wxListItem
*) 0 ;
19094 PyObject
* obj0
= 0 ;
19095 PyObject
* obj1
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self",(char *) "m_format", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19103 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19106 if (arg1
) (arg1
)->m_format
= arg2
;
19108 Py_INCREF(Py_None
); resultobj
= Py_None
;
19115 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
;
19117 wxListItem
*arg1
= (wxListItem
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19126 result
= (int) ((arg1
)->m_format
);
19128 resultobj
= SWIG_PyObj_FromInt((int)result
);
19135 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxListItem
*arg1
= (wxListItem
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self",(char *) "m_width", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19148 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 if (arg1
) (arg1
)->m_width
= arg2
;
19153 Py_INCREF(Py_None
); resultobj
= Py_None
;
19160 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxListItem
*arg1
= (wxListItem
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19171 result
= (int) ((arg1
)->m_width
);
19173 resultobj
= SWIG_PyObj_FromInt((int)result
);
19180 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19183 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19185 return Py_BuildValue((char *)"");
19187 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19190 int arg2
= (int) 0 ;
19191 wxListEvent
*result
;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "commandType",(char *) "id", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19201 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
19225 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "m_code", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19238 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 if (arg1
) (arg1
)->m_code
= arg2
;
19243 Py_INCREF(Py_None
); resultobj
= Py_None
;
19250 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19254 PyObject
* obj0
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19261 result
= (int) ((arg1
)->m_code
);
19263 resultobj
= SWIG_PyObj_FromInt((int)result
);
19270 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self",(char *) "m_oldItemIndex", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19283 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19288 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19306 result
= (long) ((arg1
)->m_oldItemIndex
);
19308 resultobj
= SWIG_PyObj_FromLong((long)result
);
19315 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 PyObject
* obj1
= 0 ;
19321 char *kwnames
[] = {
19322 (char *) "self",(char *) "m_itemIndex", NULL
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19328 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19331 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19333 Py_INCREF(Py_None
); resultobj
= Py_None
;
19340 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19344 PyObject
* obj0
= 0 ;
19345 char *kwnames
[] = {
19346 (char *) "self", NULL
19349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19351 result
= (long) ((arg1
)->m_itemIndex
);
19353 resultobj
= SWIG_PyObj_FromLong((long)result
);
19360 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self",(char *) "m_col", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19373 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 if (arg1
) (arg1
)->m_col
= arg2
;
19378 Py_INCREF(Py_None
); resultobj
= Py_None
;
19385 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19396 result
= (int) ((arg1
)->m_col
);
19398 resultobj
= SWIG_PyObj_FromInt((int)result
);
19405 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19408 wxPoint
*arg2
= (wxPoint
*) 0 ;
19409 PyObject
* obj0
= 0 ;
19410 PyObject
* obj1
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self",(char *) "m_pointDrag", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19418 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19427 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19431 PyObject
* obj0
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19438 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19447 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19450 wxListItem
*result
;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19458 result
= (wxListItem
*)& ((arg1
)->m_item
);
19461 resultobj
= wxPyMake_wxObject(result
);
19469 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19473 PyObject
* obj0
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= (int)(arg1
)->GetKeyCode();
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= SWIG_PyObj_FromInt((int)result
);
19494 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "self", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= (long)(arg1
)->GetIndex();
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_PyObj_FromLong((long)result
);
19519 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19523 PyObject
* obj0
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 result
= (int)(arg1
)->GetColumn();
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= SWIG_PyObj_FromInt((int)result
);
19544 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
;
19546 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (arg1
)->GetPoint();
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19563 wxPoint
* resultptr
;
19564 resultptr
= new wxPoint((wxPoint
&) result
);
19565 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19573 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 wxString
const &_result_ref
= (arg1
)->GetLabel();
19588 result
= (wxString
*) &_result_ref
;
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19598 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19607 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 wxString
const &_result_ref
= (arg1
)->GetText();
19622 result
= (wxString
*) &_result_ref
;
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19641 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 result
= (int)(arg1
)->GetImage();
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= SWIG_PyObj_FromInt((int)result
);
19666 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19670 PyObject
* obj0
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= (long)(arg1
)->GetData();
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= SWIG_PyObj_FromLong((long)result
);
19691 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19695 PyObject
* obj0
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "self", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (long)(arg1
)->GetMask();
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= SWIG_PyObj_FromLong((long)result
);
19716 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19719 wxListItem
*result
;
19720 PyObject
* obj0
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19731 result
= (wxListItem
*) &_result_ref
;
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19744 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 char *kwnames
[] = {
19750 (char *) "self", NULL
19753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= (long)(arg1
)->GetCacheFrom();
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 resultobj
= SWIG_PyObj_FromLong((long)result
);
19769 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19770 PyObject
*resultobj
;
19771 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19773 PyObject
* obj0
= 0 ;
19774 char *kwnames
[] = {
19775 (char *) "self", NULL
19778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (long)(arg1
)->GetCacheTo();
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_PyObj_FromLong((long)result
);
19794 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19819 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19823 PyObject
* obj0
= 0 ;
19824 PyObject
* obj1
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self",(char *) "editCancelled", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19832 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 (arg1
)->SetEditCanceled(arg2
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 Py_INCREF(Py_None
); resultobj
= Py_None
;
19849 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19852 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19854 return Py_BuildValue((char *)"");
19856 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxWindow
*arg1
= (wxWindow
*) 0 ;
19859 int arg2
= (int) -1 ;
19860 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19861 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19862 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19863 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19864 long arg5
= (long) wxLC_ICON
;
19865 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19866 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19867 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19868 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19869 wxPyListCtrl
*result
;
19872 bool temp7
= False
;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 PyObject
* obj2
= 0 ;
19876 PyObject
* obj3
= 0 ;
19877 PyObject
* obj4
= 0 ;
19878 PyObject
* obj5
= 0 ;
19879 PyObject
* obj6
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19888 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19906 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19911 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19912 if (arg6
== NULL
) {
19913 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19918 arg7
= wxString_in_helper(obj6
);
19919 if (arg7
== NULL
) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19945 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxPyListCtrl
*result
;
19948 char *kwnames
[] = {
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19967 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19970 wxWindow
*arg2
= (wxWindow
*) 0 ;
19971 int arg3
= (int) -1 ;
19972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19976 long arg6
= (long) wxLC_ICON
;
19977 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19978 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19979 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19980 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19984 bool temp8
= False
;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 PyObject
* obj2
= 0 ;
19988 PyObject
* obj3
= 0 ;
19989 PyObject
* obj4
= 0 ;
19990 PyObject
* obj5
= 0 ;
19991 PyObject
* obj6
= 0 ;
19992 PyObject
* obj7
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20002 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20020 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20025 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20026 if (arg7
== NULL
) {
20027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20032 arg8
= wxString_in_helper(obj7
);
20033 if (arg8
== NULL
) SWIG_fail
;
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20059 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20062 PyObject
*arg2
= (PyObject
*) 0 ;
20063 PyObject
*arg3
= (PyObject
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 PyObject
* obj2
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "self",(char *) "_class", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 Py_INCREF(Py_None
); resultobj
= Py_None
;
20089 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20092 wxColour
*arg2
= 0 ;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "col", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20105 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20121 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20124 wxColour
*arg2
= 0 ;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20129 char *kwnames
[] = {
20130 (char *) "self",(char *) "col", NULL
20133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20137 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20153 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20157 wxListItem
*result
;
20158 PyObject
* obj0
= 0 ;
20159 PyObject
* obj1
= 0 ;
20160 char *kwnames
[] = {
20161 (char *) "self",(char *) "col", NULL
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20167 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20178 resultobj
= wxPyMake_wxObject(result
);
20186 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20190 wxListItem
*arg3
= 0 ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 PyObject
* obj2
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self",(char *) "col",(char *) "item", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20202 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20206 if (arg3
== NULL
) {
20207 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20223 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self",(char *) "col", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 resultobj
= SWIG_PyObj_FromInt((int)result
);
20254 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 PyObject
* obj2
= 0 ;
20263 char *kwnames
[] = {
20264 (char *) "self",(char *) "col",(char *) "width", NULL
20267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20270 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20274 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20279 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20291 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
;
20293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20295 PyObject
* obj0
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_PyObj_FromInt((int)result
);
20316 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20335 wxRect
* resultptr
;
20336 resultptr
= new wxRect((wxRect
&) result
);
20337 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20345 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20348 wxTextCtrl
*result
;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= wxPyMake_wxObject(result
);
20372 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20376 int arg3
= (int) 0 ;
20377 wxListItem
*result
;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20380 PyObject
* obj2
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self",(char *) "itemId",(char *) "col", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20388 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20393 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= wxPyMake_wxObject(result
);
20413 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20416 wxListItem
*arg2
= 0 ;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "info", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20427 if (arg2
== NULL
) {
20428 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)(arg1
)->SetItem(*arg2
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20444 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20449 wxString
*arg4
= 0 ;
20450 int arg5
= (int) -1 ;
20452 bool temp4
= False
;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 PyObject
* obj2
= 0 ;
20456 PyObject
* obj3
= 0 ;
20457 PyObject
* obj4
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20465 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20469 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20473 arg4
= wxString_in_helper(obj3
);
20474 if (arg4
== NULL
) SWIG_fail
;
20479 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 resultobj
= SWIG_PyObj_FromLong((long)result
);
20505 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj1
= 0 ;
20513 PyObject
* obj2
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20521 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20525 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= SWIG_PyObj_FromInt((int)result
);
20542 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20549 PyObject
* obj0
= 0 ;
20550 PyObject
* obj1
= 0 ;
20551 PyObject
* obj2
= 0 ;
20552 PyObject
* obj3
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20560 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20564 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20568 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20585 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 PyObject
* obj1
= 0 ;
20594 PyObject
* obj2
= 0 ;
20595 PyObject
* obj3
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20603 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20607 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20611 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20628 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self",(char *) "item", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20642 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20665 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20669 wxString
*arg3
= 0 ;
20670 bool temp3
= False
;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20673 PyObject
* obj2
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self",(char *) "item",(char *) "str", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20681 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20685 arg3
= wxString_in_helper(obj2
);
20686 if (arg3
== NULL
) SWIG_fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 Py_INCREF(Py_None
); resultobj
= Py_None
;
20711 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
;
20713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20716 PyObject
* obj0
= 0 ;
20717 PyObject
* obj1
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self",(char *) "item", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20725 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_PyObj_FromLong((long)result
);
20742 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 PyObject
* obj2
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self",(char *) "item",(char *) "data", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20758 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20762 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20779 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self",(char *) "item", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20793 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20804 wxPoint
* resultptr
;
20805 resultptr
= new wxPoint((wxPoint
&) result
);
20806 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20814 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20818 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 PyObject
* obj2
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self",(char *) "item",(char *) "code", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20830 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20835 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20847 wxRect
* resultptr
;
20848 resultptr
= new wxRect((wxRect
&) result
);
20849 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20857 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20861 wxPoint
*arg3
= 0 ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 PyObject
* obj2
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "item",(char *) "pos", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20874 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20879 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20895 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20899 PyObject
* obj0
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "self", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_PyObj_FromInt((int)result
);
20920 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20924 PyObject
* obj0
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_PyObj_FromInt((int)result
);
20945 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20949 PyObject
* obj0
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20964 wxSize
* resultptr
;
20965 resultptr
= new wxSize((wxSize
&) result
);
20966 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20974 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
;
20976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_PyObj_FromInt((int)result
);
20999 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21000 PyObject
*resultobj
;
21001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21003 PyObject
* obj0
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21018 wxColour
* resultptr
;
21019 resultptr
= new wxColour((wxColour
&) result
);
21020 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21028 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21031 wxColour
*arg2
= 0 ;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self",(char *) "col", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 Py_INCREF(Py_None
); resultobj
= Py_None
;
21059 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21063 PyObject
* obj0
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_PyObj_FromLong((long)result
);
21084 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21088 bool arg3
= (bool) True
;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 PyObject
* obj2
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "self",(char *) "style",(char *) "add", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21099 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21104 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 (arg1
)->SetSingleStyle(arg2
,arg3
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 Py_INCREF(Py_None
); resultobj
= Py_None
;
21122 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self",(char *) "style", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21135 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 (arg1
)->SetWindowStyleFlag(arg2
);
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 Py_INCREF(Py_None
); resultobj
= Py_None
;
21152 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21156 int arg3
= (int) wxLIST_NEXT_ALL
;
21157 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 PyObject
* obj2
= 0 ;
21162 PyObject
* obj3
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21170 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21175 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21181 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= SWIG_PyObj_FromLong((long)result
);
21199 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21203 wxImageList
*result
;
21204 PyObject
* obj0
= 0 ;
21205 PyObject
* obj1
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self",(char *) "which", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= wxPyMake_wxObject(result
);
21232 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21235 wxImageList
*arg2
= (wxImageList
*) 0 ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 PyObject
* obj2
= 0 ;
21240 char *kwnames
[] = {
21241 (char *) "self",(char *) "imageList",(char *) "which", NULL
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21248 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 (arg1
)->SetImageList(arg2
,arg3
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 Py_INCREF(Py_None
); resultobj
= Py_None
;
21265 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21268 wxImageList
*arg2
= (wxImageList
*) 0 ;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 PyObject
* obj2
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self",(char *) "imageList",(char *) "which", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21279 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21281 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 (arg1
)->AssignImageList(arg2
,arg3
);
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 Py_INCREF(Py_None
); resultobj
= Py_None
;
21298 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
;
21300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21302 PyObject
* obj0
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21323 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 char *kwnames
[] = {
21330 (char *) "self",(char *) "item", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21336 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 (arg1
)->RefreshItem(arg2
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 Py_INCREF(Py_None
); resultobj
= Py_None
;
21353 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 PyObject
* obj2
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21368 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21372 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 (arg1
)->RefreshItems(arg2
,arg3
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 Py_INCREF(Py_None
); resultobj
= Py_None
;
21389 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21392 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21394 PyObject
* obj0
= 0 ;
21395 PyObject
* obj1
= 0 ;
21396 char *kwnames
[] = {
21397 (char *) "self",(char *) "flag", NULL
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21404 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (bool)(arg1
)->Arrange(arg2
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21422 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21427 PyObject
* obj0
= 0 ;
21428 PyObject
* obj1
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self",(char *) "item", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21436 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= (bool)(arg1
)->DeleteItem(arg2
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21453 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (bool)(arg1
)->DeleteAllItems();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21478 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
;
21480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 char *kwnames
[] = {
21486 (char *) "self",(char *) "col", NULL
21489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21492 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21509 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 result
= (bool)(arg1
)->DeleteAllColumns();
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21534 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21537 PyObject
* obj0
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 (arg1
)->ClearAll();
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 Py_INCREF(Py_None
); resultobj
= Py_None
;
21558 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21562 wxTextCtrl
*result
;
21563 PyObject
* obj0
= 0 ;
21564 PyObject
* obj1
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "self",(char *) "item", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21572 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= wxPyMake_wxObject(result
);
21591 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self",(char *) "cancel", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21605 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21622 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "item", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21636 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21653 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21657 wxString
*arg3
= 0 ;
21658 bool arg4
= (bool) False
;
21660 bool temp3
= False
;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 PyObject
* obj2
= 0 ;
21664 PyObject
* obj3
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21672 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 arg3
= wxString_in_helper(obj2
);
21677 if (arg3
== NULL
) SWIG_fail
;
21682 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_PyObj_FromLong((long)result
);
21708 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 PyObject
* obj2
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self",(char *) "start",(char *) "data", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21724 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21728 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= SWIG_PyObj_FromLong((long)result
);
21745 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21749 wxPoint
*arg3
= 0 ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 PyObject
* obj2
= 0 ;
21756 PyObject
* obj3
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21764 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21772 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_PyObj_FromLong((long)result
);
21789 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21792 wxPoint
*arg2
= 0 ;
21797 PyObject
* obj0
= 0 ;
21798 PyObject
* obj1
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self",(char *) "point", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21808 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21817 resultobj
= SWIG_PyObj_FromLong((long)result
);
21819 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21820 resultobj
= t_output_helper(resultobj
,o
);
21828 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21831 wxListItem
*arg2
= 0 ;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self",(char *) "info", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21842 if (arg2
== NULL
) {
21843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (long)(arg1
)->InsertItem(*arg2
);
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= SWIG_PyObj_FromLong((long)result
);
21859 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21863 wxString
*arg3
= 0 ;
21865 bool temp3
= False
;
21866 PyObject
* obj0
= 0 ;
21867 PyObject
* obj1
= 0 ;
21868 PyObject
* obj2
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self",(char *) "index",(char *) "label", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21876 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21880 arg3
= wxString_in_helper(obj2
);
21881 if (arg3
== NULL
) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= SWIG_PyObj_FromLong((long)result
);
21906 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
;
21908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 PyObject
* obj2
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21922 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21926 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= SWIG_PyObj_FromLong((long)result
);
21943 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21947 wxString
*arg3
= 0 ;
21950 bool temp3
= False
;
21951 PyObject
* obj0
= 0 ;
21952 PyObject
* obj1
= 0 ;
21953 PyObject
* obj2
= 0 ;
21954 PyObject
* obj3
= 0 ;
21955 char *kwnames
[] = {
21956 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21962 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21966 arg3
= wxString_in_helper(obj2
);
21967 if (arg3
== NULL
) SWIG_fail
;
21971 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= SWIG_PyObj_FromLong((long)result
);
21996 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22000 wxListItem
*arg3
= 0 ;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 PyObject
* obj2
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self",(char *) "col",(char *) "info", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22012 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22016 if (arg3
== NULL
) {
22017 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_PyObj_FromLong((long)result
);
22033 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22037 wxString
*arg3
= 0 ;
22038 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22039 int arg5
= (int) -1 ;
22041 bool temp3
= False
;
22042 PyObject
* obj0
= 0 ;
22043 PyObject
* obj1
= 0 ;
22044 PyObject
* obj2
= 0 ;
22045 PyObject
* obj3
= 0 ;
22046 PyObject
* obj4
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22054 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22058 arg3
= wxString_in_helper(obj2
);
22059 if (arg3
== NULL
) SWIG_fail
;
22064 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22070 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= SWIG_PyObj_FromLong((long)result
);
22096 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
;
22098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "count", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22109 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 (arg1
)->SetItemCount(arg2
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 Py_INCREF(Py_None
); resultobj
= Py_None
;
22126 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 PyObject
* obj2
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "dx",(char *) "dy", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22142 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22146 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22163 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22167 wxColour
*arg3
= 0 ;
22169 PyObject
* obj0
= 0 ;
22170 PyObject
* obj1
= 0 ;
22171 PyObject
* obj2
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self",(char *) "item",(char *) "col", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22179 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22184 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22193 Py_INCREF(Py_None
); resultobj
= Py_None
;
22200 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
;
22202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 PyObject
* obj1
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self",(char *) "item", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22214 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 wxColour
* resultptr
;
22226 resultptr
= new wxColour((wxColour
&) result
);
22227 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22235 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22239 wxColour
*arg3
= 0 ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 PyObject
* obj2
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "item",(char *) "col", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22251 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22256 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 Py_INCREF(Py_None
); resultobj
= Py_None
;
22272 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self",(char *) "item", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22286 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22297 wxColour
* resultptr
;
22298 resultptr
= new wxColour((wxColour
&) result
);
22299 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22307 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22310 PyObject
*arg2
= (PyObject
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self",(char *) "func", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22335 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22339 PyObject
* obj0
= 0 ;
22340 char *kwnames
[] = {
22341 (char *) "self", NULL
22344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= wxPyMake_wxObject(result
);
22362 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22365 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22367 return Py_BuildValue((char *)"");
22369 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxWindow
*arg1
= (wxWindow
*) 0 ;
22372 int arg2
= (int) -1 ;
22373 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22374 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22375 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22376 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22377 long arg5
= (long) wxLC_REPORT
;
22378 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22379 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22380 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22381 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22382 wxListView
*result
;
22385 bool temp7
= False
;
22386 PyObject
* obj0
= 0 ;
22387 PyObject
* obj1
= 0 ;
22388 PyObject
* obj2
= 0 ;
22389 PyObject
* obj3
= 0 ;
22390 PyObject
* obj4
= 0 ;
22391 PyObject
* obj5
= 0 ;
22392 PyObject
* obj6
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22419 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22424 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22425 if (arg6
== NULL
) {
22426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22431 arg7
= wxString_in_helper(obj6
);
22432 if (arg7
== NULL
) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22458 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxListView
*result
;
22461 char *kwnames
[] = {
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 result
= (wxListView
*)new wxListView();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22480 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxListView
*arg1
= (wxListView
*) 0 ;
22483 wxWindow
*arg2
= (wxWindow
*) 0 ;
22484 int arg3
= (int) -1 ;
22485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22489 long arg6
= (long) wxLC_REPORT
;
22490 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22491 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22492 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22497 bool temp8
= False
;
22498 PyObject
* obj0
= 0 ;
22499 PyObject
* obj1
= 0 ;
22500 PyObject
* obj2
= 0 ;
22501 PyObject
* obj3
= 0 ;
22502 PyObject
* obj4
= 0 ;
22503 PyObject
* obj5
= 0 ;
22504 PyObject
* obj6
= 0 ;
22505 PyObject
* obj7
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22515 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22533 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22538 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22539 if (arg7
== NULL
) {
22540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22545 arg8
= wxString_in_helper(obj7
);
22546 if (arg8
== NULL
) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22572 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxListView
*arg1
= (wxListView
*) 0 ;
22576 bool arg3
= (bool) True
;
22577 PyObject
* obj0
= 0 ;
22578 PyObject
* obj1
= 0 ;
22579 PyObject
* obj2
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self",(char *) "n",(char *) "on", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22587 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22592 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 (arg1
)->Select(arg2
,arg3
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 Py_INCREF(Py_None
); resultobj
= Py_None
;
22610 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxListView
*arg1
= (wxListView
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self",(char *) "index", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22623 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 (arg1
)->Focus(arg2
);
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 Py_INCREF(Py_None
); resultobj
= Py_None
;
22640 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxListView
*arg1
= (wxListView
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 resultobj
= SWIG_PyObj_FromLong((long)result
);
22665 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxListView
*arg1
= (wxListView
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 PyObject
* obj1
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self",(char *) "item", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22679 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= SWIG_PyObj_FromLong((long)result
);
22696 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxListView
*arg1
= (wxListView
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= SWIG_PyObj_FromLong((long)result
);
22721 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxListView
*arg1
= (wxListView
*) 0 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "index", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22735 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (bool)(arg1
)->IsSelected(arg2
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22752 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxListView
*arg1
= (wxListView
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 PyObject
* obj2
= 0 ;
22760 char *kwnames
[] = {
22761 (char *) "self",(char *) "col",(char *) "image", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22767 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22771 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 (arg1
)->SetColumnImage(arg2
,arg3
);
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22781 Py_INCREF(Py_None
); resultobj
= Py_None
;
22788 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxListView
*arg1
= (wxListView
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self",(char *) "col", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22801 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 (arg1
)->ClearColumnImage(arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 Py_INCREF(Py_None
); resultobj
= Py_None
;
22818 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22821 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22823 return Py_BuildValue((char *)"");
22825 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22826 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22831 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22836 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22838 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22845 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxTreeItemId
*result
;
22848 char *kwnames
[] = {
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= (wxTreeItemId
*)new wxTreeItemId();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22867 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 Py_INCREF(Py_None
); resultobj
= Py_None
;
22891 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22916 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22919 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self",(char *) "other", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22944 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22947 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self",(char *) "other", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22972 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22975 void *arg2
= (void *) 0 ;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self",(char *) "m_pItem", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22985 if (arg1
) (arg1
)->m_pItem
= arg2
;
22987 Py_INCREF(Py_None
); resultobj
= Py_None
;
22994 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23005 result
= (void *) ((arg1
)->m_pItem
);
23007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
23014 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23017 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23019 return Py_BuildValue((char *)"");
23021 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 PyObject
*arg1
= (PyObject
*) NULL
;
23024 wxPyTreeItemData
*result
;
23025 PyObject
* obj0
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "obj", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
23048 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23049 PyObject
*resultobj
;
23050 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23052 PyObject
* obj0
= 0 ;
23053 char *kwnames
[] = {
23054 (char *) "self", NULL
23057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (PyObject
*)(arg1
)->GetData();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= result
;
23073 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23076 PyObject
*arg2
= (PyObject
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "self",(char *) "obj", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 (arg1
)->SetData(arg2
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 Py_INCREF(Py_None
); resultobj
= Py_None
;
23100 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23103 wxTreeItemId
*result
;
23104 PyObject
* obj0
= 0 ;
23105 char *kwnames
[] = {
23106 (char *) "self", NULL
23109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23115 result
= (wxTreeItemId
*) &_result_ref
;
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
23128 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23131 wxTreeItemId
*arg2
= 0 ;
23132 PyObject
* obj0
= 0 ;
23133 PyObject
* obj1
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self",(char *) "id", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23141 if (arg2
== NULL
) {
23142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 Py_INCREF(Py_None
); resultobj
= Py_None
;
23158 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23161 PyObject
* obj0
= 0 ;
23162 char *kwnames
[] = {
23163 (char *) "self", NULL
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 wxPyTreeItemData_Destroy(arg1
);
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23185 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23187 return Py_BuildValue((char *)"");
23189 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23192 int arg2
= (int) 0 ;
23193 wxTreeEvent
*result
;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "commandType",(char *) "id", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23203 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23209 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
23227 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23230 wxTreeItemId result
;
23231 PyObject
* obj0
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self", NULL
23236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23246 wxTreeItemId
* resultptr
;
23247 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23248 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23256 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23259 wxTreeItemId
*arg2
= 0 ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self",(char *) "item", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23269 if (arg2
== NULL
) {
23270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 Py_INCREF(Py_None
); resultobj
= Py_None
;
23286 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23289 wxTreeItemId result
;
23290 PyObject
* obj0
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23301 wxPyEndAllowThreads(__tstate
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23305 wxTreeItemId
* resultptr
;
23306 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23307 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23315 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23318 wxTreeItemId
*arg2
= 0 ;
23319 PyObject
* obj0
= 0 ;
23320 PyObject
* obj1
= 0 ;
23321 char *kwnames
[] = {
23322 (char *) "self",(char *) "item", NULL
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23327 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23328 if (arg2
== NULL
) {
23329 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 Py_INCREF(Py_None
); resultobj
= Py_None
;
23345 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
;
23347 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23349 PyObject
* obj0
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23364 wxPoint
* resultptr
;
23365 resultptr
= new wxPoint((wxPoint
&) result
);
23366 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23374 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23377 wxPoint
*arg2
= 0 ;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self",(char *) "pt", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 Py_INCREF(Py_None
); resultobj
= Py_None
;
23405 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23408 wxKeyEvent
*result
;
23409 PyObject
* obj0
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23420 result
= (wxKeyEvent
*) &_result_ref
;
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23433 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_PyObj_FromInt((int)result
);
23458 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23461 wxKeyEvent
*arg2
= 0 ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 char *kwnames
[] = {
23465 (char *) "self",(char *) "evt", NULL
23468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23471 if (arg2
== NULL
) {
23472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23481 Py_INCREF(Py_None
); resultobj
= Py_None
;
23488 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23492 PyObject
* obj0
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "self", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23503 result
= (wxString
*) &_result_ref
;
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23513 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23522 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
;
23524 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23525 wxString
*arg2
= 0 ;
23526 bool temp2
= False
;
23527 PyObject
* obj0
= 0 ;
23528 PyObject
* obj1
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self",(char *) "label", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23536 arg2
= wxString_in_helper(obj1
);
23537 if (arg2
== NULL
) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 (arg1
)->SetLabel((wxString
const &)*arg2
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 Py_INCREF(Py_None
); resultobj
= Py_None
;
23562 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23566 PyObject
* obj0
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23587 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self",(char *) "editCancelled", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23600 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 (arg1
)->SetEditCanceled(arg2
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 Py_INCREF(Py_None
); resultobj
= Py_None
;
23617 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23620 wxString
*arg2
= 0 ;
23621 bool temp2
= False
;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 char *kwnames
[] = {
23625 (char *) "self",(char *) "toolTip", NULL
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23631 arg2
= wxString_in_helper(obj1
);
23632 if (arg2
== NULL
) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 Py_INCREF(Py_None
); resultobj
= Py_None
;
23657 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23660 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23662 return Py_BuildValue((char *)"");
23664 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxWindow
*arg1
= (wxWindow
*) 0 ;
23667 int arg2
= (int) -1 ;
23668 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23669 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23670 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23671 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23672 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23673 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23674 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23675 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23677 wxPyTreeCtrl
*result
;
23680 bool temp7
= False
;
23681 PyObject
* obj0
= 0 ;
23682 PyObject
* obj1
= 0 ;
23683 PyObject
* obj2
= 0 ;
23684 PyObject
* obj3
= 0 ;
23685 PyObject
* obj4
= 0 ;
23686 PyObject
* obj5
= 0 ;
23687 PyObject
* obj6
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23709 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23714 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23719 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23720 if (arg6
== NULL
) {
23721 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23726 arg7
= wxString_in_helper(obj6
);
23727 if (arg7
== NULL
) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= wxPyMake_wxObject(result
);
23755 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
;
23757 wxPyTreeCtrl
*result
;
23758 char *kwnames
[] = {
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= wxPyMake_wxObject(result
);
23779 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23782 wxWindow
*arg2
= (wxWindow
*) 0 ;
23783 int arg3
= (int) -1 ;
23784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23788 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23789 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23790 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23791 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23792 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23796 bool temp8
= False
;
23797 PyObject
* obj0
= 0 ;
23798 PyObject
* obj1
= 0 ;
23799 PyObject
* obj2
= 0 ;
23800 PyObject
* obj3
= 0 ;
23801 PyObject
* obj4
= 0 ;
23802 PyObject
* obj5
= 0 ;
23803 PyObject
* obj6
= 0 ;
23804 PyObject
* obj7
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23814 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23821 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23827 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23832 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23837 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23838 if (arg7
== NULL
) {
23839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23844 arg8
= wxString_in_helper(obj7
);
23845 if (arg8
== NULL
) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23871 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
;
23873 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23874 PyObject
*arg2
= (PyObject
*) 0 ;
23875 PyObject
*arg3
= (PyObject
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 PyObject
* obj1
= 0 ;
23878 PyObject
* obj2
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self",(char *) "self",(char *) "_class", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 Py_INCREF(Py_None
); resultobj
= Py_None
;
23901 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23905 PyObject
* obj0
= 0 ;
23906 char *kwnames
[] = {
23907 (char *) "self", NULL
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23926 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23929 unsigned int result
;
23930 PyObject
* obj0
= 0 ;
23931 char *kwnames
[] = {
23932 (char *) "self", NULL
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23951 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
;
23953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23954 unsigned int arg2
;
23955 PyObject
* obj0
= 0 ;
23956 PyObject
* obj1
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self",(char *) "indent", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23964 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 (arg1
)->SetIndent(arg2
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 Py_INCREF(Py_None
); resultobj
= Py_None
;
23981 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23984 unsigned int result
;
23985 PyObject
* obj0
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
24006 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24009 unsigned int arg2
;
24010 PyObject
* obj0
= 0 ;
24011 PyObject
* obj1
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "spacing", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24019 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 (arg1
)->SetSpacing(arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 Py_INCREF(Py_None
); resultobj
= Py_None
;
24036 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24039 wxImageList
*result
;
24040 PyObject
* obj0
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= wxPyMake_wxObject(result
);
24063 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24066 wxImageList
*result
;
24067 PyObject
* obj0
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= wxPyMake_wxObject(result
);
24090 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24093 wxImageList
*arg2
= (wxImageList
*) 0 ;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self",(char *) "imageList", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 (arg1
)->SetImageList(arg2
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 Py_INCREF(Py_None
); resultobj
= Py_None
;
24117 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24119 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24120 wxImageList
*arg2
= (wxImageList
*) 0 ;
24121 PyObject
* obj0
= 0 ;
24122 PyObject
* obj1
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self",(char *) "imageList", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 (arg1
)->SetStateImageList(arg2
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 Py_INCREF(Py_None
); resultobj
= Py_None
;
24144 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
;
24146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24147 wxImageList
*arg2
= (wxImageList
*) 0 ;
24148 PyObject
* obj0
= 0 ;
24149 PyObject
* obj1
= 0 ;
24150 char *kwnames
[] = {
24151 (char *) "self",(char *) "imageList", NULL
24154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 (arg1
)->AssignImageList(arg2
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 Py_INCREF(Py_None
); resultobj
= Py_None
;
24171 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24174 wxImageList
*arg2
= (wxImageList
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 PyObject
* obj1
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self",(char *) "imageList", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",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_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 (arg1
)->AssignStateImageList(arg2
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 Py_INCREF(Py_None
); resultobj
= Py_None
;
24198 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24201 wxTreeItemId
*arg2
= 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "item", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24212 if (arg2
== NULL
) {
24213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24235 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24238 wxTreeItemId
*arg2
= 0 ;
24239 int arg3
= (int) wxTreeItemIcon_Normal
;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 PyObject
* obj2
= 0 ;
24244 char *kwnames
[] = {
24245 (char *) "self",(char *) "item",(char *) "which", NULL
24248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24251 if (arg2
== NULL
) {
24252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24256 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_PyObj_FromInt((int)result
);
24274 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24277 wxTreeItemId
*arg2
= 0 ;
24278 wxPyTreeItemData
*result
;
24279 PyObject
* obj0
= 0 ;
24280 PyObject
* obj1
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self",(char *) "item", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24287 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24288 if (arg2
== NULL
) {
24289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
24305 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24308 wxTreeItemId
*arg2
= 0 ;
24310 PyObject
* obj0
= 0 ;
24311 PyObject
* obj1
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self",(char *) "item", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24318 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24319 if (arg2
== NULL
) {
24320 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= result
;
24336 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24339 wxTreeItemId
*arg2
= 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "item", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24350 if (arg2
== NULL
) {
24351 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24361 wxColour
* resultptr
;
24362 resultptr
= new wxColour((wxColour
&) result
);
24363 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24371 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24374 wxTreeItemId
*arg2
= 0 ;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self",(char *) "item", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24385 if (arg2
== NULL
) {
24386 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 wxColour
* resultptr
;
24397 resultptr
= new wxColour((wxColour
&) result
);
24398 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24406 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24409 wxTreeItemId
*arg2
= 0 ;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "item", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24420 if (arg2
== NULL
) {
24421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24431 wxFont
* resultptr
;
24432 resultptr
= new wxFont((wxFont
&) result
);
24433 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24441 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24444 wxTreeItemId
*arg2
= 0 ;
24445 wxString
*arg3
= 0 ;
24446 bool temp3
= False
;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 PyObject
* obj2
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self",(char *) "item",(char *) "text", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24457 if (arg2
== NULL
) {
24458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24461 arg3
= wxString_in_helper(obj2
);
24462 if (arg3
== NULL
) SWIG_fail
;
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 Py_INCREF(Py_None
); resultobj
= Py_None
;
24487 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24490 wxTreeItemId
*arg2
= 0 ;
24492 int arg4
= (int) wxTreeItemIcon_Normal
;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 PyObject
* obj2
= 0 ;
24496 PyObject
* obj3
= 0 ;
24497 char *kwnames
[] = {
24498 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24504 if (arg2
== NULL
) {
24505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24508 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24513 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 Py_INCREF(Py_None
); resultobj
= Py_None
;
24531 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24534 wxTreeItemId
*arg2
= 0 ;
24535 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 PyObject
* obj1
= 0 ;
24538 PyObject
* obj2
= 0 ;
24539 char *kwnames
[] = {
24540 (char *) "self",(char *) "item",(char *) "data", NULL
24543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24546 if (arg2
== NULL
) {
24547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24549 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 Py_INCREF(Py_None
); resultobj
= Py_None
;
24564 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24567 wxTreeItemId
*arg2
= 0 ;
24568 PyObject
*arg3
= (PyObject
*) 0 ;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 PyObject
* obj2
= 0 ;
24572 char *kwnames
[] = {
24573 (char *) "self",(char *) "item",(char *) "obj", NULL
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24579 if (arg2
== NULL
) {
24580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 Py_INCREF(Py_None
); resultobj
= Py_None
;
24597 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24600 wxTreeItemId
*arg2
= 0 ;
24601 bool arg3
= (bool) True
;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "item",(char *) "has", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24612 if (arg2
== NULL
) {
24613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24617 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 Py_INCREF(Py_None
); resultobj
= Py_None
;
24635 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24638 wxTreeItemId
*arg2
= 0 ;
24639 bool arg3
= (bool) True
;
24640 PyObject
* obj0
= 0 ;
24641 PyObject
* obj1
= 0 ;
24642 PyObject
* obj2
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self",(char *) "item",(char *) "bold", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24650 if (arg2
== NULL
) {
24651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24655 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 Py_INCREF(Py_None
); resultobj
= Py_None
;
24673 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24676 wxTreeItemId
*arg2
= 0 ;
24677 bool arg3
= (bool) True
;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 PyObject
* obj2
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self",(char *) "item",(char *) "highlight", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24687 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24688 if (arg2
== NULL
) {
24689 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24693 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24704 Py_INCREF(Py_None
); resultobj
= Py_None
;
24711 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24714 wxTreeItemId
*arg2
= 0 ;
24715 wxColour
*arg3
= 0 ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 PyObject
* obj2
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "item",(char *) "col", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24727 if (arg2
== NULL
) {
24728 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24732 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 Py_INCREF(Py_None
); resultobj
= Py_None
;
24748 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24751 wxTreeItemId
*arg2
= 0 ;
24752 wxColour
*arg3
= 0 ;
24754 PyObject
* obj0
= 0 ;
24755 PyObject
* obj1
= 0 ;
24756 PyObject
* obj2
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "self",(char *) "item",(char *) "col", NULL
24761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24763 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24764 if (arg2
== NULL
) {
24765 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24769 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 Py_INCREF(Py_None
); resultobj
= Py_None
;
24785 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
;
24787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24788 wxTreeItemId
*arg2
= 0 ;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 PyObject
* obj2
= 0 ;
24793 char *kwnames
[] = {
24794 (char *) "self",(char *) "item",(char *) "font", NULL
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24800 if (arg2
== NULL
) {
24801 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24803 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24804 if (arg3
== NULL
) {
24805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 Py_INCREF(Py_None
); resultobj
= Py_None
;
24821 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
;
24823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24824 wxTreeItemId
*arg2
= 0 ;
24826 PyObject
* obj0
= 0 ;
24827 PyObject
* obj1
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "self",(char *) "item", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24835 if (arg2
== NULL
) {
24836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24852 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24855 wxTreeItemId
*arg2
= 0 ;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 char *kwnames
[] = {
24860 (char *) "self",(char *) "item", NULL
24863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24865 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24866 if (arg2
== NULL
) {
24867 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24883 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24886 wxTreeItemId
*arg2
= 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self",(char *) "item", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24897 if (arg2
== NULL
) {
24898 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24914 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
;
24916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24917 wxTreeItemId
*arg2
= 0 ;
24919 PyObject
* obj0
= 0 ;
24920 PyObject
* obj1
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self",(char *) "item", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24928 if (arg2
== NULL
) {
24929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24945 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24948 wxTreeItemId
*arg2
= 0 ;
24950 PyObject
* obj0
= 0 ;
24951 PyObject
* obj1
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "self",(char *) "item", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24959 if (arg2
== NULL
) {
24960 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24976 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24979 wxTreeItemId
*arg2
= 0 ;
24980 bool arg3
= (bool) True
;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 PyObject
* obj2
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self",(char *) "item",(char *) "recursively", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
24997 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
25015 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25018 wxTreeItemId result
;
25019 PyObject
* obj0
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25034 wxTreeItemId
* resultptr
;
25035 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25036 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25044 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25047 wxTreeItemId result
;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 wxTreeItemId
* resultptr
;
25064 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25065 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25073 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25077 PyObject
* obj0
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "self", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= result
;
25098 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25101 wxTreeItemId
*arg2
= 0 ;
25102 wxTreeItemId result
;
25103 PyObject
* obj0
= 0 ;
25104 PyObject
* obj1
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "self",(char *) "item", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25112 if (arg2
== NULL
) {
25113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25123 wxTreeItemId
* resultptr
;
25124 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25125 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25133 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25136 wxTreeItemId
*arg2
= 0 ;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self",(char *) "item", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25146 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25147 if (arg2
== NULL
) {
25148 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= result
;
25164 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25167 wxTreeItemId
*arg2
= 0 ;
25168 void *arg3
= (void *) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 PyObject
* obj2
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self",(char *) "item",(char *) "cookie", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25179 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25180 if (arg2
== NULL
) {
25181 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25183 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= result
;
25198 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25201 wxTreeItemId
*arg2
= 0 ;
25202 wxTreeItemId result
;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "self",(char *) "item", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25212 if (arg2
== NULL
) {
25213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25223 wxTreeItemId
* resultptr
;
25224 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25225 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25233 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25236 wxTreeItemId
*arg2
= 0 ;
25237 wxTreeItemId result
;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self",(char *) "item", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25247 if (arg2
== NULL
) {
25248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25258 wxTreeItemId
* resultptr
;
25259 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25260 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25268 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25271 wxTreeItemId
*arg2
= 0 ;
25272 wxTreeItemId result
;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self",(char *) "item", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25281 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25282 if (arg2
== NULL
) {
25283 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25293 wxTreeItemId
* resultptr
;
25294 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25295 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25303 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25306 wxTreeItemId result
;
25307 PyObject
* obj0
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "self", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25322 wxTreeItemId
* resultptr
;
25323 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25324 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25332 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
;
25334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25335 wxTreeItemId
*arg2
= 0 ;
25336 wxTreeItemId result
;
25337 PyObject
* obj0
= 0 ;
25338 PyObject
* obj1
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self",(char *) "item", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25346 if (arg2
== NULL
) {
25347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25357 wxTreeItemId
* resultptr
;
25358 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25359 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25367 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
;
25369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25370 wxTreeItemId
*arg2
= 0 ;
25371 wxTreeItemId result
;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self",(char *) "item", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25381 if (arg2
== NULL
) {
25382 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25392 wxTreeItemId
* resultptr
;
25393 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25394 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25402 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25405 wxString
*arg2
= 0 ;
25406 int arg3
= (int) -1 ;
25407 int arg4
= (int) -1 ;
25408 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25409 wxTreeItemId result
;
25410 bool temp2
= False
;
25411 PyObject
* obj0
= 0 ;
25412 PyObject
* obj1
= 0 ;
25413 PyObject
* obj2
= 0 ;
25414 PyObject
* obj3
= 0 ;
25415 PyObject
* obj4
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25423 arg2
= wxString_in_helper(obj1
);
25424 if (arg2
== NULL
) SWIG_fail
;
25429 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25435 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25440 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25450 wxTreeItemId
* resultptr
;
25451 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25452 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25468 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25471 wxTreeItemId
*arg2
= 0 ;
25472 wxString
*arg3
= 0 ;
25473 int arg4
= (int) -1 ;
25474 int arg5
= (int) -1 ;
25475 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25476 wxTreeItemId result
;
25477 bool temp3
= False
;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 PyObject
* obj2
= 0 ;
25481 PyObject
* obj3
= 0 ;
25482 PyObject
* obj4
= 0 ;
25483 PyObject
* obj5
= 0 ;
25484 char *kwnames
[] = {
25485 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25491 if (arg2
== NULL
) {
25492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25495 arg3
= wxString_in_helper(obj2
);
25496 if (arg3
== NULL
) SWIG_fail
;
25501 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25507 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25512 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25522 wxTreeItemId
* resultptr
;
25523 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25524 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25540 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25543 wxTreeItemId
*arg2
= 0 ;
25544 wxTreeItemId
*arg3
= 0 ;
25545 wxString
*arg4
= 0 ;
25546 int arg5
= (int) -1 ;
25547 int arg6
= (int) -1 ;
25548 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25549 wxTreeItemId result
;
25550 bool temp4
= False
;
25551 PyObject
* obj0
= 0 ;
25552 PyObject
* obj1
= 0 ;
25553 PyObject
* obj2
= 0 ;
25554 PyObject
* obj3
= 0 ;
25555 PyObject
* obj4
= 0 ;
25556 PyObject
* obj5
= 0 ;
25557 PyObject
* obj6
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25565 if (arg2
== NULL
) {
25566 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25568 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25569 if (arg3
== NULL
) {
25570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25573 arg4
= wxString_in_helper(obj3
);
25574 if (arg4
== NULL
) SWIG_fail
;
25579 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25585 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25590 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25600 wxTreeItemId
* resultptr
;
25601 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25602 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25618 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
;
25620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25621 wxTreeItemId
*arg2
= 0 ;
25623 wxString
*arg4
= 0 ;
25624 int arg5
= (int) -1 ;
25625 int arg6
= (int) -1 ;
25626 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25627 wxTreeItemId result
;
25628 bool temp4
= False
;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 PyObject
* obj2
= 0 ;
25632 PyObject
* obj3
= 0 ;
25633 PyObject
* obj4
= 0 ;
25634 PyObject
* obj5
= 0 ;
25635 PyObject
* obj6
= 0 ;
25636 char *kwnames
[] = {
25637 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25643 if (arg2
== NULL
) {
25644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25647 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25651 arg4
= wxString_in_helper(obj3
);
25652 if (arg4
== NULL
) SWIG_fail
;
25657 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25663 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25668 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 wxTreeItemId
* resultptr
;
25679 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25680 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25696 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25699 wxTreeItemId
*arg2
= 0 ;
25700 wxString
*arg3
= 0 ;
25701 int arg4
= (int) -1 ;
25702 int arg5
= (int) -1 ;
25703 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25704 wxTreeItemId result
;
25705 bool temp3
= False
;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 PyObject
* obj2
= 0 ;
25709 PyObject
* obj3
= 0 ;
25710 PyObject
* obj4
= 0 ;
25711 PyObject
* obj5
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25719 if (arg2
== NULL
) {
25720 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25723 arg3
= wxString_in_helper(obj2
);
25724 if (arg3
== NULL
) SWIG_fail
;
25729 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25735 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25740 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25750 wxTreeItemId
* resultptr
;
25751 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25752 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25768 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25771 wxTreeItemId
*arg2
= 0 ;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "item", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25780 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25781 if (arg2
== NULL
) {
25782 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 Py_INCREF(Py_None
); resultobj
= Py_None
;
25798 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25801 wxTreeItemId
*arg2
= 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "item", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25811 if (arg2
== NULL
) {
25812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 Py_INCREF(Py_None
); resultobj
= Py_None
;
25828 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25831 PyObject
* obj0
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 (arg1
)->DeleteAllItems();
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 Py_INCREF(Py_None
); resultobj
= Py_None
;
25852 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
;
25854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25855 wxTreeItemId
*arg2
= 0 ;
25856 PyObject
* obj0
= 0 ;
25857 PyObject
* obj1
= 0 ;
25858 char *kwnames
[] = {
25859 (char *) "self",(char *) "item", NULL
25862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25865 if (arg2
== NULL
) {
25866 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 Py_INCREF(Py_None
); resultobj
= Py_None
;
25882 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
;
25884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25885 wxTreeItemId
*arg2
= 0 ;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self",(char *) "item", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25895 if (arg2
== NULL
) {
25896 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25905 Py_INCREF(Py_None
); resultobj
= Py_None
;
25912 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
;
25914 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25915 wxTreeItemId
*arg2
= 0 ;
25916 PyObject
* obj0
= 0 ;
25917 PyObject
* obj1
= 0 ;
25918 char *kwnames
[] = {
25919 (char *) "self",(char *) "item", NULL
25922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25924 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25925 if (arg2
== NULL
) {
25926 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 Py_INCREF(Py_None
); resultobj
= Py_None
;
25942 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25945 wxTreeItemId
*arg2
= 0 ;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj1
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "item", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25955 if (arg2
== NULL
) {
25956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 Py_INCREF(Py_None
); resultobj
= Py_None
;
25972 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25975 PyObject
* obj0
= 0 ;
25976 char *kwnames
[] = {
25977 (char *) "self", NULL
25980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 (arg1
)->Unselect();
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 Py_INCREF(Py_None
); resultobj
= Py_None
;
25996 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25999 wxTreeItemId
*arg2
= 0 ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 char *kwnames
[] = {
26003 (char *) "self",(char *) "item", NULL
26006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26009 if (arg2
== NULL
) {
26010 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 Py_INCREF(Py_None
); resultobj
= Py_None
;
26026 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26027 PyObject
*resultobj
;
26028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26029 PyObject
* obj0
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 (arg1
)->UnselectAll();
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 Py_INCREF(Py_None
); resultobj
= Py_None
;
26050 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26053 wxTreeItemId
*arg2
= 0 ;
26054 bool arg3
= (bool) True
;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 PyObject
* obj2
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self",(char *) "item",(char *) "select", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26065 if (arg2
== NULL
) {
26066 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26070 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 Py_INCREF(Py_None
); resultobj
= Py_None
;
26088 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26091 wxTreeItemId
*arg2
= 0 ;
26092 PyObject
* obj0
= 0 ;
26093 PyObject
* obj1
= 0 ;
26094 char *kwnames
[] = {
26095 (char *) "self",(char *) "item", NULL
26098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26101 if (arg2
== NULL
) {
26102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26111 Py_INCREF(Py_None
); resultobj
= Py_None
;
26118 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26119 PyObject
*resultobj
;
26120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26121 wxTreeItemId
*arg2
= 0 ;
26122 PyObject
* obj0
= 0 ;
26123 PyObject
* obj1
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "self",(char *) "item", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26131 if (arg2
== NULL
) {
26132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 Py_INCREF(Py_None
); resultobj
= Py_None
;
26148 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
;
26150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26151 wxTreeItemId
*arg2
= 0 ;
26152 PyObject
* obj0
= 0 ;
26153 PyObject
* obj1
= 0 ;
26154 char *kwnames
[] = {
26155 (char *) "self",(char *) "item", NULL
26158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26160 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26161 if (arg2
== NULL
) {
26162 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26171 Py_INCREF(Py_None
); resultobj
= Py_None
;
26178 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26181 wxTreeItemId
*arg2
= 0 ;
26182 PyObject
* obj0
= 0 ;
26183 PyObject
* obj1
= 0 ;
26184 char *kwnames
[] = {
26185 (char *) "self",(char *) "item", NULL
26188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26190 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26191 if (arg2
== NULL
) {
26192 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 Py_INCREF(Py_None
); resultobj
= Py_None
;
26208 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26211 wxTextCtrl
*result
;
26212 PyObject
* obj0
= 0 ;
26213 char *kwnames
[] = {
26214 (char *) "self", NULL
26217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26227 resultobj
= wxPyMake_wxObject(result
);
26235 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26238 wxTreeItemId
*arg2
= 0 ;
26239 bool arg3
= (bool) False
;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 PyObject
* obj2
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26250 if (arg2
== NULL
) {
26251 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26255 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26263 wxPyEndAllowThreads(__tstate
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26266 Py_INCREF(Py_None
); resultobj
= Py_None
;
26273 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
;
26275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26276 wxTreeItemId
*arg2
= 0 ;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "item", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26286 if (arg2
== NULL
) {
26287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 Py_INCREF(Py_None
); resultobj
= Py_None
;
26303 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26306 wxPoint
*arg2
= 0 ;
26308 wxTreeItemId result
;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self",(char *) "point", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26332 wxTreeItemId
* resultptr
;
26333 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26334 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26337 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26338 resultobj
= t_output_helper(resultobj
,o
);
26346 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26349 wxTreeItemId
*arg2
= 0 ;
26350 bool arg3
= (bool) False
;
26352 PyObject
* obj0
= 0 ;
26353 PyObject
* obj1
= 0 ;
26354 PyObject
* obj2
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26362 if (arg2
== NULL
) {
26363 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26367 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= result
;
26385 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26388 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26390 return Py_BuildValue((char *)"");
26392 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26393 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26398 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26403 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26405 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26412 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxWindow
*arg1
= (wxWindow
*) 0 ;
26415 int arg2
= (int) (int)-1 ;
26416 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26417 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26418 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26419 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26420 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26421 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26422 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26423 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26424 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26425 int arg8
= (int) 0 ;
26426 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26427 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26428 wxGenericDirCtrl
*result
;
26429 bool temp3
= False
;
26432 bool temp7
= False
;
26433 bool temp9
= False
;
26434 PyObject
* obj0
= 0 ;
26435 PyObject
* obj1
= 0 ;
26436 PyObject
* obj2
= 0 ;
26437 PyObject
* obj3
= 0 ;
26438 PyObject
* obj4
= 0 ;
26439 PyObject
* obj5
= 0 ;
26440 PyObject
* obj6
= 0 ;
26441 PyObject
* obj7
= 0 ;
26442 PyObject
* obj8
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26451 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26457 arg3
= wxString_in_helper(obj2
);
26458 if (arg3
== NULL
) SWIG_fail
;
26465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26476 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26482 arg7
= wxString_in_helper(obj6
);
26483 if (arg7
== NULL
) SWIG_fail
;
26489 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26495 arg9
= wxString_in_helper(obj8
);
26496 if (arg9
== NULL
) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26538 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
;
26540 wxGenericDirCtrl
*result
;
26541 char *kwnames
[] = {
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26560 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26563 wxWindow
*arg2
= (wxWindow
*) 0 ;
26564 int arg3
= (int) (int)-1 ;
26565 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26566 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26567 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26568 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26569 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26570 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26571 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26572 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26573 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26574 int arg9
= (int) 0 ;
26575 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26576 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26578 bool temp4
= False
;
26581 bool temp8
= False
;
26582 bool temp10
= False
;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 PyObject
* obj2
= 0 ;
26586 PyObject
* obj3
= 0 ;
26587 PyObject
* obj4
= 0 ;
26588 PyObject
* obj5
= 0 ;
26589 PyObject
* obj6
= 0 ;
26590 PyObject
* obj7
= 0 ;
26591 PyObject
* obj8
= 0 ;
26592 PyObject
* obj9
= 0 ;
26593 char *kwnames
[] = {
26594 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26602 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26608 arg4
= wxString_in_helper(obj3
);
26609 if (arg4
== NULL
) SWIG_fail
;
26616 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26622 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26627 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26633 arg8
= wxString_in_helper(obj7
);
26634 if (arg8
== NULL
) SWIG_fail
;
26640 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26646 arg10
= wxString_in_helper(obj9
);
26647 if (arg10
== NULL
) SWIG_fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26689 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26692 wxString
*arg2
= 0 ;
26694 bool temp2
= False
;
26695 PyObject
* obj0
= 0 ;
26696 PyObject
* obj1
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self",(char *) "path", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26704 arg2
= wxString_in_helper(obj1
);
26705 if (arg2
== NULL
) SWIG_fail
;
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26730 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26731 PyObject
*resultobj
;
26732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26734 PyObject
* obj0
= 0 ;
26735 char *kwnames
[] = {
26736 (char *) "self", NULL
26739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26761 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
;
26763 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26764 wxString
*arg2
= 0 ;
26765 bool temp2
= False
;
26766 PyObject
* obj0
= 0 ;
26767 PyObject
* obj1
= 0 ;
26768 char *kwnames
[] = {
26769 (char *) "self",(char *) "path", NULL
26772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26775 arg2
= wxString_in_helper(obj1
);
26776 if (arg2
== NULL
) SWIG_fail
;
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 Py_INCREF(Py_None
); resultobj
= Py_None
;
26801 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26832 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26863 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
;
26865 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26866 wxString
*arg2
= 0 ;
26867 bool temp2
= False
;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "path", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26877 arg2
= wxString_in_helper(obj1
);
26878 if (arg2
== NULL
) SWIG_fail
;
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 (arg1
)->SetPath((wxString
const &)*arg2
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 Py_INCREF(Py_None
); resultobj
= Py_None
;
26903 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char *kwnames
[] = {
26910 (char *) "self",(char *) "show", NULL
26913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26916 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 (arg1
)->ShowHidden(arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 Py_INCREF(Py_None
); resultobj
= Py_None
;
26933 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 char *kwnames
[] = {
26939 (char *) "self", NULL
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 result
= (bool)(arg1
)->GetShowHidden();
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26958 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26962 PyObject
* obj0
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26989 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
;
26991 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26992 wxString
*arg2
= 0 ;
26993 bool temp2
= False
;
26994 PyObject
* obj0
= 0 ;
26995 PyObject
* obj1
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self",(char *) "filter", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27003 arg2
= wxString_in_helper(obj1
);
27004 if (arg2
== NULL
) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 (arg1
)->SetFilter((wxString
const &)*arg2
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 Py_INCREF(Py_None
); resultobj
= Py_None
;
27029 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
;
27031 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_PyObj_FromInt((int)result
);
27054 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
;
27056 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27058 PyObject
* obj0
= 0 ;
27059 PyObject
* obj1
= 0 ;
27060 char *kwnames
[] = {
27061 (char *) "self",(char *) "n", NULL
27064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27067 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 (arg1
)->SetFilterIndex(arg2
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 Py_INCREF(Py_None
); resultobj
= Py_None
;
27084 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27087 wxTreeItemId result
;
27088 PyObject
* obj0
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27097 result
= (arg1
)->GetRootId();
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27103 wxTreeItemId
* resultptr
;
27104 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27113 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27116 wxPyTreeCtrl
*result
;
27117 PyObject
* obj0
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= wxPyMake_wxObject(result
);
27140 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27143 wxDirFilterListCtrl
*result
;
27144 PyObject
* obj0
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27165 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
;
27167 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27168 wxTreeItemId arg2
;
27169 wxString
*arg3
= 0 ;
27171 wxTreeItemId result
;
27172 wxTreeItemId
*argp2
;
27173 bool temp3
= False
;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 PyObject
* obj2
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "parentId",(char *) "path", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27185 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27188 arg3
= wxString_in_helper(obj2
);
27189 if (arg3
== NULL
) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27200 wxTreeItemId
* resultptr
;
27201 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27202 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27205 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27206 resultobj
= t_output_helper(resultobj
,o
);
27222 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
;
27224 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27225 PyObject
* obj0
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 (arg1
)->DoResize();
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 Py_INCREF(Py_None
); resultobj
= Py_None
;
27246 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27249 PyObject
* obj0
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 (arg1
)->ReCreateTree();
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 Py_INCREF(Py_None
); resultobj
= Py_None
;
27270 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27273 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27275 return Py_BuildValue((char *)"");
27277 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27280 int arg2
= (int) (int)-1 ;
27281 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27282 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27283 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27284 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27285 long arg5
= (long) 0 ;
27286 wxDirFilterListCtrl
*result
;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 PyObject
* obj2
= 0 ;
27292 PyObject
* obj3
= 0 ;
27293 PyObject
* obj4
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27302 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27309 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27315 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27320 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27338 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxDirFilterListCtrl
*result
;
27341 char *kwnames
[] = {
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27360 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27363 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27364 int arg3
= (int) (int)-1 ;
27365 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27366 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27367 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27368 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27369 long arg6
= (long) 0 ;
27373 PyObject
* obj0
= 0 ;
27374 PyObject
* obj1
= 0 ;
27375 PyObject
* obj2
= 0 ;
27376 PyObject
* obj3
= 0 ;
27377 PyObject
* obj4
= 0 ;
27378 PyObject
* obj5
= 0 ;
27379 char *kwnames
[] = {
27380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27388 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27406 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27424 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
;
27426 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27427 wxString
*arg2
= 0 ;
27429 bool temp2
= False
;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 PyObject
* obj2
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27440 arg2
= wxString_in_helper(obj1
);
27441 if (arg2
== NULL
) SWIG_fail
;
27445 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 Py_INCREF(Py_None
); resultobj
= Py_None
;
27470 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27473 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27475 return Py_BuildValue((char *)"");
27477 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
;
27479 wxWindow
*arg1
= (wxWindow
*) 0 ;
27481 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27482 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27483 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27484 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27485 long arg5
= (long) 0 ;
27486 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27487 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27488 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27489 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27490 wxPyControl
*result
;
27493 bool temp7
= False
;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 PyObject
* obj2
= 0 ;
27497 PyObject
* obj3
= 0 ;
27498 PyObject
* obj4
= 0 ;
27499 PyObject
* obj5
= 0 ;
27500 PyObject
* obj6
= 0 ;
27501 char *kwnames
[] = {
27502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27508 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27514 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27520 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27525 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27530 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27531 if (arg6
== NULL
) {
27532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27537 arg7
= wxString_in_helper(obj6
);
27538 if (arg7
== NULL
) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27564 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27567 PyObject
*arg2
= (PyObject
*) 0 ;
27568 PyObject
*arg3
= (PyObject
*) 0 ;
27569 PyObject
* obj0
= 0 ;
27570 PyObject
* obj1
= 0 ;
27571 PyObject
* obj2
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self",(char *) "self",(char *) "_class", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27584 wxPyEndAllowThreads(__tstate
);
27585 if (PyErr_Occurred()) SWIG_fail
;
27587 Py_INCREF(Py_None
); resultobj
= Py_None
;
27594 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27595 PyObject
*resultobj
;
27596 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27601 PyObject
* obj0
= 0 ;
27602 PyObject
* obj1
= 0 ;
27603 PyObject
* obj2
= 0 ;
27604 PyObject
* obj3
= 0 ;
27605 PyObject
* obj4
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27613 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27617 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27621 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27635 Py_INCREF(Py_None
); resultobj
= Py_None
;
27642 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27649 int arg6
= (int) wxSIZE_AUTO
;
27650 PyObject
* obj0
= 0 ;
27651 PyObject
* obj1
= 0 ;
27652 PyObject
* obj2
= 0 ;
27653 PyObject
* obj3
= 0 ;
27654 PyObject
* obj4
= 0 ;
27655 PyObject
* obj5
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27663 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27667 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27671 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27680 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 Py_INCREF(Py_None
); resultobj
= Py_None
;
27698 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 PyObject
* obj1
= 0 ;
27705 PyObject
* obj2
= 0 ;
27706 char *kwnames
[] = {
27707 (char *) "self",(char *) "width",(char *) "height", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27713 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27717 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 Py_INCREF(Py_None
); resultobj
= Py_None
;
27734 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 PyObject
* obj2
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "self",(char *) "x",(char *) "y", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27749 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27763 Py_INCREF(Py_None
); resultobj
= Py_None
;
27770 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27773 int *arg2
= (int *) 0 ;
27774 int *arg3
= (int *) 0 ;
27777 PyObject
* obj0
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 Py_INCREF(Py_None
); resultobj
= Py_None
;
27795 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27796 resultobj
= t_output_helper(resultobj
,o
);
27799 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27800 resultobj
= t_output_helper(resultobj
,o
);
27808 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
;
27810 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27811 int *arg2
= (int *) 0 ;
27812 int *arg3
= (int *) 0 ;
27815 PyObject
* obj0
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 Py_INCREF(Py_None
); resultobj
= Py_None
;
27833 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27834 resultobj
= t_output_helper(resultobj
,o
);
27837 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27838 resultobj
= t_output_helper(resultobj
,o
);
27846 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27849 int *arg2
= (int *) 0 ;
27850 int *arg3
= (int *) 0 ;
27853 PyObject
* obj0
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "self", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27871 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27872 resultobj
= t_output_helper(resultobj
,o
);
27875 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27876 resultobj
= t_output_helper(resultobj
,o
);
27884 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27885 PyObject
*resultobj
;
27886 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27888 PyObject
* obj0
= 0 ;
27889 char *kwnames
[] = {
27890 (char *) "self", NULL
27893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27897 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27903 wxSize
* resultptr
;
27904 resultptr
= new wxSize((wxSize
&) result
);
27905 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27913 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
;
27915 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27917 PyObject
* obj0
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27932 wxSize
* resultptr
;
27933 resultptr
= new wxSize((wxSize
&) result
);
27934 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27942 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27945 PyObject
* obj0
= 0 ;
27946 char *kwnames
[] = {
27947 (char *) "self", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 (arg1
)->base_InitDialog();
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 Py_INCREF(Py_None
); resultobj
= Py_None
;
27966 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27967 PyObject
*resultobj
;
27968 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27970 PyObject
* obj0
= 0 ;
27971 char *kwnames
[] = {
27972 (char *) "self", NULL
27975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (bool)(arg1
)->base_TransferDataToWindow();
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27991 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27992 PyObject
*resultobj
;
27993 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27995 PyObject
* obj0
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "self", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28016 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
;
28018 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28020 PyObject
* obj0
= 0 ;
28021 char *kwnames
[] = {
28022 (char *) "self", NULL
28025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= (bool)(arg1
)->base_Validate();
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28041 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28042 PyObject
*resultobj
;
28043 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28045 PyObject
* obj0
= 0 ;
28046 char *kwnames
[] = {
28047 (char *) "self", NULL
28050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28066 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
;
28068 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28070 PyObject
* obj0
= 0 ;
28071 char *kwnames
[] = {
28072 (char *) "self", NULL
28075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28091 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 char *kwnames
[] = {
28097 (char *) "self", NULL
28100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28110 wxSize
* resultptr
;
28111 resultptr
= new wxSize((wxSize
&) result
);
28112 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
28120 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
;
28122 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28123 wxWindow
*arg2
= (wxWindow
*) 0 ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "self",(char *) "child", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28132 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 (arg1
)->base_AddChild(arg2
);
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 Py_INCREF(Py_None
); resultobj
= Py_None
;
28147 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28150 wxWindow
*arg2
= (wxWindow
*) 0 ;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 char *kwnames
[] = {
28154 (char *) "self",(char *) "child", NULL
28157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 (arg1
)->base_RemoveChild(arg2
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 Py_INCREF(Py_None
); resultobj
= Py_None
;
28174 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28177 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28179 return Py_BuildValue((char *)"");
28181 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28184 int arg2
= (int) 0 ;
28185 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28186 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28187 wxHelpEvent
*result
;
28189 PyObject
* obj0
= 0 ;
28190 PyObject
* obj1
= 0 ;
28191 PyObject
* obj2
= 0 ;
28192 char *kwnames
[] = {
28193 (char *) "type",(char *) "winid",(char *) "pt", NULL
28196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28199 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28205 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
28229 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
;
28231 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28244 result
= (wxPoint
*) &_result_ref
;
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
28257 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
;
28259 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28260 wxPoint
*arg2
= 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 char *kwnames
[] = {
28265 (char *) "self",(char *) "pos", NULL
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28272 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 Py_INCREF(Py_None
); resultobj
= Py_None
;
28288 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28292 PyObject
* obj0
= 0 ;
28293 char *kwnames
[] = {
28294 (char *) "self", NULL
28297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28303 result
= (wxString
*) &_result_ref
;
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28313 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28322 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
;
28324 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28325 wxString
*arg2
= 0 ;
28326 bool temp2
= False
;
28327 PyObject
* obj0
= 0 ;
28328 PyObject
* obj1
= 0 ;
28329 char *kwnames
[] = {
28330 (char *) "self",(char *) "link", NULL
28333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28336 arg2
= wxString_in_helper(obj1
);
28337 if (arg2
== NULL
) SWIG_fail
;
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 (arg1
)->SetLink((wxString
const &)*arg2
);
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 Py_INCREF(Py_None
); resultobj
= Py_None
;
28362 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
;
28364 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28366 PyObject
* obj0
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28377 result
= (wxString
*) &_result_ref
;
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28387 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28396 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28399 wxString
*arg2
= 0 ;
28400 bool temp2
= False
;
28401 PyObject
* obj0
= 0 ;
28402 PyObject
* obj1
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self",(char *) "target", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28410 arg2
= wxString_in_helper(obj1
);
28411 if (arg2
== NULL
) SWIG_fail
;
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 (arg1
)->SetTarget((wxString
const &)*arg2
);
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 Py_INCREF(Py_None
); resultobj
= Py_None
;
28436 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28439 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28441 return Py_BuildValue((char *)"");
28443 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxWindow
*arg1
= (wxWindow
*) NULL
;
28446 bool arg2
= (bool) True
;
28447 wxContextHelp
*result
;
28448 PyObject
* obj0
= 0 ;
28449 PyObject
* obj1
= 0 ;
28450 char *kwnames
[] = {
28451 (char *) "window",(char *) "doNow", NULL
28454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28460 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28478 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
;
28480 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28481 PyObject
* obj0
= 0 ;
28482 char *kwnames
[] = {
28483 (char *) "self", NULL
28486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 Py_INCREF(Py_None
); resultobj
= Py_None
;
28502 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28505 wxWindow
*arg2
= (wxWindow
*) NULL
;
28507 PyObject
* obj0
= 0 ;
28508 PyObject
* obj1
= 0 ;
28509 char *kwnames
[] = {
28510 (char *) "self",(char *) "window", NULL
28513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28532 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
;
28534 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28536 PyObject
* obj0
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= (bool)(arg1
)->EndContextHelp();
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28557 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28560 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28562 return Py_BuildValue((char *)"");
28564 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxWindow
*arg1
= (wxWindow
*) 0 ;
28567 int arg2
= (int) wxID_CONTEXT_HELP
;
28568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28572 long arg5
= (long) wxBU_AUTODRAW
;
28573 wxContextHelpButton
*result
;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 PyObject
* obj2
= 0 ;
28579 PyObject
* obj3
= 0 ;
28580 PyObject
* obj4
= 0 ;
28581 char *kwnames
[] = {
28582 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28589 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28607 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28625 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28628 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28630 return Py_BuildValue((char *)"");
28632 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
;
28634 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28635 wxHelpProvider
*result
;
28636 PyObject
* obj0
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "helpProvider", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28645 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28657 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28658 PyObject
*resultobj
;
28659 wxHelpProvider
*result
;
28660 char *kwnames
[] = {
28664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28679 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
;
28681 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28682 wxWindow
*arg2
= (wxWindow
*) 0 ;
28684 PyObject
* obj0
= 0 ;
28685 PyObject
* obj1
= 0 ;
28686 char *kwnames
[] = {
28687 (char *) "self",(char *) "window", NULL
28690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28713 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
;
28715 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28716 wxWindow
*arg2
= (wxWindow
*) 0 ;
28718 PyObject
* obj0
= 0 ;
28719 PyObject
* obj1
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self",(char *) "window", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= (bool)(arg1
)->ShowHelp(arg2
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28741 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28744 wxWindow
*arg2
= (wxWindow
*) 0 ;
28745 wxString
*arg3
= 0 ;
28746 bool temp3
= False
;
28747 PyObject
* obj0
= 0 ;
28748 PyObject
* obj1
= 0 ;
28749 PyObject
* obj2
= 0 ;
28750 char *kwnames
[] = {
28751 (char *) "self",(char *) "window",(char *) "text", NULL
28754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28758 arg3
= wxString_in_helper(obj2
);
28759 if (arg3
== NULL
) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 Py_INCREF(Py_None
); resultobj
= Py_None
;
28784 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28785 PyObject
*resultobj
;
28786 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28788 wxString
*arg3
= 0 ;
28789 bool temp3
= False
;
28790 PyObject
* obj0
= 0 ;
28791 PyObject
* obj1
= 0 ;
28792 PyObject
* obj2
= 0 ;
28793 char *kwnames
[] = {
28794 (char *) "self",(char *) "id",(char *) "text", NULL
28797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28800 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28804 arg3
= wxString_in_helper(obj2
);
28805 if (arg3
== NULL
) SWIG_fail
;
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28812 wxPyEndAllowThreads(__tstate
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28815 Py_INCREF(Py_None
); resultobj
= Py_None
;
28830 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
;
28832 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28833 PyObject
* obj0
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28842 wxHelpProvider_Destroy(arg1
);
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 Py_INCREF(Py_None
); resultobj
= Py_None
;
28854 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28857 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28859 return Py_BuildValue((char *)"");
28861 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxSimpleHelpProvider
*result
;
28864 char *kwnames
[] = {
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28883 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28886 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28888 return Py_BuildValue((char *)"");
28890 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
;
28892 wxBitmap
*arg1
= 0 ;
28893 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28894 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28895 wxGenericDragImage
*result
;
28896 PyObject
* obj0
= 0 ;
28897 PyObject
* obj1
= 0 ;
28898 char *kwnames
[] = {
28899 (char *) "image",(char *) "cursor", NULL
28902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28904 if (arg1
== NULL
) {
28905 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28908 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28909 if (arg2
== NULL
) {
28910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28927 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28928 PyObject
*resultobj
;
28930 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28931 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28932 wxGenericDragImage
*result
;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 char *kwnames
[] = {
28936 (char *) "image",(char *) "cursor", NULL
28939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28941 if (arg1
== NULL
) {
28942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28946 if (arg2
== NULL
) {
28947 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28952 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28964 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28965 PyObject
*resultobj
;
28966 wxString
*arg1
= 0 ;
28967 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28968 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28969 wxGenericDragImage
*result
;
28970 bool temp1
= False
;
28971 PyObject
* obj0
= 0 ;
28972 PyObject
* obj1
= 0 ;
28973 char *kwnames
[] = {
28974 (char *) "str",(char *) "cursor", NULL
28977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28979 arg1
= wxString_in_helper(obj0
);
28980 if (arg1
== NULL
) SWIG_fail
;
28984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28985 if (arg2
== NULL
) {
28986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29011 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29012 PyObject
*resultobj
;
29013 wxPyTreeCtrl
*arg1
= 0 ;
29014 wxTreeItemId
*arg2
= 0 ;
29015 wxGenericDragImage
*result
;
29016 PyObject
* obj0
= 0 ;
29017 PyObject
* obj1
= 0 ;
29018 char *kwnames
[] = {
29019 (char *) "treeCtrl",(char *) "id", NULL
29022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29024 if (arg1
== NULL
) {
29025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29028 if (arg2
== NULL
) {
29029 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29045 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
;
29047 wxPyListCtrl
*arg1
= 0 ;
29049 wxGenericDragImage
*result
;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 char *kwnames
[] = {
29053 (char *) "listCtrl",(char *) "id", NULL
29056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29058 if (arg1
== NULL
) {
29059 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29062 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29079 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
;
29081 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29082 PyObject
* obj0
= 0 ;
29083 char *kwnames
[] = {
29084 (char *) "self", NULL
29087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 Py_INCREF(Py_None
); resultobj
= Py_None
;
29103 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
;
29105 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29106 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 char *kwnames
[] = {
29110 (char *) "self",(char *) "bitmap", NULL
29113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29115 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 (arg1
)->SetBackingBitmap(arg2
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29123 Py_INCREF(Py_None
); resultobj
= Py_None
;
29130 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29133 wxPoint
*arg2
= 0 ;
29134 wxWindow
*arg3
= (wxWindow
*) 0 ;
29135 bool arg4
= (bool) False
;
29136 wxRect
*arg5
= (wxRect
*) NULL
;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 PyObject
* obj2
= 0 ;
29142 PyObject
* obj3
= 0 ;
29143 PyObject
* obj4
= 0 ;
29144 char *kwnames
[] = {
29145 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29154 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29157 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29162 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29178 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29181 wxPoint
*arg2
= 0 ;
29182 wxWindow
*arg3
= (wxWindow
*) 0 ;
29183 wxWindow
*arg4
= (wxWindow
*) 0 ;
29186 PyObject
* obj0
= 0 ;
29187 PyObject
* obj1
= 0 ;
29188 PyObject
* obj2
= 0 ;
29189 PyObject
* obj3
= 0 ;
29190 char *kwnames
[] = {
29191 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29200 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29201 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29216 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29220 PyObject
* obj0
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 result
= (bool)(arg1
)->EndDrag();
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29241 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29242 PyObject
*resultobj
;
29243 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29244 wxPoint
*arg2
= 0 ;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 char *kwnames
[] = {
29250 (char *) "self",(char *) "pt", NULL
29253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29273 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
;
29275 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 char *kwnames
[] = {
29279 (char *) "self", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 result
= (bool)(arg1
)->Show();
29288 wxPyEndAllowThreads(__tstate
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29298 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
;
29300 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29302 PyObject
* obj0
= 0 ;
29303 char *kwnames
[] = {
29304 (char *) "self", NULL
29307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 result
= (bool)(arg1
)->Hide();
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29323 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
;
29325 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29326 wxPoint
*arg2
= 0 ;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 char *kwnames
[] = {
29332 (char *) "self",(char *) "pos", NULL
29335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29339 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29349 wxRect
* resultptr
;
29350 resultptr
= new wxRect((wxRect
&) result
);
29351 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
29359 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29360 PyObject
*resultobj
;
29361 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29363 wxPoint
*arg3
= 0 ;
29366 PyObject
* obj0
= 0 ;
29367 PyObject
* obj1
= 0 ;
29368 PyObject
* obj2
= 0 ;
29369 char *kwnames
[] = {
29370 (char *) "self",(char *) "dc",(char *) "pos", NULL
29373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29376 if (arg2
== NULL
) {
29377 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29381 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29397 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29398 PyObject
*resultobj
;
29399 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29401 wxMemoryDC
*arg3
= 0 ;
29407 PyObject
* obj0
= 0 ;
29408 PyObject
* obj1
= 0 ;
29409 PyObject
* obj2
= 0 ;
29410 PyObject
* obj3
= 0 ;
29411 PyObject
* obj4
= 0 ;
29412 char *kwnames
[] = {
29413 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29418 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29419 if (arg2
== NULL
) {
29420 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29422 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29423 if (arg3
== NULL
) {
29424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29428 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29432 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29448 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29451 wxPoint
*arg2
= 0 ;
29452 wxPoint
*arg3
= 0 ;
29458 PyObject
* obj0
= 0 ;
29459 PyObject
* obj1
= 0 ;
29460 PyObject
* obj2
= 0 ;
29461 PyObject
* obj3
= 0 ;
29462 PyObject
* obj4
= 0 ;
29463 char *kwnames
[] = {
29464 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29475 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29478 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29482 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29499 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29502 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29504 return Py_BuildValue((char *)"");
29506 static PyMethodDef SwigMethods
[] = {
29507 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29515 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29530 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29541 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29550 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29568 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29581 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29582 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29585 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29586 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29591 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29595 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29602 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29621 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29628 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29630 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29631 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29660 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29716 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29721 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29732 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29744 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29755 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29759 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29763 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29776 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29782 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29805 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29807 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29814 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29834 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29840 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29850 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29852 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29857 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29859 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29864 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29869 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29899 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29942 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29944 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29949 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29961 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29965 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29981 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30013 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30040 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30110 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30122 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30130 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30137 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30153 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30196 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30229 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30251 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30256 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30277 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30285 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30290 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30292 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30300 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30302 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30324 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30326 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30327 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30329 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30330 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30332 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30333 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30335 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30336 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30338 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30339 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30341 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30342 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30344 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30345 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30347 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30348 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30350 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30351 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30353 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30354 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30356 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30357 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30359 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30360 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30362 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30363 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30365 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30366 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30368 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30369 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30371 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30372 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30374 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30375 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30377 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30378 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30380 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30381 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30383 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30384 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30386 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30387 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30389 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30390 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30392 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30393 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30395 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30396 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30398 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30399 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30401 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30402 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30404 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30407 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30408 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30410 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30411 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30413 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30414 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30416 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30417 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30419 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30420 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30422 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30423 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30425 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30426 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30428 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30429 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30431 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30432 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30434 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30435 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30437 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30438 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30440 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30441 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30443 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30444 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30446 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30447 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30449 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30450 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30452 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30453 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30455 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30456 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30458 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30461 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30462 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30464 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30465 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30467 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30468 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30470 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30471 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30473 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30474 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30476 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30477 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30479 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30480 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30482 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30483 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30485 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30486 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30488 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30489 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30491 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30492 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30494 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30495 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30497 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30498 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30500 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30501 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30503 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30504 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30506 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30507 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30509 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30510 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30512 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30513 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30515 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30516 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30518 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30519 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30521 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30522 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30524 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30525 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30527 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30528 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30530 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30531 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30533 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30534 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30536 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30537 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30539 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30540 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30542 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30543 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30545 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30546 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30548 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30549 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30551 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30552 return (void *)((wxControl
*) ((wxGauge
*) x
));
30554 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30555 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30557 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30558 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30560 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30561 return (void *)((wxControl
*) ((wxButton
*) x
));
30563 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30564 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30566 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30567 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30569 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30570 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30572 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30573 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30575 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30576 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30578 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30579 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30581 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30582 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30584 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30585 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30587 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30588 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30590 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30591 return (void *)((wxControl
*) ((wxSlider
*) x
));
30593 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30594 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30596 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30597 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30599 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30600 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30602 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30603 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30605 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30606 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30608 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
30609 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
30611 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30612 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30614 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30615 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30617 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30618 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30620 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30621 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30623 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30624 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30626 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30627 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30629 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30630 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30632 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30635 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30636 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30638 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30639 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30641 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30642 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30644 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30647 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30648 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30650 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30653 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30656 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30657 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30659 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30660 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30662 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30665 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30668 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30671 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30674 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30677 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30678 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30680 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30683 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30686 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30689 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30692 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30695 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30698 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30701 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30704 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30707 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30710 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30713 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30716 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30719 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30722 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30725 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30728 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30731 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30734 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30737 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30740 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30743 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30746 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30749 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30752 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30753 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30755 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30756 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30758 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30759 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30761 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30762 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30764 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30765 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30767 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30768 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30770 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30771 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30773 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30774 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30776 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30777 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30779 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30780 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30782 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30785 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30786 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30788 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30791 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30794 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30795 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30797 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30798 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30800 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30801 return (void *)((wxObject
*) ((wxSizer
*) x
));
30803 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30804 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30806 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30809 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30812 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30813 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30815 static void *_p_wxEventTo_p_wxObject(void *x
) {
30816 return (void *)((wxObject
*) ((wxEvent
*) x
));
30818 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30819 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30821 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30822 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30824 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30825 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30827 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30830 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30833 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30836 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30837 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30839 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30840 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30842 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30843 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30845 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30846 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30848 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30849 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30851 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30852 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30854 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30857 static void *_p_wxControlTo_p_wxObject(void *x
) {
30858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30860 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30863 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30866 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30869 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30872 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30875 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30876 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30878 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30881 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30882 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30884 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30885 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30887 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30890 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30893 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30896 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30897 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30899 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30902 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30905 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30906 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30908 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30911 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30914 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30915 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30917 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30918 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30920 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30921 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30923 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30924 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30926 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30927 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30929 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30930 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30932 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30933 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30935 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30936 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30938 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30939 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30941 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30944 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30945 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30947 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30950 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30953 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30954 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30956 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30957 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30959 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30960 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30962 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30963 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30965 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30966 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30968 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30969 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30971 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30972 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30974 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30975 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30977 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30978 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30980 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30981 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30983 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30984 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30986 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30989 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30992 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30995 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30998 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31001 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31004 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31007 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31010 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31011 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31013 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31016 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31019 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31022 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31023 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31025 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31026 return (void *)((wxObject
*) ((wxListItem
*) x
));
31028 static void *_p_wxImageTo_p_wxObject(void *x
) {
31029 return (void *)((wxObject
*) ((wxImage
*) x
));
31031 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31032 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31034 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31035 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31037 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31040 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31041 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31043 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31046 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31049 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31052 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31055 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31056 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31058 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31059 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31061 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31062 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31064 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31065 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31067 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31070 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31071 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31073 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31076 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31077 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31079 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31080 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31082 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31083 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31085 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31086 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31088 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31089 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31091 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31092 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31094 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31095 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31097 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31098 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31100 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31103 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31104 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31106 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31107 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31109 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31112 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31115 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31116 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31118 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31121 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31124 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31125 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31127 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31128 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31130 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31131 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31133 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31134 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31136 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31137 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31139 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31140 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31142 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31143 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31145 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31146 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31148 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31149 return (void *)((wxWindow
*) ((wxControl
*) x
));
31151 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31152 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31154 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31155 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31157 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31158 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31160 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31161 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31163 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31164 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31166 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31167 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31169 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31170 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31172 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31173 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31175 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31176 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31178 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31179 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31181 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31182 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31184 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31185 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31187 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31188 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31190 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31191 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31193 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31194 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31196 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31197 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31199 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31200 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31202 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31203 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31205 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31206 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31208 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31209 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31211 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31212 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31214 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31215 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31217 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31218 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31220 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31221 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31223 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31224 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31226 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31227 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31229 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31230 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31232 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31233 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31235 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31236 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31238 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31239 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31241 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31242 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31244 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31245 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31247 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31248 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31250 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31251 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31253 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31254 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31256 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31257 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31259 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31260 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31262 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31263 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31265 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31266 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31268 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31269 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31271 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31272 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31274 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31275 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31277 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31278 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31280 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31281 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31283 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
31284 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
31286 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31287 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31289 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31290 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31292 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31293 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31295 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31296 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31298 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31299 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31301 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31302 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}};
31303 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}};
31304 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31305 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31306 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}};
31307 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31308 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31309 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31310 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}};
31311 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31312 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
31313 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31314 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}};
31315 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31316 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31317 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
31318 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31319 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31320 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31321 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
31322 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31323 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31324 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31325 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31326 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31327 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31328 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31329 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31330 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31331 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31332 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}};
31333 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31334 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31335 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31336 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31337 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31338 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31339 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31340 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31341 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}};
31342 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31343 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
31344 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31345 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}};
31346 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31347 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}};
31348 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
31349 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31350 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31351 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31352 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31353 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31354 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31355 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31356 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31357 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31358 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31359 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31360 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31361 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31362 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31363 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
31364 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31365 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31366 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31367 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31368 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31369 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}};
31370 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31371 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31372 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}};
31373 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31374 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31375 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31376 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31377 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}};
31378 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31379 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
31380 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31381 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31382 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31383 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31384 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
31386 static swig_type_info
*swig_types_initial
[] = {
31387 _swigt__p_wxTextUrlEvent
,
31388 _swigt__p_wxBookCtrlEvent
,
31390 _swigt__p_wxCheckBox
,
31391 _swigt__p_wxPyTreeCtrl
,
31393 _swigt__p_wxGenericDirCtrl
,
31395 _swigt__p_wxPyTreeItemData
,
31396 _swigt__p_wxItemContainer
,
31397 _swigt__p_wxDirFilterListCtrl
,
31398 _swigt__p_wxPyListCtrl
,
31399 _swigt__p_wxStaticLine
,
31400 _swigt__p_wxControl
,
31401 _swigt__p_wxPyControl
,
31403 _swigt__p_wxToolBarBase
,
31405 _swigt__p_wxToggleButton
,
31406 _swigt__p_wxRadioButton
,
31407 _swigt__p_wxChoice
,
31408 _swigt__p_wxMemoryDC
,
31409 _swigt__p_wxListItemAttr
,
31414 _swigt__p_wxListView
,
31416 _swigt__p_wxTextCtrl
,
31417 _swigt__p_wxNotebook
,
31418 _swigt__p_wxNotifyEvent
,
31419 _swigt__p_wxArrayString
,
31420 _swigt__p_wxListbook
,
31421 _swigt__p_wxStaticBitmap
,
31422 _swigt__p_wxSlider
,
31423 _swigt__p_wxStaticBox
,
31424 _swigt__p_wxArrayInt
,
31425 _swigt__p_wxContextHelp
,
31427 _swigt__p_wxEvtHandler
,
31428 _swigt__p_wxListEvent
,
31429 _swigt__p_wxListBox
,
31430 _swigt__p_wxCheckListBox
,
31431 _swigt__p_wxBookCtrl
,
31432 _swigt__p_wxSpinButton
,
31433 _swigt__p_wxButton
,
31434 _swigt__p_wxBitmapButton
,
31436 _swigt__p_wxContextHelpButton
,
31437 _swigt__p_wxRadioBox
,
31438 _swigt__p_wxScrollBar
,
31440 _swigt__p_wxTreeItemId
,
31441 _swigt__p_wxComboBox
,
31442 _swigt__p_wxHelpEvent
,
31443 _swigt__p_wxListItem
,
31444 _swigt__p_wxNotebookSizer
,
31445 _swigt__p_wxSpinEvent
,
31446 _swigt__p_wxGenericDragImage
,
31447 _swigt__p_wxSpinCtrl
,
31448 _swigt__p_wxImageList
,
31449 _swigt__p_wxHelpProvider
,
31450 _swigt__p_wxTextAttr
,
31451 _swigt__p_wxSimpleHelpProvider
,
31453 _swigt__p_wxListbookEvent
,
31454 _swigt__p_wxNotebookEvent
,
31455 _swigt__p_wxObject
,
31456 _swigt__p_wxCursor
,
31457 _swigt__p_wxKeyEvent
,
31458 _swigt__p_wxWindow
,
31459 _swigt__p_wxString
,
31460 _swigt__p_wxBitmap
,
31461 _swigt__p_wxTreeEvent
,
31462 _swigt__p_wxMouseEvent
,
31463 _swigt__p_wxCommandEvent
,
31464 _swigt__p_wxStaticText
,
31465 _swigt__p_wxControlWithItems
,
31466 _swigt__p_wxToolBarToolBase
,
31467 _swigt__p_wxColour
,
31468 _swigt__p_wxToolBar
,
31469 _swigt__p_wxBookCtrlSizer
,
31470 _swigt__p_wxValidator
,
31475 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31477 static swig_const_info swig_const_table
[] = {
31487 SWIGEXPORT(void) SWIG_init(void) {
31488 static PyObject
*SWIG_globals
= 0;
31489 static int typeinit
= 0;
31492 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31493 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31494 d
= PyModule_GetDict(m
);
31497 for (i
= 0; swig_types_initial
[i
]; i
++) {
31498 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31502 SWIG_InstallConstants(d
,swig_const_table
);
31504 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31505 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31506 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31507 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31508 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31509 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31510 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31511 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31512 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31513 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31514 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31515 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31516 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31517 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31518 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31519 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31520 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31521 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31522 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31523 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31524 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31525 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31526 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31527 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31528 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31529 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31530 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31531 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31532 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31533 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31534 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31535 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31536 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31537 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31538 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31539 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31540 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31541 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31542 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31543 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31544 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31545 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31546 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31547 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31548 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31549 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31550 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31551 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31552 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31553 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31554 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31555 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31556 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31557 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31558 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31559 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31560 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31561 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31562 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31563 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31564 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31565 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31566 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31567 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31568 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31569 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31570 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31571 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31572 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31573 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31574 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31575 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31576 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31577 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31578 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31579 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31580 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31581 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31582 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31583 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31584 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31585 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31586 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31587 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31588 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31589 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31590 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31591 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31592 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31593 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31594 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31595 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31596 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31597 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31598 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31599 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31600 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31601 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31602 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31603 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31604 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31605 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31606 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31607 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31608 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31609 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31610 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31611 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31612 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31613 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31614 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31615 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31616 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31617 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31618 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31619 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31620 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31621 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31622 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31623 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31624 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31625 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31626 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31627 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31628 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31629 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31630 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31631 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31632 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31633 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31634 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31635 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31636 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31637 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31638 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31639 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31640 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31641 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31642 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31643 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31644 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31645 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31646 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31647 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31648 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31649 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31650 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31651 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31652 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31653 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31654 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31655 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31656 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31657 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31658 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31659 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31660 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31661 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31662 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31663 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31664 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31665 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31666 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31667 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31668 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31669 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31670 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31671 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31672 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31673 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31674 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31675 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31676 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31677 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31678 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31679 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31680 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31681 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31682 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31683 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31684 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31685 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31686 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31687 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31688 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31689 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31690 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31691 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31692 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31713 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31714 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31716 // Map renamed classes back to their common name for OOR
31717 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31719 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31720 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31721 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31722 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31723 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31724 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31725 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31726 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31727 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31728 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31729 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31730 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31731 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31732 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31733 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31734 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31735 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31736 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31737 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31738 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31739 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31740 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31741 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31742 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31743 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31744 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31745 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31746 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31747 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31748 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31749 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31750 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31751 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31752 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31753 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31754 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31771 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31772 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31773 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31774 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31776 // Map renamed classes back to their common name for OOR
31777 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31778 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31780 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31781 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31782 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31783 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31784 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31785 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31786 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31787 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31788 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31789 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31791 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");