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 temp8
= False
;
2275 PyObject
* obj0
= 0 ;
2276 PyObject
* obj1
= 0 ;
2277 PyObject
* obj2
= 0 ;
2278 PyObject
* obj3
= 0 ;
2279 PyObject
* obj4
= 0 ;
2280 PyObject
* obj5
= 0 ;
2281 PyObject
* obj6
= 0 ;
2282 PyObject
* obj7
= 0 ;
2284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2290 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2296 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2302 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2307 if (! PySequence_Check(obj4
)) {
2308 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2311 arg5
= new wxArrayString
;
2312 int i
, len
=PySequence_Length(obj4
);
2313 for (i
=0; i
<len
; i
++) {
2314 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2316 PyObject
* str
= PyObject_Unicode(item
);
2318 PyObject
* str
= PyObject_Str(item
);
2320 arg5
->Add(Py2wxString(str
));
2328 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2333 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2335 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2340 arg8
= wxString_in_helper(obj7
);
2341 if (arg8
== NULL
) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2354 if (arg5
) delete arg5
;
2363 if (arg5
) delete arg5
;
2373 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 result
= (wxChoice
*)new wxChoice();
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2395 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxChoice
*arg1
= (wxChoice
*) 0 ;
2398 wxWindow
*arg2
= (wxWindow
*) 0 ;
2400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2404 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2405 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2406 long arg7
= (long) 0 ;
2407 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2408 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2409 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2410 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2414 bool temp9
= False
;
2415 PyObject
* obj0
= 0 ;
2416 PyObject
* obj1
= 0 ;
2417 PyObject
* obj2
= 0 ;
2418 PyObject
* obj3
= 0 ;
2419 PyObject
* obj4
= 0 ;
2420 PyObject
* obj5
= 0 ;
2421 PyObject
* obj6
= 0 ;
2422 PyObject
* obj7
= 0 ;
2423 PyObject
* obj8
= 0 ;
2425 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2432 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2433 if (PyErr_Occurred()) SWIG_fail
;
2438 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2444 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2449 if (! PySequence_Check(obj5
)) {
2450 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2453 arg6
= new wxArrayString
;
2454 int i
, len
=PySequence_Length(obj5
);
2455 for (i
=0; i
<len
; i
++) {
2456 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2458 PyObject
* str
= PyObject_Unicode(item
);
2460 PyObject
* str
= PyObject_Str(item
);
2462 arg6
->Add(Py2wxString(str
));
2470 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2475 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2477 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2482 arg9
= wxString_in_helper(obj8
);
2483 if (arg9
== NULL
) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2496 if (arg6
) delete arg6
;
2505 if (arg6
) delete arg6
;
2515 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 wxChoice
*arg1
= (wxChoice
*) 0 ;
2519 PyObject
* obj0
= 0 ;
2521 (char *) "self", NULL
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 result
= (int)(arg1
)->GetColumns();
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 resultobj
= SWIG_PyObj_FromInt((int)result
);
2540 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 wxChoice
*arg1
= (wxChoice
*) 0 ;
2543 int arg2
= (int) (int)1 ;
2544 PyObject
* obj0
= 0 ;
2545 PyObject
* obj1
= 0 ;
2547 (char *) "self",(char *) "n", NULL
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Choice_SetColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
2551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2554 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 (arg1
)->SetColumns(arg2
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2565 Py_INCREF(Py_None
); resultobj
= Py_None
;
2572 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2574 wxChoice
*arg1
= (wxChoice
*) 0 ;
2576 PyObject
* obj0
= 0 ;
2577 PyObject
* obj1
= 0 ;
2579 (char *) "self",(char *) "n", NULL
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2585 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 (arg1
)->SetSelection(arg2
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 Py_INCREF(Py_None
); resultobj
= Py_None
;
2602 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxChoice
*arg1
= (wxChoice
*) 0 ;
2605 wxString
*arg2
= 0 ;
2606 bool temp2
= False
;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2610 (char *) "self",(char *) "string", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2616 arg2
= wxString_in_helper(obj1
);
2617 if (arg2
== NULL
) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2627 Py_INCREF(Py_None
); resultobj
= Py_None
;
2642 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxChoice
*arg1
= (wxChoice
*) 0 ;
2646 wxString
*arg3
= 0 ;
2647 bool temp3
= False
;
2648 PyObject
* obj0
= 0 ;
2649 PyObject
* obj1
= 0 ;
2650 PyObject
* obj2
= 0 ;
2652 (char *) "self",(char *) "n",(char *) "s", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2662 arg3
= wxString_in_helper(obj2
);
2663 if (arg3
== NULL
) SWIG_fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 Py_INCREF(Py_None
); resultobj
= Py_None
;
2688 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2691 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2693 return Py_BuildValue((char *)"");
2695 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2696 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2701 static PyObject
*_wrap_ComboBoxNameStr_get() {
2706 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2708 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2715 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
*resultobj
;
2717 wxWindow
*arg1
= (wxWindow
*) 0 ;
2719 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2720 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2721 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2722 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2723 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2724 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2725 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2726 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2727 long arg7
= (long) 0 ;
2728 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2729 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2730 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2731 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2733 bool temp3
= False
;
2736 bool temp9
= False
;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2739 PyObject
* obj2
= 0 ;
2740 PyObject
* obj3
= 0 ;
2741 PyObject
* obj4
= 0 ;
2742 PyObject
* obj5
= 0 ;
2743 PyObject
* obj6
= 0 ;
2744 PyObject
* obj7
= 0 ;
2745 PyObject
* obj8
= 0 ;
2747 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2753 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2758 arg3
= wxString_in_helper(obj2
);
2759 if (arg3
== NULL
) SWIG_fail
;
2766 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2772 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2777 if (! PySequence_Check(obj5
)) {
2778 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2781 arg6
= new wxArrayString
;
2782 int i
, len
=PySequence_Length(obj5
);
2783 for (i
=0; i
<len
; i
++) {
2784 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2786 PyObject
* str
= PyObject_Unicode(item
);
2788 PyObject
* str
= PyObject_Str(item
);
2790 arg6
->Add(Py2wxString(str
));
2798 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2803 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2810 arg9
= wxString_in_helper(obj8
);
2811 if (arg9
== NULL
) SWIG_fail
;
2816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2817 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
);
2819 wxPyEndAllowThreads(__tstate
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2822 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2828 if (arg6
) delete arg6
;
2841 if (arg6
) delete arg6
;
2851 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 result
= (wxComboBox
*)new wxComboBox();
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2866 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2873 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2876 wxWindow
*arg2
= (wxWindow
*) 0 ;
2878 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2879 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2880 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2881 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2882 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2883 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2884 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2885 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2886 long arg8
= (long) 0 ;
2887 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2888 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2889 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2890 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2892 bool temp4
= False
;
2895 bool temp10
= False
;
2896 PyObject
* obj0
= 0 ;
2897 PyObject
* obj1
= 0 ;
2898 PyObject
* obj2
= 0 ;
2899 PyObject
* obj3
= 0 ;
2900 PyObject
* obj4
= 0 ;
2901 PyObject
* obj5
= 0 ;
2902 PyObject
* obj6
= 0 ;
2903 PyObject
* obj7
= 0 ;
2904 PyObject
* obj8
= 0 ;
2905 PyObject
* obj9
= 0 ;
2907 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2912 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2914 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2919 arg4
= wxString_in_helper(obj3
);
2920 if (arg4
== NULL
) SWIG_fail
;
2927 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2933 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2938 if (! PySequence_Check(obj6
)) {
2939 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2942 arg7
= new wxArrayString
;
2943 int i
, len
=PySequence_Length(obj6
);
2944 for (i
=0; i
<len
; i
++) {
2945 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2947 PyObject
* str
= PyObject_Unicode(item
);
2949 PyObject
* str
= PyObject_Str(item
);
2951 arg7
->Add(Py2wxString(str
));
2959 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2960 if (PyErr_Occurred()) SWIG_fail
;
2964 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2971 arg10
= wxString_in_helper(obj9
);
2972 if (arg10
== NULL
) SWIG_fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 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
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2989 if (arg7
) delete arg7
;
3002 if (arg7
) delete arg7
;
3012 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3016 PyObject
* obj0
= 0 ;
3018 (char *) "self", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 result
= ((wxComboBox
const *)arg1
)->GetValue();
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3043 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3046 wxString
*arg2
= 0 ;
3047 bool temp2
= False
;
3048 PyObject
* obj0
= 0 ;
3049 PyObject
* obj1
= 0 ;
3051 (char *) "self",(char *) "value", NULL
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3057 arg2
= wxString_in_helper(obj1
);
3058 if (arg2
== NULL
) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 (arg1
)->SetValue((wxString
const &)*arg2
);
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3068 Py_INCREF(Py_None
); resultobj
= Py_None
;
3083 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3086 PyObject
* obj0
= 0 ;
3088 (char *) "self", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 Py_INCREF(Py_None
); resultobj
= Py_None
;
3107 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3112 (char *) "self", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3124 Py_INCREF(Py_None
); resultobj
= Py_None
;
3131 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3136 (char *) "self", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3148 Py_INCREF(Py_None
); resultobj
= Py_None
;
3155 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
*resultobj
;
3157 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3159 PyObject
* obj0
= 0 ;
3160 PyObject
* obj1
= 0 ;
3162 (char *) "self",(char *) "pos", NULL
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3168 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 (arg1
)->SetInsertionPoint(arg2
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 Py_INCREF(Py_None
); resultobj
= Py_None
;
3185 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3189 PyObject
* obj0
= 0 ;
3191 (char *) "self", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3203 resultobj
= SWIG_PyObj_FromLong((long)result
);
3210 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
*resultobj
;
3212 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3214 PyObject
* obj0
= 0 ;
3216 (char *) "self", NULL
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3228 resultobj
= SWIG_PyObj_FromLong((long)result
);
3235 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3240 wxString
*arg4
= 0 ;
3241 bool temp4
= False
;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3244 PyObject
* obj2
= 0 ;
3245 PyObject
* obj3
= 0 ;
3247 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3253 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3261 arg4
= wxString_in_helper(obj3
);
3262 if (arg4
== NULL
) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 Py_INCREF(Py_None
); resultobj
= Py_None
;
3287 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3291 PyObject
* obj0
= 0 ;
3292 PyObject
* obj1
= 0 ;
3294 (char *) "self",(char *) "n", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3300 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 (arg1
)->SetSelection(arg2
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3326 (char *) "self",(char *) "from",(char *) "to", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3332 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 (arg1
)->SetSelection(arg2
,arg3
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 Py_INCREF(Py_None
); resultobj
= Py_None
;
3353 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3360 (char *) "self",(char *) "editable", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3366 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 (arg1
)->SetEditable(arg2
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3376 Py_INCREF(Py_None
); resultobj
= Py_None
;
3383 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
*resultobj
;
3385 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3386 PyObject
* obj0
= 0 ;
3388 (char *) "self", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 (arg1
)->SetInsertionPointEnd();
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 Py_INCREF(Py_None
); resultobj
= Py_None
;
3407 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3414 PyObject
* obj2
= 0 ;
3416 (char *) "self",(char *) "from",(char *) "to", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3422 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3426 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 (arg1
)->Remove(arg2
,arg3
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 Py_INCREF(Py_None
); resultobj
= Py_None
;
3443 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3446 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3448 return Py_BuildValue((char *)"");
3450 static int _wrap_GaugeNameStr_set(PyObject
*) {
3451 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3456 static PyObject
*_wrap_GaugeNameStr_get() {
3461 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3463 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3470 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxWindow
*arg1
= (wxWindow
*) 0 ;
3475 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3476 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3477 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3478 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3479 long arg6
= (long) wxGA_HORIZONTAL
;
3480 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3481 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3482 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3483 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3487 bool temp8
= False
;
3488 PyObject
* obj0
= 0 ;
3489 PyObject
* obj1
= 0 ;
3490 PyObject
* obj2
= 0 ;
3491 PyObject
* obj3
= 0 ;
3492 PyObject
* obj4
= 0 ;
3493 PyObject
* obj5
= 0 ;
3494 PyObject
* obj6
= 0 ;
3495 PyObject
* obj7
= 0 ;
3497 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3503 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3507 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3513 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3519 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3524 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3529 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3536 arg8
= wxString_in_helper(obj7
);
3537 if (arg8
== NULL
) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3563 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (wxGauge
*)new wxGauge();
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3585 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
*resultobj
;
3587 wxGauge
*arg1
= (wxGauge
*) 0 ;
3588 wxWindow
*arg2
= (wxWindow
*) 0 ;
3591 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3592 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3593 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3594 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3595 long arg7
= (long) wxGA_HORIZONTAL
;
3596 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3597 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3598 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3599 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3603 bool temp9
= False
;
3604 PyObject
* obj0
= 0 ;
3605 PyObject
* obj1
= 0 ;
3606 PyObject
* obj2
= 0 ;
3607 PyObject
* obj3
= 0 ;
3608 PyObject
* obj4
= 0 ;
3609 PyObject
* obj5
= 0 ;
3610 PyObject
* obj6
= 0 ;
3611 PyObject
* obj7
= 0 ;
3612 PyObject
* obj8
= 0 ;
3614 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3621 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3631 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3637 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3642 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3647 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3649 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3654 arg9
= wxString_in_helper(obj8
);
3655 if (arg9
== NULL
) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3681 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxGauge
*arg1
= (wxGauge
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3688 (char *) "self",(char *) "range", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3694 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 (arg1
)->SetRange(arg2
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 Py_INCREF(Py_None
); resultobj
= Py_None
;
3711 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxGauge
*arg1
= (wxGauge
*) 0 ;
3715 PyObject
* obj0
= 0 ;
3717 (char *) "self", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_PyObj_FromInt((int)result
);
3736 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxGauge
*arg1
= (wxGauge
*) 0 ;
3740 PyObject
* obj0
= 0 ;
3741 PyObject
* obj1
= 0 ;
3743 (char *) "self",(char *) "pos", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3749 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->SetValue(arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3766 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxGauge
*arg1
= (wxGauge
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "self", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= SWIG_PyObj_FromInt((int)result
);
3791 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxGauge
*arg1
= (wxGauge
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3797 (char *) "self", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3816 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxGauge
*arg1
= (wxGauge
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3821 PyObject
* obj1
= 0 ;
3823 (char *) "self",(char *) "w", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3829 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 (arg1
)->SetShadowWidth(arg2
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3846 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxGauge
*arg1
= (wxGauge
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "self", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= SWIG_PyObj_FromInt((int)result
);
3871 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxGauge
*arg1
= (wxGauge
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "w", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3884 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->SetBezelFace(arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxGauge
*arg1
= (wxGauge
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3907 (char *) "self", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= SWIG_PyObj_FromInt((int)result
);
3926 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3929 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3931 return Py_BuildValue((char *)"");
3933 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3934 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3939 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3944 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3946 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3953 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3954 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3959 static PyObject
*_wrap_StaticBoxNameStr_get() {
3964 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3966 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3973 static int _wrap_StaticTextNameStr_set(PyObject
*) {
3974 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3979 static PyObject
*_wrap_StaticTextNameStr_get() {
3984 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3986 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3993 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxWindow
*arg1
= (wxWindow
*) 0 ;
3997 wxString
*arg3
= 0 ;
3998 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3999 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4000 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4001 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4002 long arg6
= (long) 0 ;
4003 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4004 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4005 wxStaticBox
*result
;
4006 bool temp3
= False
;
4009 bool temp7
= False
;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4012 PyObject
* obj2
= 0 ;
4013 PyObject
* obj3
= 0 ;
4014 PyObject
* obj4
= 0 ;
4015 PyObject
* obj5
= 0 ;
4016 PyObject
* obj6
= 0 ;
4018 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4024 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 arg3
= wxString_in_helper(obj2
);
4029 if (arg3
== NULL
) SWIG_fail
;
4035 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4041 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4046 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4052 arg7
= wxString_in_helper(obj6
);
4053 if (arg7
== NULL
) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= wxPyMake_wxObject(result
);
4089 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
;
4091 wxStaticBox
*result
;
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= (wxStaticBox
*)new wxStaticBox();
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4105 resultobj
= wxPyMake_wxObject(result
);
4113 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4115 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4116 wxWindow
*arg2
= (wxWindow
*) 0 ;
4118 wxString
*arg4
= 0 ;
4119 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4120 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4121 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4122 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4123 long arg7
= (long) 0 ;
4124 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4125 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4127 bool temp4
= False
;
4130 bool temp8
= False
;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4133 PyObject
* obj2
= 0 ;
4134 PyObject
* obj3
= 0 ;
4135 PyObject
* obj4
= 0 ;
4136 PyObject
* obj5
= 0 ;
4137 PyObject
* obj6
= 0 ;
4138 PyObject
* obj7
= 0 ;
4140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4145 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4147 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4151 arg4
= wxString_in_helper(obj3
);
4152 if (arg4
== NULL
) SWIG_fail
;
4158 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4164 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4169 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4175 arg8
= wxString_in_helper(obj7
);
4176 if (arg8
== NULL
) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4210 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4213 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4215 return Py_BuildValue((char *)"");
4217 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxWindow
*arg1
= (wxWindow
*) 0 ;
4221 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4222 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4223 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4224 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4225 long arg5
= (long) wxLI_HORIZONTAL
;
4226 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4227 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4228 wxStaticLine
*result
;
4231 bool temp6
= False
;
4232 PyObject
* obj0
= 0 ;
4233 PyObject
* obj1
= 0 ;
4234 PyObject
* obj2
= 0 ;
4235 PyObject
* obj3
= 0 ;
4236 PyObject
* obj4
= 0 ;
4237 PyObject
* obj5
= 0 ;
4239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4251 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4257 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4262 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4268 arg6
= wxString_in_helper(obj5
);
4269 if (arg6
== NULL
) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4295 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxStaticLine
*result
;
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (wxStaticLine
*)new wxStaticLine();
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4317 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
;
4319 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4320 wxWindow
*arg2
= (wxWindow
*) 0 ;
4322 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4323 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4324 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4325 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4326 long arg6
= (long) wxLI_HORIZONTAL
;
4327 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4328 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4332 bool temp7
= False
;
4333 PyObject
* obj0
= 0 ;
4334 PyObject
* obj1
= 0 ;
4335 PyObject
* obj2
= 0 ;
4336 PyObject
* obj3
= 0 ;
4337 PyObject
* obj4
= 0 ;
4338 PyObject
* obj5
= 0 ;
4339 PyObject
* obj6
= 0 ;
4341 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4348 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4354 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4360 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4365 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4371 arg7
= wxString_in_helper(obj6
);
4372 if (arg7
== NULL
) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4398 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4400 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4404 (char *) "self", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4423 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 result
= (int)wxStaticLine::GetDefaultSize();
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= SWIG_PyObj_FromInt((int)result
);
4445 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4448 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4450 return Py_BuildValue((char *)"");
4452 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxWindow
*arg1
= (wxWindow
*) 0 ;
4456 wxString
*arg3
= 0 ;
4457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4461 long arg6
= (long) 0 ;
4462 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4463 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4464 wxStaticText
*result
;
4465 bool temp3
= False
;
4468 bool temp7
= False
;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4471 PyObject
* obj2
= 0 ;
4472 PyObject
* obj3
= 0 ;
4473 PyObject
* obj4
= 0 ;
4474 PyObject
* obj5
= 0 ;
4475 PyObject
* obj6
= 0 ;
4477 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4483 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4487 arg3
= wxString_in_helper(obj2
);
4488 if (arg3
== NULL
) SWIG_fail
;
4494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4505 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4511 arg7
= wxString_in_helper(obj6
);
4512 if (arg7
== NULL
) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4546 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4548 wxStaticText
*result
;
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= (wxStaticText
*)new wxStaticText();
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4568 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4571 wxWindow
*arg2
= (wxWindow
*) 0 ;
4573 wxString
*arg4
= 0 ;
4574 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4575 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4576 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4577 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4578 long arg7
= (long) 0 ;
4579 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4580 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4582 bool temp4
= False
;
4585 bool temp8
= False
;
4586 PyObject
* obj0
= 0 ;
4587 PyObject
* obj1
= 0 ;
4588 PyObject
* obj2
= 0 ;
4589 PyObject
* obj3
= 0 ;
4590 PyObject
* obj4
= 0 ;
4591 PyObject
* obj5
= 0 ;
4592 PyObject
* obj6
= 0 ;
4593 PyObject
* obj7
= 0 ;
4595 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4602 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4606 arg4
= wxString_in_helper(obj3
);
4607 if (arg4
== NULL
) SWIG_fail
;
4613 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4619 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4624 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4630 arg8
= wxString_in_helper(obj7
);
4631 if (arg8
== NULL
) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4665 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4668 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4670 return Py_BuildValue((char *)"");
4672 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxWindow
*arg1
= (wxWindow
*) 0 ;
4676 wxBitmap
*arg3
= 0 ;
4677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4681 long arg6
= (long) 0 ;
4682 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4683 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4684 wxStaticBitmap
*result
;
4687 bool temp7
= False
;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj1
= 0 ;
4690 PyObject
* obj2
= 0 ;
4691 PyObject
* obj3
= 0 ;
4692 PyObject
* obj4
= 0 ;
4693 PyObject
* obj5
= 0 ;
4694 PyObject
* obj6
= 0 ;
4696 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4702 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4718 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4723 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4729 arg7
= wxString_in_helper(obj6
);
4730 if (arg7
== NULL
) SWIG_fail
;
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4756 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxStaticBitmap
*result
;
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4778 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4781 wxWindow
*arg2
= (wxWindow
*) 0 ;
4783 wxBitmap
*arg4
= 0 ;
4784 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4785 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4786 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4787 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4788 long arg7
= (long) 0 ;
4789 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4790 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4794 bool temp8
= False
;
4795 PyObject
* obj0
= 0 ;
4796 PyObject
* obj1
= 0 ;
4797 PyObject
* obj2
= 0 ;
4798 PyObject
* obj3
= 0 ;
4799 PyObject
* obj4
= 0 ;
4800 PyObject
* obj5
= 0 ;
4801 PyObject
* obj6
= 0 ;
4802 PyObject
* obj7
= 0 ;
4804 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4811 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4821 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4827 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4832 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4838 arg8
= wxString_in_helper(obj7
);
4839 if (arg8
== NULL
) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4865 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4871 (char *) "self", NULL
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (arg1
)->GetBitmap();
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4884 wxBitmap
* resultptr
;
4885 resultptr
= new wxBitmap((wxBitmap
&) result
);
4886 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4894 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4897 wxBitmap
*arg2
= 0 ;
4898 PyObject
* obj0
= 0 ;
4899 PyObject
* obj1
= 0 ;
4901 (char *) "self",(char *) "bitmap", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4906 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4908 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 Py_INCREF(Py_None
); resultobj
= Py_None
;
4924 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
;
4926 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4928 PyObject
* obj0
= 0 ;
4929 PyObject
* obj1
= 0 ;
4931 (char *) "self",(char *) "icon", NULL
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4938 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 Py_INCREF(Py_None
); resultobj
= Py_None
;
4954 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4957 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4959 return Py_BuildValue((char *)"");
4961 static int _wrap_ListBoxNameStr_set(PyObject
*) {
4962 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4967 static PyObject
*_wrap_ListBoxNameStr_get() {
4972 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4974 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4981 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxWindow
*arg1
= (wxWindow
*) 0 ;
4985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4989 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4990 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4991 long arg6
= (long) 0 ;
4992 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4993 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4994 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
4995 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4999 bool temp8
= False
;
5000 PyObject
* obj0
= 0 ;
5001 PyObject
* obj1
= 0 ;
5002 PyObject
* obj2
= 0 ;
5003 PyObject
* obj3
= 0 ;
5004 PyObject
* obj4
= 0 ;
5005 PyObject
* obj5
= 0 ;
5006 PyObject
* obj6
= 0 ;
5007 PyObject
* obj7
= 0 ;
5009 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5015 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5021 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5027 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5032 if (! PySequence_Check(obj4
)) {
5033 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5036 arg5
= new wxArrayString
;
5037 int i
, len
=PySequence_Length(obj4
);
5038 for (i
=0; i
<len
; i
++) {
5039 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5041 PyObject
* str
= PyObject_Unicode(item
);
5043 PyObject
* str
= PyObject_Str(item
);
5045 arg5
->Add(Py2wxString(str
));
5053 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5058 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5060 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5065 arg8
= wxString_in_helper(obj7
);
5066 if (arg8
== NULL
) SWIG_fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5079 if (arg5
) delete arg5
;
5088 if (arg5
) delete arg5
;
5098 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
;
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (wxListBox
*)new wxListBox();
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5120 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxListBox
*arg1
= (wxListBox
*) 0 ;
5123 wxWindow
*arg2
= (wxWindow
*) 0 ;
5125 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5126 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5127 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5128 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5129 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5130 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5131 long arg7
= (long) 0 ;
5132 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5133 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5134 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5135 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5139 bool temp9
= False
;
5140 PyObject
* obj0
= 0 ;
5141 PyObject
* obj1
= 0 ;
5142 PyObject
* obj2
= 0 ;
5143 PyObject
* obj3
= 0 ;
5144 PyObject
* obj4
= 0 ;
5145 PyObject
* obj5
= 0 ;
5146 PyObject
* obj6
= 0 ;
5147 PyObject
* obj7
= 0 ;
5148 PyObject
* obj8
= 0 ;
5150 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5157 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5163 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5169 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5174 if (! PySequence_Check(obj5
)) {
5175 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5178 arg6
= new wxArrayString
;
5179 int i
, len
=PySequence_Length(obj5
);
5180 for (i
=0; i
<len
; i
++) {
5181 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5183 PyObject
* str
= PyObject_Unicode(item
);
5185 PyObject
* str
= PyObject_Str(item
);
5187 arg6
->Add(Py2wxString(str
));
5195 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5200 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5207 arg9
= wxString_in_helper(obj8
);
5208 if (arg9
== NULL
) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5221 if (arg6
) delete arg6
;
5230 if (arg6
) delete arg6
;
5240 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
;
5242 wxListBox
*arg1
= (wxListBox
*) 0 ;
5243 wxString
*arg2
= 0 ;
5245 PyObject
*arg4
= (PyObject
*) NULL
;
5246 bool temp2
= False
;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5249 PyObject
* obj2
= 0 ;
5250 PyObject
* obj3
= 0 ;
5252 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5258 arg2
= wxString_in_helper(obj1
);
5259 if (arg2
== NULL
) SWIG_fail
;
5263 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 Py_INCREF(Py_None
); resultobj
= Py_None
;
5291 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxListBox
*arg1
= (wxListBox
*) 0 ;
5294 wxArrayString
*arg2
= 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5298 PyObject
* obj2
= 0 ;
5300 (char *) "self",(char *) "items",(char *) "pos", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5306 if (! PySequence_Check(obj1
)) {
5307 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5310 arg2
= new wxArrayString
;
5311 int i
, len
=PySequence_Length(obj1
);
5312 for (i
=0; i
<len
; i
++) {
5313 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5315 PyObject
* str
= PyObject_Unicode(item
);
5317 PyObject
* str
= PyObject_Str(item
);
5319 arg2
->Add(Py2wxString(str
));
5325 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 Py_INCREF(Py_None
); resultobj
= Py_None
;
5337 if (arg2
) delete arg2
;
5342 if (arg2
) delete arg2
;
5348 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxListBox
*arg1
= (wxListBox
*) 0 ;
5351 wxArrayString
*arg2
= 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5355 (char *) "self",(char *) "items", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5361 if (! PySequence_Check(obj1
)) {
5362 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5365 arg2
= new wxArrayString
;
5366 int i
, len
=PySequence_Length(obj1
);
5367 for (i
=0; i
<len
; i
++) {
5368 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5370 PyObject
* str
= PyObject_Unicode(item
);
5372 PyObject
* str
= PyObject_Str(item
);
5374 arg2
->Add(Py2wxString(str
));
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->Set((wxArrayString
const &)*arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 if (arg2
) delete arg2
;
5393 if (arg2
) delete arg2
;
5399 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxListBox
*arg1
= (wxListBox
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5407 (char *) "self",(char *) "n", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5413 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5430 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxListBox
*arg1
= (wxListBox
*) 0 ;
5434 bool arg3
= (bool) True
;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 PyObject
* obj2
= 0 ;
5439 (char *) "self",(char *) "n",(char *) "select", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5450 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->SetSelection(arg2
,arg3
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5468 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxListBox
*arg1
= (wxListBox
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5475 (char *) "self",(char *) "n", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5481 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 (arg1
)->Select(arg2
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 Py_INCREF(Py_None
); resultobj
= Py_None
;
5498 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxListBox
*arg1
= (wxListBox
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5505 (char *) "self",(char *) "n", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5511 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 (arg1
)->Deselect(arg2
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 Py_INCREF(Py_None
); resultobj
= Py_None
;
5528 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxListBox
*arg1
= (wxListBox
*) 0 ;
5531 int arg2
= (int) -1 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5535 (char *) "self",(char *) "itemToLeaveSelected", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 (arg1
)->DeselectAll(arg2
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 Py_INCREF(Py_None
); resultobj
= Py_None
;
5560 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxListBox
*arg1
= (wxListBox
*) 0 ;
5563 wxString
*arg2
= 0 ;
5564 bool arg3
= (bool) True
;
5566 bool temp2
= False
;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 PyObject
* obj2
= 0 ;
5571 (char *) "self",(char *) "s",(char *) "select", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5577 arg2
= wxString_in_helper(obj1
);
5578 if (arg2
== NULL
) SWIG_fail
;
5583 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5609 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxListBox
*arg1
= (wxListBox
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5615 (char *) "self", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5634 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxListBox
*arg1
= (wxListBox
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5641 (char *) "self",(char *) "n", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 (arg1
)->SetFirstItem(arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 Py_INCREF(Py_None
); resultobj
= Py_None
;
5664 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxListBox
*arg1
= (wxListBox
*) 0 ;
5667 wxString
*arg2
= 0 ;
5668 bool temp2
= False
;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5672 (char *) "self",(char *) "s", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5678 arg2
= wxString_in_helper(obj1
);
5679 if (arg2
== NULL
) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 Py_INCREF(Py_None
); resultobj
= Py_None
;
5704 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxListBox
*arg1
= (wxListBox
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5711 (char *) "self",(char *) "n", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5717 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 (arg1
)->EnsureVisible(arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 Py_INCREF(Py_None
); resultobj
= Py_None
;
5734 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxListBox
*arg1
= (wxListBox
*) 0 ;
5737 wxString
*arg2
= 0 ;
5738 bool temp2
= False
;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5742 (char *) "self",(char *) "s", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5748 arg2
= wxString_in_helper(obj1
);
5749 if (arg2
== NULL
) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 Py_INCREF(Py_None
); resultobj
= Py_None
;
5774 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxListBox
*arg1
= (wxListBox
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5799 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5802 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5804 return Py_BuildValue((char *)"");
5806 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxWindow
*arg1
= (wxWindow
*) 0 ;
5810 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5811 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5812 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5813 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5814 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5815 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5816 long arg6
= (long) 0 ;
5817 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5818 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5819 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5820 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5821 wxCheckListBox
*result
;
5824 bool temp8
= False
;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5827 PyObject
* obj2
= 0 ;
5828 PyObject
* obj3
= 0 ;
5829 PyObject
* obj4
= 0 ;
5830 PyObject
* obj5
= 0 ;
5831 PyObject
* obj6
= 0 ;
5832 PyObject
* obj7
= 0 ;
5834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5840 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5852 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5857 if (! PySequence_Check(obj4
)) {
5858 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5861 arg5
= new wxArrayString
;
5862 int i
, len
=PySequence_Length(obj4
);
5863 for (i
=0; i
<len
; i
++) {
5864 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5866 PyObject
* str
= PyObject_Unicode(item
);
5868 PyObject
* str
= PyObject_Str(item
);
5870 arg5
->Add(Py2wxString(str
));
5878 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5883 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5885 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5890 arg8
= wxString_in_helper(obj7
);
5891 if (arg8
== NULL
) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5904 if (arg5
) delete arg5
;
5913 if (arg5
) delete arg5
;
5923 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxCheckListBox
*result
;
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (wxCheckListBox
*)new wxCheckListBox();
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5945 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5947 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5948 wxWindow
*arg2
= (wxWindow
*) 0 ;
5950 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5951 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5952 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5953 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5954 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5955 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5956 long arg7
= (long) 0 ;
5957 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5958 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5959 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5960 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5964 bool temp9
= False
;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5967 PyObject
* obj2
= 0 ;
5968 PyObject
* obj3
= 0 ;
5969 PyObject
* obj4
= 0 ;
5970 PyObject
* obj5
= 0 ;
5971 PyObject
* obj6
= 0 ;
5972 PyObject
* obj7
= 0 ;
5973 PyObject
* obj8
= 0 ;
5975 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5980 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5982 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5988 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5994 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5999 if (! PySequence_Check(obj5
)) {
6000 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6003 arg6
= new wxArrayString
;
6004 int i
, len
=PySequence_Length(obj5
);
6005 for (i
=0; i
<len
; i
++) {
6006 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6008 PyObject
* str
= PyObject_Unicode(item
);
6010 PyObject
* str
= PyObject_Str(item
);
6012 arg6
->Add(Py2wxString(str
));
6020 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6025 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6032 arg9
= wxString_in_helper(obj8
);
6033 if (arg9
== NULL
) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6046 if (arg6
) delete arg6
;
6055 if (arg6
) delete arg6
;
6065 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6070 PyObject
* obj0
= 0 ;
6071 PyObject
* obj1
= 0 ;
6073 (char *) "self",(char *) "index", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6079 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (bool)(arg1
)->IsChecked(arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6096 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
;
6098 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6100 int arg3
= (int) True
;
6101 PyObject
* obj0
= 0 ;
6102 PyObject
* obj1
= 0 ;
6103 PyObject
* obj2
= 0 ;
6105 (char *) "self",(char *) "index",(char *) "check", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6111 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6116 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 (arg1
)->Check(arg2
,arg3
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 Py_INCREF(Py_None
); resultobj
= Py_None
;
6134 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6140 (char *) "self", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 result
= (int)(arg1
)->GetItemHeight();
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= SWIG_PyObj_FromInt((int)result
);
6159 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj1
= 0 ;
6168 (char *) "self",(char *) "pt", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= SWIG_PyObj_FromInt((int)result
);
6191 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 PyObject
* obj2
= 0 ;
6201 (char *) "self",(char *) "x",(char *) "y", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6211 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= SWIG_PyObj_FromInt((int)result
);
6228 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6231 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6233 return Py_BuildValue((char *)"");
6235 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6236 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6241 static PyObject
*_wrap_TextCtrlNameStr_get() {
6246 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6248 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6255 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6256 PyObject
*resultobj
;
6259 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (wxTextAttr
*)new wxTextAttr();
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6274 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6275 PyObject
*resultobj
;
6276 wxColour
*arg1
= 0 ;
6277 wxColour
const &arg2_defvalue
= wxNullColour
;
6278 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6279 wxFont
const &arg3_defvalue
= wxNullFont
;
6280 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6281 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6285 PyObject
* obj0
= 0 ;
6286 PyObject
* obj1
= 0 ;
6287 PyObject
* obj2
= 0 ;
6288 PyObject
* obj3
= 0 ;
6290 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6293 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6298 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6302 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6309 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6327 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6332 argc
= PyObject_Length(args
);
6333 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6334 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6337 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6339 if ((argc
>= 1) && (argc
<= 4)) {
6342 _v
= wxColour_typecheck(argv
[0]);
6346 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6349 _v
= wxColour_typecheck(argv
[1]);
6353 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6357 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6366 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6369 SWIG_PyObj_AsInt(argv
[3]);
6370 if (PyErr_Occurred()) {
6378 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6385 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6390 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 Py_INCREF(Py_None
); resultobj
= Py_None
;
6414 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 Py_INCREF(Py_None
); resultobj
= Py_None
;
6438 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6441 wxColour
*arg2
= 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6446 (char *) "self",(char *) "colText", NULL
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6472 wxColour
*arg2
= 0 ;
6474 PyObject
* obj0
= 0 ;
6475 PyObject
* obj1
= 0 ;
6477 (char *) "self",(char *) "colBack", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 Py_INCREF(Py_None
); resultobj
= Py_None
;
6500 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6504 long arg3
= (long) wxTEXT_ATTR_FONT
;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6507 PyObject
* obj2
= 0 ;
6509 (char *) "self",(char *) "font",(char *) "flags", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6520 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 Py_INCREF(Py_None
); resultobj
= Py_None
;
6538 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6545 (char *) "self",(char *) "alignment", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6551 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 Py_INCREF(Py_None
); resultobj
= Py_None
;
6568 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6571 wxArrayInt
*arg2
= 0 ;
6572 PyObject
* obj0
= 0 ;
6573 PyObject
* obj1
= 0 ;
6575 (char *) "self",(char *) "tabs", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6581 if (! PySequence_Check(obj1
)) {
6582 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6585 arg2
= new wxArrayInt
;
6586 int i
, len
=PySequence_Length(obj1
);
6587 for (i
=0; i
<len
; i
++) {
6588 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6589 PyObject
* number
= PyNumber_Int(item
);
6590 arg2
->Add(PyInt_AS_LONG(number
));
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 if (arg2
) delete arg2
;
6609 if (arg2
) delete arg2
;
6615 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6619 PyObject
* obj0
= 0 ;
6620 PyObject
* obj1
= 0 ;
6622 (char *) "self",(char *) "indent", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 (arg1
)->SetLeftIndent(arg2
);
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 Py_INCREF(Py_None
); resultobj
= Py_None
;
6645 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6652 (char *) "self",(char *) "indent", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 (arg1
)->SetRightIndent(arg2
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 Py_INCREF(Py_None
); resultobj
= Py_None
;
6675 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6682 (char *) "self",(char *) "flags", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6688 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 (arg1
)->SetFlags(arg2
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 Py_INCREF(Py_None
); resultobj
= Py_None
;
6705 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "self", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6730 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6736 (char *) "self", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6755 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6759 PyObject
* obj0
= 0 ;
6761 (char *) "self", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6780 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6784 PyObject
* obj0
= 0 ;
6786 (char *) "self", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6805 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6811 (char *) "self", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6830 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6834 PyObject
* obj0
= 0 ;
6836 (char *) "self", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6855 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6861 (char *) "self", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6880 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "flag", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6894 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6911 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6917 (char *) "self", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6926 result
= (wxColour
*) &_result_ref
;
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6939 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6943 PyObject
* obj0
= 0 ;
6945 (char *) "self", NULL
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6954 result
= (wxColour
*) &_result_ref
;
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6967 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
;
6969 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6971 PyObject
* obj0
= 0 ;
6973 (char *) "self", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6982 result
= (wxFont
*) &_result_ref
;
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6995 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6999 PyObject
* obj0
= 0 ;
7001 (char *) "self", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_PyObj_FromInt((int)result
);
7020 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7024 PyObject
* obj0
= 0 ;
7026 (char *) "self", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7035 result
= (wxArrayInt
*) &_result_ref
;
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= PyList_New(0);
7044 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7045 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7046 PyList_Append(resultobj
, val
);
7056 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7062 (char *) "self", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_PyObj_FromLong((long)result
);
7081 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7085 PyObject
* obj0
= 0 ;
7087 (char *) "self", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_PyObj_FromLong((long)result
);
7106 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7110 PyObject
* obj0
= 0 ;
7112 (char *) "self", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_PyObj_FromLong((long)result
);
7131 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "self", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7156 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxTextAttr
*arg1
= 0 ;
7159 wxTextAttr
*arg2
= 0 ;
7160 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7164 PyObject
* obj2
= 0 ;
7166 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7174 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7176 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7178 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7187 wxTextAttr
* resultptr
;
7188 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7189 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7197 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7200 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7202 return Py_BuildValue((char *)"");
7204 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxWindow
*arg1
= (wxWindow
*) 0 ;
7208 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7209 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7210 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7211 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7212 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7213 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7214 long arg6
= (long) 0 ;
7215 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7216 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7217 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7218 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7220 bool temp3
= False
;
7223 bool temp8
= False
;
7224 PyObject
* obj0
= 0 ;
7225 PyObject
* obj1
= 0 ;
7226 PyObject
* obj2
= 0 ;
7227 PyObject
* obj3
= 0 ;
7228 PyObject
* obj4
= 0 ;
7229 PyObject
* obj5
= 0 ;
7230 PyObject
* obj6
= 0 ;
7231 PyObject
* obj7
= 0 ;
7233 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7239 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7244 arg3
= wxString_in_helper(obj2
);
7245 if (arg3
== NULL
) SWIG_fail
;
7252 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7258 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7263 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7268 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7275 arg8
= wxString_in_helper(obj7
);
7276 if (arg8
== NULL
) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= wxPyMake_wxObject(result
);
7312 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (wxTextCtrl
*)new wxTextCtrl();
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= wxPyMake_wxObject(result
);
7336 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
;
7338 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7339 wxWindow
*arg2
= (wxWindow
*) 0 ;
7341 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7342 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7343 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7344 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7345 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7346 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7347 long arg7
= (long) 0 ;
7348 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7349 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7350 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7351 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7353 bool temp4
= False
;
7356 bool temp9
= False
;
7357 PyObject
* obj0
= 0 ;
7358 PyObject
* obj1
= 0 ;
7359 PyObject
* obj2
= 0 ;
7360 PyObject
* obj3
= 0 ;
7361 PyObject
* obj4
= 0 ;
7362 PyObject
* obj5
= 0 ;
7363 PyObject
* obj6
= 0 ;
7364 PyObject
* obj7
= 0 ;
7365 PyObject
* obj8
= 0 ;
7367 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7374 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7379 arg4
= wxString_in_helper(obj3
);
7380 if (arg4
== NULL
) SWIG_fail
;
7387 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7393 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7398 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7403 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7405 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7410 arg9
= wxString_in_helper(obj8
);
7411 if (arg9
== NULL
) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7445 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7451 (char *) "self", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7476 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
;
7478 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7479 wxString
*arg2
= 0 ;
7480 bool temp2
= False
;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7484 (char *) "self",(char *) "value", NULL
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7490 arg2
= wxString_in_helper(obj1
);
7491 if (arg2
== NULL
) SWIG_fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 (arg1
)->SetValue((wxString
const &)*arg2
);
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 Py_INCREF(Py_None
); resultobj
= Py_None
;
7516 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7522 PyObject
* obj0
= 0 ;
7523 PyObject
* obj1
= 0 ;
7524 PyObject
* obj2
= 0 ;
7526 (char *) "self",(char *) "from",(char *) "to", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7532 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7536 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7559 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
;
7561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7564 PyObject
* obj0
= 0 ;
7565 PyObject
* obj1
= 0 ;
7567 (char *) "self",(char *) "lineNo", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7573 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_PyObj_FromInt((int)result
);
7590 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7596 PyObject
* obj1
= 0 ;
7598 (char *) "self",(char *) "lineNo", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7604 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7627 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7633 (char *) "self", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_PyObj_FromInt((int)result
);
7652 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7656 PyObject
* obj0
= 0 ;
7658 (char *) "self", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7677 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7683 (char *) "self", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7702 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7708 (char *) "self", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7727 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7752 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7755 long *arg2
= (long *) 0 ;
7756 long *arg3
= (long *) 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "self", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 Py_INCREF(Py_None
); resultobj
= Py_None
;
7777 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7778 resultobj
= t_output_helper(resultobj
,o
);
7781 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7782 resultobj
= t_output_helper(resultobj
,o
);
7790 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "self", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7821 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7826 (char *) "self", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 Py_INCREF(Py_None
); resultobj
= Py_None
;
7845 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7850 wxString
*arg4
= 0 ;
7851 bool temp4
= False
;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7854 PyObject
* obj2
= 0 ;
7855 PyObject
* obj3
= 0 ;
7857 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7863 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7867 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 arg4
= wxString_in_helper(obj3
);
7872 if (arg4
== NULL
) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 Py_INCREF(Py_None
); resultobj
= Py_None
;
7897 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7902 PyObject
* obj0
= 0 ;
7903 PyObject
* obj1
= 0 ;
7904 PyObject
* obj2
= 0 ;
7906 (char *) "self",(char *) "from",(char *) "to", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7912 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7916 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 (arg1
)->Remove(arg2
,arg3
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 Py_INCREF(Py_None
); resultobj
= Py_None
;
7933 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7936 wxString
*arg2
= 0 ;
7938 bool temp2
= False
;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7942 (char *) "self",(char *) "file", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7948 arg2
= wxString_in_helper(obj1
);
7949 if (arg2
== NULL
) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7974 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7977 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7978 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7980 bool temp2
= False
;
7981 PyObject
* obj0
= 0 ;
7982 PyObject
* obj1
= 0 ;
7984 (char *) "self",(char *) "file", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7991 arg2
= wxString_in_helper(obj1
);
7992 if (arg2
== NULL
) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8018 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
;
8020 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "self", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 (arg1
)->MarkDirty();
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 Py_INCREF(Py_None
); resultobj
= Py_None
;
8042 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8047 (char *) "self", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 (arg1
)->DiscardEdits();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 Py_INCREF(Py_None
); resultobj
= Py_None
;
8066 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8069 unsigned long arg2
;
8070 PyObject
* obj0
= 0 ;
8071 PyObject
* obj1
= 0 ;
8073 (char *) "self",(char *) "len", NULL
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8079 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 (arg1
)->SetMaxLength(arg2
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8099 wxString
*arg2
= 0 ;
8100 bool temp2
= False
;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8104 (char *) "self",(char *) "text", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8110 arg2
= wxString_in_helper(obj1
);
8111 if (arg2
== NULL
) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 (arg1
)->WriteText((wxString
const &)*arg2
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8139 wxString
*arg2
= 0 ;
8140 bool temp2
= False
;
8141 PyObject
* obj0
= 0 ;
8142 PyObject
* obj1
= 0 ;
8144 (char *) "self",(char *) "text", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8150 arg2
= wxString_in_helper(obj1
);
8151 if (arg2
== NULL
) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 (arg1
)->AppendText((wxString
const &)*arg2
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 Py_INCREF(Py_None
); resultobj
= Py_None
;
8176 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8179 wxKeyEvent
*arg2
= 0 ;
8181 PyObject
* obj0
= 0 ;
8182 PyObject
* obj1
= 0 ;
8184 (char *) "self",(char *) "event", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8207 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8212 wxTextAttr
*arg4
= 0 ;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8216 PyObject
* obj2
= 0 ;
8217 PyObject
* obj3
= 0 ;
8219 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8225 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8229 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8234 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8250 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8254 wxTextAttr
*arg3
= 0 ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8258 PyObject
* obj2
= 0 ;
8260 (char *) "self",(char *) "position",(char *) "style", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8266 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8271 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8287 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8290 wxTextAttr
*arg2
= 0 ;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8295 (char *) "self",(char *) "style", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8318 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8324 (char *) "self", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8333 result
= (wxTextAttr
*) &_result_ref
;
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8346 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8354 PyObject
* obj2
= 0 ;
8356 (char *) "self",(char *) "x",(char *) "y", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8362 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8366 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= SWIG_PyObj_FromLong((long)result
);
8383 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8387 long *arg3
= (long *) 0 ;
8388 long *arg4
= (long *) 0 ;
8391 PyObject
* obj0
= 0 ;
8392 PyObject
* obj1
= 0 ;
8394 (char *) "self",(char *) "pos", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8402 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 Py_INCREF(Py_None
); resultobj
= Py_None
;
8414 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8415 resultobj
= t_output_helper(resultobj
,o
);
8418 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8419 resultobj
= t_output_helper(resultobj
,o
);
8427 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8431 PyObject
* obj0
= 0 ;
8432 PyObject
* obj1
= 0 ;
8434 (char *) "self",(char *) "pos", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8440 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 (arg1
)->ShowPosition(arg2
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8461 long *arg3
= (long *) 0 ;
8462 long *arg4
= (long *) 0 ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8470 (char *) "self",(char *) "pt", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_PyObj_FromInt((int)result
);
8490 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8491 resultobj
= t_output_helper(resultobj
,o
);
8494 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8495 resultobj
= t_output_helper(resultobj
,o
);
8503 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8506 PyObject
* obj0
= 0 ;
8508 (char *) "self", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 Py_INCREF(Py_None
); resultobj
= Py_None
;
8527 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8530 PyObject
* obj0
= 0 ;
8532 (char *) "self", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 Py_INCREF(Py_None
); resultobj
= Py_None
;
8551 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8556 (char *) "self", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 Py_INCREF(Py_None
); resultobj
= Py_None
;
8575 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8579 PyObject
* obj0
= 0 ;
8581 (char *) "self", NULL
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8600 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8604 PyObject
* obj0
= 0 ;
8606 (char *) "self", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8625 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8629 PyObject
* obj0
= 0 ;
8631 (char *) "self", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8650 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
;
8652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8655 (char *) "self", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 Py_INCREF(Py_None
); resultobj
= Py_None
;
8674 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8677 PyObject
* obj0
= 0 ;
8679 (char *) "self", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 Py_INCREF(Py_None
); resultobj
= Py_None
;
8698 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
;
8700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8702 PyObject
* obj0
= 0 ;
8704 (char *) "self", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8723 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8727 PyObject
* obj0
= 0 ;
8729 (char *) "self", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8748 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8755 (char *) "self",(char *) "pos", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8761 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 (arg1
)->SetInsertionPoint(arg2
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8783 (char *) "self", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 (arg1
)->SetInsertionPointEnd();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 Py_INCREF(Py_None
); resultobj
= Py_None
;
8802 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8806 PyObject
* obj0
= 0 ;
8808 (char *) "self", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= SWIG_PyObj_FromLong((long)result
);
8827 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8831 PyObject
* obj0
= 0 ;
8833 (char *) "self", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_PyObj_FromLong((long)result
);
8852 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8857 PyObject
* obj0
= 0 ;
8858 PyObject
* obj1
= 0 ;
8859 PyObject
* obj2
= 0 ;
8861 (char *) "self",(char *) "from",(char *) "to", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8867 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8871 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 (arg1
)->SetSelection(arg2
,arg3
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 Py_INCREF(Py_None
); resultobj
= Py_None
;
8888 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8893 (char *) "self", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 (arg1
)->SelectAll();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8919 (char *) "self",(char *) "editable", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8925 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 (arg1
)->SetEditable(arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 Py_INCREF(Py_None
); resultobj
= Py_None
;
8942 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8945 bool arg2
= (bool) True
;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8950 (char *) "self",(char *) "show", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8957 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8975 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8979 PyObject
* obj0
= 0 ;
8981 (char *) "self", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (bool)(arg1
)->HideNativeCaret();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9000 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9003 wxString
*arg2
= 0 ;
9004 bool temp2
= False
;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9008 (char *) "self",(char *) "text", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9014 arg2
= wxString_in_helper(obj1
);
9015 if (arg2
== NULL
) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9048 PyObject
* obj2
= 0 ;
9050 (char *) "self",(char *) "from",(char *) "to", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9056 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9060 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9083 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9086 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9088 return Py_BuildValue((char *)"");
9090 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9093 wxMouseEvent
*arg2
= 0 ;
9096 wxTextUrlEvent
*result
;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 PyObject
* obj3
= 0 ;
9102 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9107 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9115 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9119 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9136 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9139 wxMouseEvent
*result
;
9140 PyObject
* obj0
= 0 ;
9142 (char *) "self", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9151 result
= (wxMouseEvent
*) &_result_ref
;
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9164 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9168 PyObject
* obj0
= 0 ;
9170 (char *) "self", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= SWIG_PyObj_FromLong((long)result
);
9189 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9191 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9193 PyObject
* obj0
= 0 ;
9195 (char *) "self", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_PyObj_FromLong((long)result
);
9214 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9217 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9219 return Py_BuildValue((char *)"");
9221 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9222 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9227 static PyObject
*_wrap_ScrollBarNameStr_get() {
9232 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9234 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9241 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxWindow
*arg1
= (wxWindow
*) 0 ;
9244 int arg2
= (int) -1 ;
9245 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9246 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9247 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9248 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9249 long arg5
= (long) wxSB_HORIZONTAL
;
9250 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9251 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9252 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9253 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9254 wxScrollBar
*result
;
9257 bool temp7
= False
;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9260 PyObject
* obj2
= 0 ;
9261 PyObject
* obj3
= 0 ;
9262 PyObject
* obj4
= 0 ;
9263 PyObject
* obj5
= 0 ;
9264 PyObject
* obj6
= 0 ;
9266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9273 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9280 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9286 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9291 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9296 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9303 arg7
= wxString_in_helper(obj6
);
9304 if (arg7
== NULL
) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9330 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxScrollBar
*result
;
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (wxScrollBar
*)new wxScrollBar();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9352 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9355 wxWindow
*arg2
= (wxWindow
*) 0 ;
9356 int arg3
= (int) -1 ;
9357 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9358 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9359 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9360 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9361 long arg6
= (long) wxSB_HORIZONTAL
;
9362 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9363 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9364 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9365 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9369 bool temp8
= False
;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9372 PyObject
* obj2
= 0 ;
9373 PyObject
* obj3
= 0 ;
9374 PyObject
* obj4
= 0 ;
9375 PyObject
* obj5
= 0 ;
9376 PyObject
* obj6
= 0 ;
9377 PyObject
* obj7
= 0 ;
9379 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9387 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9405 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9410 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9412 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9417 arg8
= wxString_in_helper(obj7
);
9418 if (arg8
== NULL
) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9444 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9446 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9448 PyObject
* obj0
= 0 ;
9450 (char *) "self", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_PyObj_FromInt((int)result
);
9469 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
*resultobj
;
9471 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9475 (char *) "self", NULL
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_PyObj_FromInt((int)result
);
9494 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_PyObj_FromInt((int)result
);
9519 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
;
9521 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9525 (char *) "self", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_PyObj_FromInt((int)result
);
9544 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9550 (char *) "self", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9569 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9576 (char *) "self",(char *) "viewStart", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9582 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 (arg1
)->SetThumbPosition(arg2
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 Py_INCREF(Py_None
); resultobj
= Py_None
;
9599 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9606 bool arg6
= (bool) True
;
9607 PyObject
* obj0
= 0 ;
9608 PyObject
* obj1
= 0 ;
9609 PyObject
* obj2
= 0 ;
9610 PyObject
* obj3
= 0 ;
9611 PyObject
* obj4
= 0 ;
9612 PyObject
* obj5
= 0 ;
9614 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9620 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9624 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9628 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9632 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9637 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 Py_INCREF(Py_None
); resultobj
= Py_None
;
9655 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9658 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9660 return Py_BuildValue((char *)"");
9662 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9663 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9668 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9673 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9675 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9682 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9683 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9688 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9693 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9695 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9702 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxWindow
*arg1
= (wxWindow
*) 0 ;
9705 int arg2
= (int) -1 ;
9706 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9707 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9708 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9709 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9710 long arg5
= (long) wxSP_HORIZONTAL
;
9711 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9712 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9713 wxSpinButton
*result
;
9716 bool temp6
= False
;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9719 PyObject
* obj2
= 0 ;
9720 PyObject
* obj3
= 0 ;
9721 PyObject
* obj4
= 0 ;
9722 PyObject
* obj5
= 0 ;
9724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9731 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9738 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9744 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9749 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9755 arg6
= wxString_in_helper(obj5
);
9756 if (arg6
== NULL
) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9782 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxSpinButton
*result
;
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (wxSpinButton
*)new wxSpinButton();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9804 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9807 wxWindow
*arg2
= (wxWindow
*) 0 ;
9808 int arg3
= (int) -1 ;
9809 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9810 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9811 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9812 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9813 long arg6
= (long) wxSP_HORIZONTAL
;
9814 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9815 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9819 bool temp7
= False
;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9822 PyObject
* obj2
= 0 ;
9823 PyObject
* obj3
= 0 ;
9824 PyObject
* obj4
= 0 ;
9825 PyObject
* obj5
= 0 ;
9826 PyObject
* obj6
= 0 ;
9828 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9836 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9843 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9849 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9854 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9860 arg7
= wxString_in_helper(obj6
);
9861 if (arg7
== NULL
) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9887 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_PyObj_FromInt((int)result
);
9912 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9918 (char *) "self", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_PyObj_FromInt((int)result
);
9937 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= SWIG_PyObj_FromInt((int)result
);
9962 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9969 (char *) "self",(char *) "val", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9975 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 (arg1
)->SetValue(arg2
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 Py_INCREF(Py_None
); resultobj
= Py_None
;
9992 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9997 PyObject
* obj1
= 0 ;
9999 (char *) "self",(char *) "minVal", NULL
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 (arg1
)->SetMin(arg2
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 Py_INCREF(Py_None
); resultobj
= Py_None
;
10022 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self",(char *) "maxVal", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10035 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 (arg1
)->SetMax(arg2
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 Py_INCREF(Py_None
); resultobj
= Py_None
;
10052 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 PyObject
* obj2
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10067 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10071 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 (arg1
)->SetRange(arg2
,arg3
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 Py_INCREF(Py_None
); resultobj
= Py_None
;
10088 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10113 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10116 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10118 return Py_BuildValue((char *)"");
10120 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxWindow
*arg1
= (wxWindow
*) 0 ;
10123 int arg2
= (int) -1 ;
10124 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10125 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10126 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10127 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10128 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10129 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10130 long arg6
= (long) wxSP_ARROW_KEYS
;
10131 int arg7
= (int) 0 ;
10132 int arg8
= (int) 100 ;
10133 int arg9
= (int) 0 ;
10134 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10135 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10136 wxSpinCtrl
*result
;
10137 bool temp3
= False
;
10140 bool temp10
= False
;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 PyObject
* obj2
= 0 ;
10144 PyObject
* obj3
= 0 ;
10145 PyObject
* obj4
= 0 ;
10146 PyObject
* obj5
= 0 ;
10147 PyObject
* obj6
= 0 ;
10148 PyObject
* obj7
= 0 ;
10149 PyObject
* obj8
= 0 ;
10150 PyObject
* obj9
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10159 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10165 arg3
= wxString_in_helper(obj2
);
10166 if (arg3
== NULL
) SWIG_fail
;
10173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10184 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10190 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10196 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10202 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10208 arg10
= wxString_in_helper(obj9
);
10209 if (arg10
== NULL
) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10243 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxSpinCtrl
*result
;
10246 char *kwnames
[] = {
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10265 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10268 wxWindow
*arg2
= (wxWindow
*) 0 ;
10269 int arg3
= (int) -1 ;
10270 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10271 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10272 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10273 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10274 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10275 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10276 long arg7
= (long) wxSP_ARROW_KEYS
;
10277 int arg8
= (int) 0 ;
10278 int arg9
= (int) 100 ;
10279 int arg10
= (int) 0 ;
10280 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10281 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10283 bool temp4
= False
;
10286 bool temp11
= False
;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 PyObject
* obj2
= 0 ;
10290 PyObject
* obj3
= 0 ;
10291 PyObject
* obj4
= 0 ;
10292 PyObject
* obj5
= 0 ;
10293 PyObject
* obj6
= 0 ;
10294 PyObject
* obj7
= 0 ;
10295 PyObject
* obj8
= 0 ;
10296 PyObject
* obj9
= 0 ;
10297 PyObject
* obj10
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10307 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10313 arg4
= wxString_in_helper(obj3
);
10314 if (arg4
== NULL
) SWIG_fail
;
10321 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10327 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10332 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10338 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10344 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10350 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10356 arg11
= wxString_in_helper(obj10
);
10357 if (arg11
== NULL
) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10391 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10395 PyObject
* obj0
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_PyObj_FromInt((int)result
);
10416 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self",(char *) "value", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10429 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->SetValue(arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10449 wxString
*arg2
= 0 ;
10450 bool temp2
= False
;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self",(char *) "text", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10460 arg2
= wxString_in_helper(obj1
);
10461 if (arg2
== NULL
) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 (arg1
)->SetValue((wxString
const &)*arg2
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 Py_INCREF(Py_None
); resultobj
= Py_None
;
10486 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
;
10488 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 PyObject
* obj2
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 (arg1
)->SetRange(arg2
,arg3
);
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 Py_INCREF(Py_None
); resultobj
= Py_None
;
10522 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
;
10524 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10526 PyObject
* obj0
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_PyObj_FromInt((int)result
);
10547 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
;
10549 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10551 PyObject
* obj0
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_PyObj_FromInt((int)result
);
10572 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 PyObject
* obj2
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self",(char *) "from",(char *) "to", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10587 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 (arg1
)->SetSelection(arg2
,arg3
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10611 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10613 return Py_BuildValue((char *)"");
10615 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10618 int arg2
= (int) 0 ;
10619 wxSpinEvent
*result
;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "commandType",(char *) "winid", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10629 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10635 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10653 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10657 PyObject
* obj0
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= SWIG_PyObj_FromInt((int)result
);
10678 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "self",(char *) "pos", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10691 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 (arg1
)->SetPosition(arg2
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 Py_INCREF(Py_None
); resultobj
= Py_None
;
10708 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10711 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10713 return Py_BuildValue((char *)"");
10715 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10716 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10721 static PyObject
*_wrap_RadioBoxNameStr_get() {
10726 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10728 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10735 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10736 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10741 static PyObject
*_wrap_RadioButtonNameStr_get() {
10746 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10748 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10755 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxWindow
*arg1
= (wxWindow
*) 0 ;
10759 wxString
*arg3
= 0 ;
10760 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10761 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10762 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10763 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10764 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10765 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10766 int arg7
= (int) 0 ;
10767 long arg8
= (long) wxRA_HORIZONTAL
;
10768 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10769 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10770 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10771 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10772 wxRadioBox
*result
;
10773 bool temp3
= False
;
10776 bool temp10
= False
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 PyObject
* obj2
= 0 ;
10780 PyObject
* obj3
= 0 ;
10781 PyObject
* obj4
= 0 ;
10782 PyObject
* obj5
= 0 ;
10783 PyObject
* obj6
= 0 ;
10784 PyObject
* obj7
= 0 ;
10785 PyObject
* obj8
= 0 ;
10786 PyObject
* obj9
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10794 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 arg3
= wxString_in_helper(obj2
);
10799 if (arg3
== NULL
) SWIG_fail
;
10805 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10811 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10816 if (! PySequence_Check(obj5
)) {
10817 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10820 arg6
= new wxArrayString
;
10821 int i
, len
=PySequence_Length(obj5
);
10822 for (i
=0; i
<len
; i
++) {
10823 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10825 PyObject
* str
= PyObject_Unicode(item
);
10827 PyObject
* str
= PyObject_Str(item
);
10829 arg6
->Add(Py2wxString(str
));
10837 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10843 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10848 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10849 if (arg9
== NULL
) {
10850 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10855 arg10
= wxString_in_helper(obj9
);
10856 if (arg10
== NULL
) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 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
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10873 if (arg6
) delete arg6
;
10886 if (arg6
) delete arg6
;
10896 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxRadioBox
*result
;
10899 char *kwnames
[] = {
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (wxRadioBox
*)new wxRadioBox();
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10918 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10921 wxWindow
*arg2
= (wxWindow
*) 0 ;
10923 wxString
*arg4
= 0 ;
10924 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10925 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10926 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10927 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10928 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10929 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10930 int arg8
= (int) 0 ;
10931 long arg9
= (long) wxRA_HORIZONTAL
;
10932 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10933 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10934 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10935 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10937 bool temp4
= False
;
10940 bool temp11
= False
;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 PyObject
* obj2
= 0 ;
10944 PyObject
* obj3
= 0 ;
10945 PyObject
* obj4
= 0 ;
10946 PyObject
* obj5
= 0 ;
10947 PyObject
* obj6
= 0 ;
10948 PyObject
* obj7
= 0 ;
10949 PyObject
* obj8
= 0 ;
10950 PyObject
* obj9
= 0 ;
10951 PyObject
* obj10
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10960 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10964 arg4
= wxString_in_helper(obj3
);
10965 if (arg4
== NULL
) SWIG_fail
;
10971 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10977 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10982 if (! PySequence_Check(obj6
)) {
10983 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10986 arg7
= new wxArrayString
;
10987 int i
, len
=PySequence_Length(obj6
);
10988 for (i
=0; i
<len
; i
++) {
10989 PyObject
* item
= PySequence_GetItem(obj6
, i
);
10991 PyObject
* str
= PyObject_Unicode(item
);
10993 PyObject
* str
= PyObject_Str(item
);
10995 arg7
->Add(Py2wxString(str
));
11003 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11009 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11014 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11015 if (arg10
== NULL
) {
11016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11021 arg11
= wxString_in_helper(obj10
);
11022 if (arg11
== NULL
) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 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
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11039 if (arg7
) delete arg7
;
11052 if (arg7
) delete arg7
;
11062 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self",(char *) "n", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11075 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 (arg1
)->SetSelection(arg2
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 Py_INCREF(Py_None
); resultobj
= Py_None
;
11092 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= SWIG_PyObj_FromInt((int)result
);
11117 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11121 PyObject
* obj0
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11148 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11151 wxString
*arg2
= 0 ;
11153 bool temp2
= False
;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "s", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11163 arg2
= wxString_in_helper(obj1
);
11164 if (arg2
== NULL
) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= SWIG_PyObj_FromInt((int)result
);
11214 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11217 wxString
*arg2
= 0 ;
11219 bool temp2
= False
;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "s", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11229 arg2
= wxString_in_helper(obj1
);
11230 if (arg2
== NULL
) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= SWIG_PyObj_FromInt((int)result
);
11255 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "n", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11292 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11296 wxString
*arg3
= 0 ;
11297 bool temp3
= False
;
11298 PyObject
* obj0
= 0 ;
11299 PyObject
* obj1
= 0 ;
11300 PyObject
* obj2
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "n",(char *) "label", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11308 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11312 arg3
= wxString_in_helper(obj2
);
11313 if (arg3
== NULL
) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11342 bool arg3
= (bool) True
;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 PyObject
* obj2
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "n",(char *) "enable", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11353 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11358 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 (arg1
)->Enable(arg2
,arg3
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 Py_INCREF(Py_None
); resultobj
= Py_None
;
11376 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11380 bool arg3
= (bool) True
;
11381 PyObject
* obj0
= 0 ;
11382 PyObject
* obj1
= 0 ;
11383 PyObject
* obj2
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self",(char *) "n",(char *) "show", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11391 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11396 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 (arg1
)->Show(arg2
,arg3
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 Py_INCREF(Py_None
); resultobj
= Py_None
;
11414 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11418 PyObject
* obj0
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= SWIG_PyObj_FromInt((int)result
);
11439 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_PyObj_FromInt((int)result
);
11464 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
;
11466 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 PyObject
* obj1
= 0 ;
11473 PyObject
* obj2
= 0 ;
11474 PyObject
* obj3
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11482 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11490 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_PyObj_FromInt((int)result
);
11507 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11510 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11512 return Py_BuildValue((char *)"");
11514 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxWindow
*arg1
= (wxWindow
*) 0 ;
11518 wxString
*arg3
= 0 ;
11519 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11520 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11521 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11522 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11523 long arg6
= (long) 0 ;
11524 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11525 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11526 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11527 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11528 wxRadioButton
*result
;
11529 bool temp3
= False
;
11532 bool temp8
= False
;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 PyObject
* obj2
= 0 ;
11536 PyObject
* obj3
= 0 ;
11537 PyObject
* obj4
= 0 ;
11538 PyObject
* obj5
= 0 ;
11539 PyObject
* obj6
= 0 ;
11540 PyObject
* obj7
= 0 ;
11541 char *kwnames
[] = {
11542 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11548 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 arg3
= wxString_in_helper(obj2
);
11553 if (arg3
== NULL
) SWIG_fail
;
11559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11570 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11575 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11576 if (arg7
== NULL
) {
11577 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11582 arg8
= wxString_in_helper(obj7
);
11583 if (arg8
== NULL
) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11617 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxRadioButton
*result
;
11620 char *kwnames
[] = {
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (wxRadioButton
*)new wxRadioButton();
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11639 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11642 wxWindow
*arg2
= (wxWindow
*) 0 ;
11644 wxString
*arg4
= 0 ;
11645 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11646 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11647 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11648 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11649 long arg7
= (long) 0 ;
11650 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11651 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11652 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11653 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11655 bool temp4
= False
;
11658 bool temp9
= False
;
11659 PyObject
* obj0
= 0 ;
11660 PyObject
* obj1
= 0 ;
11661 PyObject
* obj2
= 0 ;
11662 PyObject
* obj3
= 0 ;
11663 PyObject
* obj4
= 0 ;
11664 PyObject
* obj5
= 0 ;
11665 PyObject
* obj6
= 0 ;
11666 PyObject
* obj7
= 0 ;
11667 PyObject
* obj8
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11676 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11680 arg4
= wxString_in_helper(obj3
);
11681 if (arg4
== NULL
) SWIG_fail
;
11687 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11693 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11698 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11703 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11704 if (arg8
== NULL
) {
11705 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11710 arg9
= wxString_in_helper(obj8
);
11711 if (arg9
== NULL
) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11745 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (bool)(arg1
)->GetValue();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11770 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11774 PyObject
* obj0
= 0 ;
11775 PyObject
* obj1
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self",(char *) "value", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11783 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 (arg1
)->SetValue(arg2
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 Py_INCREF(Py_None
); resultobj
= Py_None
;
11800 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11803 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11805 return Py_BuildValue((char *)"");
11807 static int _wrap_SliderNameStr_set(PyObject
*) {
11808 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11813 static PyObject
*_wrap_SliderNameStr_get() {
11818 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11820 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11827 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxWindow
*arg1
= (wxWindow
*) 0 ;
11834 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11835 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11836 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11837 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11838 long arg8
= (long) wxSL_HORIZONTAL
;
11839 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11840 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11841 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11842 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11846 bool temp10
= False
;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 PyObject
* obj2
= 0 ;
11850 PyObject
* obj3
= 0 ;
11851 PyObject
* obj4
= 0 ;
11852 PyObject
* obj5
= 0 ;
11853 PyObject
* obj6
= 0 ;
11854 PyObject
* obj7
= 0 ;
11855 PyObject
* obj8
= 0 ;
11856 PyObject
* obj9
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11864 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11872 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11876 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11882 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11888 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11893 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11898 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11899 if (arg9
== NULL
) {
11900 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11905 arg10
= wxString_in_helper(obj9
);
11906 if (arg10
== NULL
) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11932 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11935 char *kwnames
[] = {
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (wxSlider
*)new wxSlider();
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11954 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxSlider
*arg1
= (wxSlider
*) 0 ;
11957 wxWindow
*arg2
= (wxWindow
*) 0 ;
11962 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11963 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11964 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11965 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11966 long arg9
= (long) wxSL_HORIZONTAL
;
11967 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11968 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11969 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11970 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11974 bool temp11
= False
;
11975 PyObject
* obj0
= 0 ;
11976 PyObject
* obj1
= 0 ;
11977 PyObject
* obj2
= 0 ;
11978 PyObject
* obj3
= 0 ;
11979 PyObject
* obj4
= 0 ;
11980 PyObject
* obj5
= 0 ;
11981 PyObject
* obj6
= 0 ;
11982 PyObject
* obj7
= 0 ;
11983 PyObject
* obj8
= 0 ;
11984 PyObject
* obj9
= 0 ;
11985 PyObject
* obj10
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11994 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12006 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12012 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12018 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12023 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12028 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12029 if (arg10
== NULL
) {
12030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12035 arg11
= wxString_in_helper(obj10
);
12036 if (arg11
== NULL
) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12062 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxSlider
*arg1
= (wxSlider
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "self", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_PyObj_FromInt((int)result
);
12087 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxSlider
*arg1
= (wxSlider
*) 0 ;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self",(char *) "value", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12100 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 (arg1
)->SetValue(arg2
);
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 Py_INCREF(Py_None
); resultobj
= Py_None
;
12117 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxSlider
*arg1
= (wxSlider
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 PyObject
* obj2
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12132 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12136 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->SetRange(arg2
,arg3
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 Py_INCREF(Py_None
); resultobj
= Py_None
;
12153 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxSlider
*arg1
= (wxSlider
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= SWIG_PyObj_FromInt((int)result
);
12178 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxSlider
*arg1
= (wxSlider
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= SWIG_PyObj_FromInt((int)result
);
12203 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxSlider
*arg1
= (wxSlider
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self",(char *) "minValue", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12216 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->SetMin(arg2
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 Py_INCREF(Py_None
); resultobj
= Py_None
;
12233 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxSlider
*arg1
= (wxSlider
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 PyObject
* obj1
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "self",(char *) "maxValue", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12246 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 (arg1
)->SetMax(arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 Py_INCREF(Py_None
); resultobj
= Py_None
;
12263 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxSlider
*arg1
= (wxSlider
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 PyObject
* obj1
= 0 ;
12269 char *kwnames
[] = {
12270 (char *) "self",(char *) "lineSize", NULL
12273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12276 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 (arg1
)->SetLineSize(arg2
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 Py_INCREF(Py_None
); resultobj
= Py_None
;
12293 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxSlider
*arg1
= (wxSlider
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 PyObject
* obj1
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self",(char *) "pageSize", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12306 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 (arg1
)->SetPageSize(arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 Py_INCREF(Py_None
); resultobj
= Py_None
;
12323 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxSlider
*arg1
= (wxSlider
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_PyObj_FromInt((int)result
);
12348 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxSlider
*arg1
= (wxSlider
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= SWIG_PyObj_FromInt((int)result
);
12373 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxSlider
*arg1
= (wxSlider
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self",(char *) "lenPixels", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12386 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 (arg1
)->SetThumbLength(arg2
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 Py_INCREF(Py_None
); resultobj
= Py_None
;
12403 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxSlider
*arg1
= (wxSlider
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= SWIG_PyObj_FromInt((int)result
);
12428 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
;
12430 wxSlider
*arg1
= (wxSlider
*) 0 ;
12432 int arg3
= (int) 1 ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 PyObject
* obj2
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self",(char *) "n",(char *) "pos", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12443 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12448 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 (arg1
)->SetTickFreq(arg2
,arg3
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 Py_INCREF(Py_None
); resultobj
= Py_None
;
12466 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxSlider
*arg1
= (wxSlider
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_PyObj_FromInt((int)result
);
12491 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxSlider
*arg1
= (wxSlider
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 (arg1
)->ClearTicks();
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 Py_INCREF(Py_None
); resultobj
= Py_None
;
12515 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxSlider
*arg1
= (wxSlider
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self",(char *) "tickPos", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12528 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->SetTick(arg2
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 Py_INCREF(Py_None
); resultobj
= Py_None
;
12545 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxSlider
*arg1
= (wxSlider
*) 0 ;
12548 PyObject
* obj0
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 (arg1
)->ClearSel();
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxSlider
*arg1
= (wxSlider
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_PyObj_FromInt((int)result
);
12594 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxSlider
*arg1
= (wxSlider
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_PyObj_FromInt((int)result
);
12619 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxSlider
*arg1
= (wxSlider
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 PyObject
* obj2
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self",(char *) "min",(char *) "max", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12638 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 (arg1
)->SetSelection(arg2
,arg3
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 Py_INCREF(Py_None
); resultobj
= Py_None
;
12655 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12658 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12660 return Py_BuildValue((char *)"");
12662 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12663 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12668 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12673 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12675 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12682 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxWindow
*arg1
= (wxWindow
*) 0 ;
12686 wxString
*arg3
= 0 ;
12687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12691 long arg6
= (long) 0 ;
12692 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12693 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12694 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12695 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12696 wxToggleButton
*result
;
12697 bool temp3
= False
;
12700 bool temp8
= False
;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 PyObject
* obj2
= 0 ;
12704 PyObject
* obj3
= 0 ;
12705 PyObject
* obj4
= 0 ;
12706 PyObject
* obj5
= 0 ;
12707 PyObject
* obj6
= 0 ;
12708 PyObject
* obj7
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12716 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12720 arg3
= wxString_in_helper(obj2
);
12721 if (arg3
== NULL
) SWIG_fail
;
12727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12733 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12738 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12743 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12744 if (arg7
== NULL
) {
12745 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12750 arg8
= wxString_in_helper(obj7
);
12751 if (arg8
== NULL
) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12785 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxToggleButton
*result
;
12788 char *kwnames
[] = {
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (wxToggleButton
*)new wxToggleButton();
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12807 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12810 wxWindow
*arg2
= (wxWindow
*) 0 ;
12812 wxString
*arg4
= 0 ;
12813 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12814 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12815 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12816 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12817 long arg7
= (long) 0 ;
12818 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12819 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12820 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12821 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12823 bool temp4
= False
;
12826 bool temp9
= False
;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 PyObject
* obj2
= 0 ;
12830 PyObject
* obj3
= 0 ;
12831 PyObject
* obj4
= 0 ;
12832 PyObject
* obj5
= 0 ;
12833 PyObject
* obj6
= 0 ;
12834 PyObject
* obj7
= 0 ;
12835 PyObject
* obj8
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12844 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 arg4
= wxString_in_helper(obj3
);
12849 if (arg4
== NULL
) SWIG_fail
;
12855 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12861 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12866 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12871 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12872 if (arg8
== NULL
) {
12873 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12878 arg9
= wxString_in_helper(obj8
);
12879 if (arg9
== NULL
) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12913 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
;
12915 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self",(char *) "value", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12926 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetValue(arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 Py_INCREF(Py_None
); resultobj
= Py_None
;
12943 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12968 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12971 wxString
*arg2
= 0 ;
12972 bool temp2
= False
;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self",(char *) "label", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12982 arg2
= wxString_in_helper(obj1
);
12983 if (arg2
== NULL
) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 (arg1
)->SetLabel((wxString
const &)*arg2
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 Py_INCREF(Py_None
); resultobj
= Py_None
;
13008 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13011 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13013 return Py_BuildValue((char *)"");
13015 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
13016 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13021 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13026 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13028 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13035 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13039 PyObject
* obj0
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
13060 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 PyObject
* obj1
= 0 ;
13067 char *kwnames
[] = {
13068 (char *) "self",(char *) "n", NULL
13071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13074 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= wxPyMake_wxObject(result
);
13093 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13097 PyObject
* obj0
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "self", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= SWIG_PyObj_FromInt((int)result
);
13118 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13122 wxString
*arg3
= 0 ;
13124 bool temp3
= False
;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj1
= 0 ;
13127 PyObject
* obj2
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self",(char *) "n",(char *) "strText", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13135 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13139 arg3
= wxString_in_helper(obj2
);
13140 if (arg3
== NULL
) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13165 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13170 PyObject
* obj0
= 0 ;
13171 PyObject
* obj1
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self",(char *) "n", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13179 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13202 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13205 wxImageList
*arg2
= (wxImageList
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "imageList", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 (arg1
)->SetImageList(arg2
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 Py_INCREF(Py_None
); resultobj
= Py_None
;
13229 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13232 wxImageList
*arg2
= (wxImageList
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 PyObject
* obj1
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self",(char *) "imageList", NULL
13239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->AssignImageList(arg2
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13259 wxImageList
*result
;
13260 PyObject
* obj0
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= wxPyMake_wxObject(result
);
13283 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 PyObject
* obj1
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self",(char *) "n", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13297 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_PyObj_FromInt((int)result
);
13314 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 PyObject
* obj2
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "n",(char *) "imageId", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13330 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13351 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "self",(char *) "size", NULL
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 Py_INCREF(Py_None
); resultobj
= Py_None
;
13382 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "sizePage", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13408 wxSize
* resultptr
;
13409 resultptr
= new wxSize((wxSize
&) result
);
13410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13418 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self",(char *) "n", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13432 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 result
= (bool)(arg1
)->DeletePage(arg2
);
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13449 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self",(char *) "n", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13463 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)(arg1
)->RemovePage(arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13480 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13484 PyObject
* obj0
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (bool)(arg1
)->DeleteAllPages();
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13505 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13508 wxWindow
*arg2
= (wxWindow
*) 0 ;
13509 wxString
*arg3
= 0 ;
13510 bool arg4
= (bool) False
;
13511 int arg5
= (int) -1 ;
13513 bool temp3
= False
;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 PyObject
* obj3
= 0 ;
13518 PyObject
* obj4
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13525 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13527 arg3
= wxString_in_helper(obj2
);
13528 if (arg3
== NULL
) SWIG_fail
;
13533 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13539 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13565 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13569 wxWindow
*arg3
= (wxWindow
*) 0 ;
13570 wxString
*arg4
= 0 ;
13571 bool arg5
= (bool) False
;
13572 int arg6
= (int) -1 ;
13574 bool temp4
= False
;
13575 PyObject
* obj0
= 0 ;
13576 PyObject
* obj1
= 0 ;
13577 PyObject
* obj2
= 0 ;
13578 PyObject
* obj3
= 0 ;
13579 PyObject
* obj4
= 0 ;
13580 PyObject
* obj5
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13588 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13593 arg4
= wxString_in_helper(obj3
);
13594 if (arg4
== NULL
) SWIG_fail
;
13599 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13605 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13631 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self",(char *) "n", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13645 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (int)(arg1
)->SetSelection(arg2
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_PyObj_FromInt((int)result
);
13662 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13665 bool arg2
= (bool) True
;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self",(char *) "forward", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13676 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 (arg1
)->AdvanceSelection(arg2
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 Py_INCREF(Py_None
); resultobj
= Py_None
;
13694 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13697 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13699 return Py_BuildValue((char *)"");
13701 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13704 int arg2
= (int) 0 ;
13705 int arg3
= (int) -1 ;
13706 int arg4
= (int) -1 ;
13707 wxBookCtrlEvent
*result
;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 PyObject
* obj2
= 0 ;
13711 PyObject
* obj3
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13719 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13725 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13731 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13737 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13755 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_PyObj_FromInt((int)result
);
13780 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self",(char *) "nSel", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13793 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 (arg1
)->SetSelection(arg2
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 Py_INCREF(Py_None
); resultobj
= Py_None
;
13810 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= SWIG_PyObj_FromInt((int)result
);
13835 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self",(char *) "nOldSel", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13848 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 (arg1
)->SetOldSelection(arg2
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 Py_INCREF(Py_None
); resultobj
= Py_None
;
13865 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13868 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13870 return Py_BuildValue((char *)"");
13872 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxWindow
*arg1
= (wxWindow
*) 0 ;
13876 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13877 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13878 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13879 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13880 long arg5
= (long) 0 ;
13881 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13882 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13883 wxNotebook
*result
;
13886 bool temp6
= False
;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 PyObject
* obj2
= 0 ;
13890 PyObject
* obj3
= 0 ;
13891 PyObject
* obj4
= 0 ;
13892 PyObject
* obj5
= 0 ;
13893 char *kwnames
[] = {
13894 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13900 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13906 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13912 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13917 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13923 arg6
= wxString_in_helper(obj5
);
13924 if (arg6
== NULL
) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= wxPyMake_wxObject(result
);
13952 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxNotebook
*result
;
13955 char *kwnames
[] = {
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (wxNotebook
*)new wxNotebook();
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= wxPyMake_wxObject(result
);
13976 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13979 wxWindow
*arg2
= (wxWindow
*) 0 ;
13981 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13982 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13983 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13984 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13985 long arg6
= (long) 0 ;
13986 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13987 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13991 bool temp7
= False
;
13992 PyObject
* obj0
= 0 ;
13993 PyObject
* obj1
= 0 ;
13994 PyObject
* obj2
= 0 ;
13995 PyObject
* obj3
= 0 ;
13996 PyObject
* obj4
= 0 ;
13997 PyObject
* obj5
= 0 ;
13998 PyObject
* obj6
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14007 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14019 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14024 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14030 arg7
= wxString_in_helper(obj6
);
14031 if (arg7
== NULL
) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14057 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
;
14059 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14061 PyObject
* obj0
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= SWIG_PyObj_FromInt((int)result
);
14082 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self",(char *) "padding", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 Py_INCREF(Py_None
); resultobj
= Py_None
;
14113 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
;
14115 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14118 PyObject
* obj0
= 0 ;
14119 PyObject
* obj1
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self",(char *) "sz", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14128 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 Py_INCREF(Py_None
); resultobj
= Py_None
;
14144 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14147 wxPoint
*arg2
= 0 ;
14148 long *arg3
= (long *) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self",(char *) "pt", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_PyObj_FromInt((int)result
);
14174 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14175 resultobj
= t_output_helper(resultobj
,o
);
14183 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self",(char *) "sizePage", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14209 wxSize
* resultptr
;
14210 resultptr
= new wxSize((wxSize
&) result
);
14211 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14219 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14222 wxWindow
*arg2
= (wxWindow
*) 0 ;
14223 wxColour
*arg3
= 0 ;
14225 PyObject
* obj0
= 0 ;
14226 PyObject
* obj1
= 0 ;
14227 PyObject
* obj2
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self",(char *) "window",(char *) "colour", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14234 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14237 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 Py_INCREF(Py_None
); resultobj
= Py_None
;
14253 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14256 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14258 return Py_BuildValue((char *)"");
14260 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14263 int arg2
= (int) 0 ;
14264 int arg3
= (int) -1 ;
14265 int arg4
= (int) -1 ;
14266 wxNotebookEvent
*result
;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 PyObject
* obj2
= 0 ;
14270 PyObject
* obj3
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14278 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14284 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14290 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14296 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14314 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14317 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14319 return Py_BuildValue((char *)"");
14321 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxWindow
*arg1
= (wxWindow
*) 0 ;
14325 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14326 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14327 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14328 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14329 long arg5
= (long) 0 ;
14330 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14331 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14332 wxListbook
*result
;
14335 bool temp6
= False
;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 PyObject
* obj2
= 0 ;
14339 PyObject
* obj3
= 0 ;
14340 PyObject
* obj4
= 0 ;
14341 PyObject
* obj5
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14349 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14355 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14361 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14366 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14372 arg6
= wxString_in_helper(obj5
);
14373 if (arg6
== NULL
) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14399 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxListbook
*result
;
14402 char *kwnames
[] = {
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (wxListbook
*)new wxListbook();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14421 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxListbook
*arg1
= (wxListbook
*) 0 ;
14424 wxWindow
*arg2
= (wxWindow
*) 0 ;
14426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14430 long arg6
= (long) 0 ;
14431 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14432 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14436 bool temp7
= False
;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 PyObject
* obj2
= 0 ;
14440 PyObject
* obj3
= 0 ;
14441 PyObject
* obj4
= 0 ;
14442 PyObject
* obj5
= 0 ;
14443 PyObject
* obj6
= 0 ;
14444 char *kwnames
[] = {
14445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14452 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14469 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14475 arg7
= wxString_in_helper(obj6
);
14476 if (arg7
== NULL
) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14502 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxListbook
*arg1
= (wxListbook
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14527 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14530 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14532 return Py_BuildValue((char *)"");
14534 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14537 int arg2
= (int) 0 ;
14538 int arg3
= (int) -1 ;
14539 int arg4
= (int) -1 ;
14540 wxListbookEvent
*result
;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 PyObject
* obj2
= 0 ;
14544 PyObject
* obj3
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14552 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14564 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14570 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14588 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14591 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14593 return Py_BuildValue((char *)"");
14595 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14598 wxBookCtrlSizer
*result
;
14599 PyObject
* obj0
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "nb", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14620 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "self", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 (arg1
)->RecalcSizes();
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 Py_INCREF(Py_None
); resultobj
= Py_None
;
14644 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= (arg1
)->CalcMin();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 wxSize
* resultptr
;
14664 resultptr
= new wxSize((wxSize
&) result
);
14665 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14673 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14676 wxBookCtrl
*result
;
14677 PyObject
* obj0
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14698 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14701 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14703 return Py_BuildValue((char *)"");
14705 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14708 wxNotebookSizer
*result
;
14709 PyObject
* obj0
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "nb", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14730 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 (arg1
)->RecalcSizes();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 Py_INCREF(Py_None
); resultobj
= Py_None
;
14754 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
;
14756 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14758 PyObject
* obj0
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (arg1
)->CalcMin();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 wxSize
* resultptr
;
14774 resultptr
= new wxSize((wxSize
&) result
);
14775 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14783 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14786 wxNotebook
*result
;
14787 PyObject
* obj0
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= wxPyMake_wxObject(result
);
14810 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14813 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14815 return Py_BuildValue((char *)"");
14817 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (int)(arg1
)->GetId();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_PyObj_FromInt((int)result
);
14842 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (wxControl
*)(arg1
)->GetControl();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= wxPyMake_wxObject(result
);
14869 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14872 wxToolBarBase
*result
;
14873 PyObject
* obj0
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= wxPyMake_wxObject(result
);
14896 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (int)(arg1
)->IsButton();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_PyObj_FromInt((int)result
);
14921 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (int)(arg1
)->IsControl();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= SWIG_PyObj_FromInt((int)result
);
14946 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (int)(arg1
)->IsSeparator();
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= SWIG_PyObj_FromInt((int)result
);
14971 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (int)(arg1
)->GetStyle();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_PyObj_FromInt((int)result
);
14996 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (int)(arg1
)->GetKind();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_PyObj_FromInt((int)result
);
15021 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15025 PyObject
* obj0
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (bool)(arg1
)->IsEnabled();
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15046 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (bool)(arg1
)->IsToggled();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15071 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (bool)(arg1
)->CanBeToggled();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15096 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15111 result
= (wxBitmap
*) &_result_ref
;
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15124 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15139 result
= (wxBitmap
*) &_result_ref
;
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15152 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "self", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (arg1
)->GetBitmap();
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15171 wxBitmap
* resultptr
;
15172 resultptr
= new wxBitmap((wxBitmap
&) result
);
15173 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
15181 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (arg1
)->GetLabel();
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15212 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
;
15214 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (arg1
)->GetShortHelp();
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15243 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (arg1
)->GetLongHelp();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15274 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 PyObject
* obj1
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self",(char *) "enable", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15288 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (bool)(arg1
)->Enable(arg2
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15305 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 Py_INCREF(Py_None
); resultobj
= Py_None
;
15329 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self",(char *) "toggle", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15343 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (bool)(arg1
)->SetToggle(arg2
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15360 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15363 wxString
*arg2
= 0 ;
15365 bool temp2
= False
;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self",(char *) "help", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15375 arg2
= wxString_in_helper(obj1
);
15376 if (arg2
== NULL
) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15401 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15404 wxString
*arg2
= 0 ;
15406 bool temp2
= False
;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "help", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15416 arg2
= wxString_in_helper(obj1
);
15417 if (arg2
== NULL
) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15442 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15445 wxBitmap
*arg2
= 0 ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self",(char *) "bmp", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15455 if (arg2
== NULL
) {
15456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15465 Py_INCREF(Py_None
); resultobj
= Py_None
;
15472 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15475 wxBitmap
*arg2
= 0 ;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self",(char *) "bmp", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15485 if (arg2
== NULL
) {
15486 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 Py_INCREF(Py_None
); resultobj
= Py_None
;
15502 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15505 wxString
*arg2
= 0 ;
15506 bool temp2
= False
;
15507 PyObject
* obj0
= 0 ;
15508 PyObject
* obj1
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self",(char *) "label", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15516 arg2
= wxString_in_helper(obj1
);
15517 if (arg2
== NULL
) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 (arg1
)->SetLabel((wxString
const &)*arg2
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 Py_INCREF(Py_None
); resultobj
= Py_None
;
15542 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 Py_INCREF(Py_None
); resultobj
= Py_None
;
15566 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15569 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self",(char *) "tbar", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 (arg1
)->Attach(arg2
);
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 Py_INCREF(Py_None
); resultobj
= Py_None
;
15593 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15597 PyObject
* obj0
= 0 ;
15598 char *kwnames
[] = {
15599 (char *) "self", NULL
15602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= result
;
15618 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15621 PyObject
*arg2
= (PyObject
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "clientData", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 Py_INCREF(Py_None
); resultobj
= Py_None
;
15645 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15648 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15650 return Py_BuildValue((char *)"");
15652 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15656 wxString
*arg3
= 0 ;
15657 wxBitmap
*arg4
= 0 ;
15658 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15659 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15660 int arg6
= (int) wxITEM_NORMAL
;
15661 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15663 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15664 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15665 PyObject
*arg9
= (PyObject
*) NULL
;
15666 wxToolBarToolBase
*result
;
15667 bool temp3
= False
;
15668 bool temp7
= False
;
15669 bool temp8
= False
;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 PyObject
* obj2
= 0 ;
15673 PyObject
* obj3
= 0 ;
15674 PyObject
* obj4
= 0 ;
15675 PyObject
* obj5
= 0 ;
15676 PyObject
* obj6
= 0 ;
15677 PyObject
* obj7
= 0 ;
15678 PyObject
* obj8
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15686 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 arg3
= wxString_in_helper(obj2
);
15691 if (arg3
== NULL
) SWIG_fail
;
15694 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15695 if (arg4
== NULL
) {
15696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15699 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15700 if (arg5
== NULL
) {
15701 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15706 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15712 arg7
= wxString_in_helper(obj6
);
15713 if (arg7
== NULL
) SWIG_fail
;
15719 arg8
= wxString_in_helper(obj7
);
15720 if (arg8
== NULL
) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= wxPyMake_wxObject(result
);
15767 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15772 wxString
*arg4
= 0 ;
15773 wxBitmap
*arg5
= 0 ;
15774 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15775 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15776 int arg7
= (int) wxITEM_NORMAL
;
15777 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15779 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15780 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15781 PyObject
*arg10
= (PyObject
*) NULL
;
15782 wxToolBarToolBase
*result
;
15783 bool temp4
= False
;
15784 bool temp8
= False
;
15785 bool temp9
= False
;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 PyObject
* obj2
= 0 ;
15789 PyObject
* obj3
= 0 ;
15790 PyObject
* obj4
= 0 ;
15791 PyObject
* obj5
= 0 ;
15792 PyObject
* obj6
= 0 ;
15793 PyObject
* obj7
= 0 ;
15794 PyObject
* obj8
= 0 ;
15795 PyObject
* obj9
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15803 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15807 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 arg4
= wxString_in_helper(obj3
);
15812 if (arg4
== NULL
) SWIG_fail
;
15815 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15816 if (arg5
== NULL
) {
15817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15820 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15821 if (arg6
== NULL
) {
15822 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15827 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15833 arg8
= wxString_in_helper(obj7
);
15834 if (arg8
== NULL
) SWIG_fail
;
15840 arg9
= wxString_in_helper(obj8
);
15841 if (arg9
== NULL
) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 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
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= wxPyMake_wxObject(result
);
15888 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15891 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15892 wxToolBarToolBase
*result
;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "tool", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= wxPyMake_wxObject(result
);
15918 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15922 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15923 wxToolBarToolBase
*result
;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 PyObject
* obj2
= 0 ;
15927 char *kwnames
[] = {
15928 (char *) "self",(char *) "pos",(char *) "tool", NULL
15931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15934 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= wxPyMake_wxObject(result
);
15954 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15957 wxControl
*arg2
= (wxControl
*) 0 ;
15958 wxToolBarToolBase
*result
;
15959 PyObject
* obj0
= 0 ;
15960 PyObject
* obj1
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self",(char *) "control", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= wxPyMake_wxObject(result
);
15984 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15988 wxControl
*arg3
= (wxControl
*) 0 ;
15989 wxToolBarToolBase
*result
;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 PyObject
* obj2
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self",(char *) "pos",(char *) "control", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16000 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= wxPyMake_wxObject(result
);
16020 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16025 PyObject
* obj0
= 0 ;
16026 PyObject
* obj1
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self",(char *) "id", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16034 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= wxPyMake_wxObject(result
);
16053 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16056 wxToolBarToolBase
*result
;
16057 PyObject
* obj0
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= wxPyMake_wxObject(result
);
16080 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16084 wxToolBarToolBase
*result
;
16085 PyObject
* obj0
= 0 ;
16086 PyObject
* obj1
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self",(char *) "pos", NULL
16091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16094 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= wxPyMake_wxObject(result
);
16113 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16117 wxToolBarToolBase
*result
;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self",(char *) "id", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16127 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= wxPyMake_wxObject(result
);
16146 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self",(char *) "pos", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16160 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16177 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 PyObject
* obj1
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self",(char *) "id", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16191 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (bool)(arg1
)->DeleteTool(arg2
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16208 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 (arg1
)->ClearTools();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 Py_INCREF(Py_None
); resultobj
= Py_None
;
16232 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16236 PyObject
* obj0
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (bool)(arg1
)->Realize();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16257 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 PyObject
* obj2
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self",(char *) "id",(char *) "enable", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16272 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16276 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 (arg1
)->EnableTool(arg2
,arg3
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 Py_INCREF(Py_None
); resultobj
= Py_None
;
16293 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 PyObject
* obj2
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "self",(char *) "id",(char *) "toggle", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16308 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16312 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 (arg1
)->ToggleTool(arg2
,arg3
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 Py_INCREF(Py_None
); resultobj
= Py_None
;
16329 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 PyObject
* obj2
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self",(char *) "id",(char *) "toggle", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16344 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16348 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 (arg1
)->SetToggle(arg2
,arg3
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 Py_INCREF(Py_None
); resultobj
= Py_None
;
16365 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self",(char *) "id", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16379 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= result
;
16396 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16400 PyObject
*arg3
= (PyObject
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 PyObject
* obj2
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self",(char *) "id",(char *) "clientData", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16411 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16422 Py_INCREF(Py_None
); resultobj
= Py_None
;
16429 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16434 PyObject
* obj0
= 0 ;
16435 PyObject
* obj1
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self",(char *) "id", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16443 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= SWIG_PyObj_FromInt((int)result
);
16460 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self",(char *) "id", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16474 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (bool)(arg1
)->GetToolState(arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16491 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "id", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16505 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16522 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16526 wxString
*arg3
= 0 ;
16527 bool temp3
= False
;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 PyObject
* obj2
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "id",(char *) "helpString", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16538 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16542 arg3
= wxString_in_helper(obj2
);
16543 if (arg3
== NULL
) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "id", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16582 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= (arg1
)->GetToolShortHelp(arg2
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16605 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16609 wxString
*arg3
= 0 ;
16610 bool temp3
= False
;
16611 PyObject
* obj0
= 0 ;
16612 PyObject
* obj1
= 0 ;
16613 PyObject
* obj2
= 0 ;
16614 char *kwnames
[] = {
16615 (char *) "self",(char *) "id",(char *) "helpString", NULL
16618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16621 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16625 arg3
= wxString_in_helper(obj2
);
16626 if (arg3
== NULL
) SWIG_fail
;
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16636 Py_INCREF(Py_None
); resultobj
= Py_None
;
16651 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "id", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (arg1
)->GetToolLongHelp(arg2
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16688 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 PyObject
* obj1
= 0 ;
16695 PyObject
* obj2
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self",(char *) "x",(char *) "y", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16703 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 (arg1
)->SetMargins(arg2
,arg3
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 Py_INCREF(Py_None
); resultobj
= Py_None
;
16724 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 char *kwnames
[] = {
16732 (char *) "self",(char *) "size", NULL
16735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16739 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 Py_INCREF(Py_None
); resultobj
= Py_None
;
16755 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 PyObject
* obj1
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self",(char *) "packing", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16768 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 (arg1
)->SetToolPacking(arg2
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 Py_INCREF(Py_None
); resultobj
= Py_None
;
16785 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
;
16787 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16789 PyObject
* obj0
= 0 ;
16790 PyObject
* obj1
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self",(char *) "separation", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16798 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 (arg1
)->SetToolSeparation(arg2
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 Py_INCREF(Py_None
); resultobj
= Py_None
;
16815 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (arg1
)->GetToolMargins();
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 wxSize
* resultptr
;
16835 resultptr
= new wxSize((wxSize
&) result
);
16836 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16844 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
;
16846 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (arg1
)->GetMargins();
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 wxSize
* resultptr
;
16864 resultptr
= new wxSize((wxSize
&) result
);
16865 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16873 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (int)(arg1
)->GetToolPacking();
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= SWIG_PyObj_FromInt((int)result
);
16898 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= (int)(arg1
)->GetToolSeparation();
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= SWIG_PyObj_FromInt((int)result
);
16923 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 char *kwnames
[] = {
16930 (char *) "self",(char *) "nRows", NULL
16933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16936 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 (arg1
)->SetRows(arg2
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 PyObject
* obj2
= 0 ;
16961 char *kwnames
[] = {
16962 (char *) "self",(char *) "rows",(char *) "cols", NULL
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16968 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 Py_INCREF(Py_None
); resultobj
= Py_None
;
16989 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16993 PyObject
* obj0
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "self", NULL
16998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (int)(arg1
)->GetMaxRows();
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= SWIG_PyObj_FromInt((int)result
);
17014 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (int)(arg1
)->GetMaxCols();
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= SWIG_PyObj_FromInt((int)result
);
17039 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self",(char *) "size", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17054 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 Py_INCREF(Py_None
); resultobj
= Py_None
;
17070 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (arg1
)->GetToolBitmapSize();
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17089 wxSize
* resultptr
;
17090 resultptr
= new wxSize((wxSize
&) result
);
17091 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17099 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17103 PyObject
* obj0
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (arg1
)->GetToolSize();
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 wxSize
* resultptr
;
17119 resultptr
= new wxSize((wxSize
&) result
);
17120 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17128 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17133 wxToolBarToolBase
*result
;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 PyObject
* obj2
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "self",(char *) "x",(char *) "y", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17144 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= wxPyMake_wxObject(result
);
17167 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17171 wxToolBarToolBase
*result
;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "self",(char *) "toolid", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17181 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= wxPyMake_wxObject(result
);
17200 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (bool)(arg1
)->IsVertical();
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17225 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17228 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17230 return Py_BuildValue((char *)"");
17232 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxWindow
*arg1
= (wxWindow
*) 0 ;
17236 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17237 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17238 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17239 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17240 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17241 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17242 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17246 bool temp6
= False
;
17247 PyObject
* obj0
= 0 ;
17248 PyObject
* obj1
= 0 ;
17249 PyObject
* obj2
= 0 ;
17250 PyObject
* obj3
= 0 ;
17251 PyObject
* obj4
= 0 ;
17252 PyObject
* obj5
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17260 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17266 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17272 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17277 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17283 arg6
= wxString_in_helper(obj5
);
17284 if (arg6
== NULL
) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= wxPyMake_wxObject(result
);
17312 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17315 char *kwnames
[] = {
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (wxToolBar
*)new wxToolBar();
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= wxPyMake_wxObject(result
);
17336 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17339 wxWindow
*arg2
= (wxWindow
*) 0 ;
17341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17343 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17344 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17345 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17346 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17347 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17351 bool temp7
= False
;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 PyObject
* obj2
= 0 ;
17355 PyObject
* obj3
= 0 ;
17356 PyObject
* obj4
= 0 ;
17357 PyObject
* obj5
= 0 ;
17358 PyObject
* obj6
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17367 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17384 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17390 arg7
= wxString_in_helper(obj6
);
17391 if (arg7
== NULL
) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17417 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17422 wxToolBarToolBase
*result
;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 PyObject
* obj2
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self",(char *) "x",(char *) "y", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17433 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= wxPyMake_wxObject(result
);
17456 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17459 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17461 return Py_BuildValue((char *)"");
17463 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17464 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17469 static PyObject
*_wrap_ListCtrlNameStr_get() {
17474 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17476 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17483 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxColour
const &arg1_defvalue
= wxNullColour
;
17486 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17487 wxColour
const &arg2_defvalue
= wxNullColour
;
17488 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17489 wxFont
const &arg3_defvalue
= wxNullFont
;
17490 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17491 wxListItemAttr
*result
;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 PyObject
* obj2
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17505 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17515 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17516 if (arg3
== NULL
) {
17517 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17534 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17537 wxColour
*arg2
= 0 ;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self",(char *) "colText", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17549 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 Py_INCREF(Py_None
); resultobj
= Py_None
;
17565 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17568 wxColour
*arg2
= 0 ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "colBack", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17580 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 Py_INCREF(Py_None
); resultobj
= Py_None
;
17596 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 PyObject
* obj1
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self",(char *) "font", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17609 if (arg2
== NULL
) {
17610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 (arg1
)->SetFont((wxFont
const &)*arg2
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 Py_INCREF(Py_None
); resultobj
= Py_None
;
17626 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17630 PyObject
* obj0
= 0 ;
17631 char *kwnames
[] = {
17632 (char *) "self", NULL
17635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 result
= (bool)(arg1
)->HasTextColour();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17651 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (bool)(arg1
)->HasBackgroundColour();
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17676 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17680 PyObject
* obj0
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->HasFont();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17701 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (arg1
)->GetTextColour();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17720 wxColour
* resultptr
;
17721 resultptr
= new wxColour((wxColour
&) result
);
17722 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17730 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17734 PyObject
* obj0
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (arg1
)->GetBackgroundColour();
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 wxColour
* resultptr
;
17750 resultptr
= new wxColour((wxColour
&) result
);
17751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17759 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (arg1
)->GetFont();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 wxFont
* resultptr
;
17779 resultptr
= new wxFont((wxFont
&) result
);
17780 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17788 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 wxListItemAttr_Destroy(arg1
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 Py_INCREF(Py_None
); resultobj
= Py_None
;
17812 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17815 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17817 return Py_BuildValue((char *)"");
17819 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxListItem
*result
;
17822 char *kwnames
[] = {
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= (wxListItem
*)new wxListItem();
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= wxPyMake_wxObject(result
);
17843 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
;
17845 wxListItem
*arg1
= (wxListItem
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17867 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxListItem
*arg1
= (wxListItem
*) 0 ;
17870 PyObject
* obj0
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 Py_INCREF(Py_None
); resultobj
= Py_None
;
17891 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxListItem
*arg1
= (wxListItem
*) 0 ;
17894 PyObject
* obj0
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 (arg1
)->ClearAttributes();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 Py_INCREF(Py_None
); resultobj
= Py_None
;
17915 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxListItem
*arg1
= (wxListItem
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 PyObject
* obj1
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self",(char *) "mask", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17928 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 (arg1
)->SetMask(arg2
);
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 Py_INCREF(Py_None
); resultobj
= Py_None
;
17945 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxListItem
*arg1
= (wxListItem
*) 0 ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self",(char *) "id", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17958 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->SetId(arg2
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 Py_INCREF(Py_None
); resultobj
= Py_None
;
17975 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxListItem
*arg1
= (wxListItem
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self",(char *) "col", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17988 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 (arg1
)->SetColumn(arg2
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 Py_INCREF(Py_None
); resultobj
= Py_None
;
18005 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxListItem
*arg1
= (wxListItem
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self",(char *) "state", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18018 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetState(arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxListItem
*arg1
= (wxListItem
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self",(char *) "stateMask", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18048 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 (arg1
)->SetStateMask(arg2
);
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 Py_INCREF(Py_None
); resultobj
= Py_None
;
18065 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxListItem
*arg1
= (wxListItem
*) 0 ;
18068 wxString
*arg2
= 0 ;
18069 bool temp2
= False
;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self",(char *) "text", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18079 arg2
= wxString_in_helper(obj1
);
18080 if (arg2
== NULL
) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 (arg1
)->SetText((wxString
const &)*arg2
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 Py_INCREF(Py_None
); resultobj
= Py_None
;
18105 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxListItem
*arg1
= (wxListItem
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 PyObject
* obj1
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "image", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18118 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 (arg1
)->SetImage(arg2
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 Py_INCREF(Py_None
); resultobj
= Py_None
;
18135 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxListItem
*arg1
= (wxListItem
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 PyObject
* obj1
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self",(char *) "data", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18148 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 (arg1
)->SetData(arg2
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 Py_INCREF(Py_None
); resultobj
= Py_None
;
18165 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxListItem
*arg1
= (wxListItem
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "width", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18178 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 (arg1
)->SetWidth(arg2
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 Py_INCREF(Py_None
); resultobj
= Py_None
;
18195 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxListItem
*arg1
= (wxListItem
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "self",(char *) "align", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18208 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 Py_INCREF(Py_None
); resultobj
= Py_None
;
18225 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxListItem
*arg1
= (wxListItem
*) 0 ;
18228 wxColour
*arg2
= 0 ;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "colText", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18240 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 Py_INCREF(Py_None
); resultobj
= Py_None
;
18256 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxListItem
*arg1
= (wxListItem
*) 0 ;
18259 wxColour
*arg2
= 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self",(char *) "colBack", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18271 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 Py_INCREF(Py_None
); resultobj
= Py_None
;
18287 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxListItem
*arg1
= (wxListItem
*) 0 ;
18291 PyObject
* obj0
= 0 ;
18292 PyObject
* obj1
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self",(char *) "font", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18300 if (arg2
== NULL
) {
18301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 (arg1
)->SetFont((wxFont
const &)*arg2
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 Py_INCREF(Py_None
); resultobj
= Py_None
;
18317 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxListItem
*arg1
= (wxListItem
*) 0 ;
18321 PyObject
* obj0
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (long)(arg1
)->GetMask();
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= SWIG_PyObj_FromLong((long)result
);
18342 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxListItem
*arg1
= (wxListItem
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= (long)(arg1
)->GetId();
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= SWIG_PyObj_FromLong((long)result
);
18367 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxListItem
*arg1
= (wxListItem
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (int)(arg1
)->GetColumn();
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_PyObj_FromInt((int)result
);
18392 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxListItem
*arg1
= (wxListItem
*) 0 ;
18396 PyObject
* obj0
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (long)(arg1
)->GetState();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_PyObj_FromLong((long)result
);
18417 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxListItem
*arg1
= (wxListItem
*) 0 ;
18421 PyObject
* obj0
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 wxString
const &_result_ref
= (arg1
)->GetText();
18432 result
= (wxString
*) &_result_ref
;
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18442 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18451 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxListItem
*arg1
= (wxListItem
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (int)(arg1
)->GetImage();
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_PyObj_FromInt((int)result
);
18476 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxListItem
*arg1
= (wxListItem
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (long)(arg1
)->GetData();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_PyObj_FromLong((long)result
);
18501 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxListItem
*arg1
= (wxListItem
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (int)(arg1
)->GetWidth();
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_PyObj_FromInt((int)result
);
18526 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxListItem
*arg1
= (wxListItem
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 result
= (int)(arg1
)->GetAlign();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_PyObj_FromInt((int)result
);
18551 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxListItem
*arg1
= (wxListItem
*) 0 ;
18554 wxListItemAttr
*result
;
18555 PyObject
* obj0
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18576 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxListItem
*arg1
= (wxListItem
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (bool)(arg1
)->HasAttributes();
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18601 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxListItem
*arg1
= (wxListItem
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18620 wxColour
* resultptr
;
18621 resultptr
= new wxColour((wxColour
&) result
);
18622 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18630 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxListItem
*arg1
= (wxListItem
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18649 wxColour
* resultptr
;
18650 resultptr
= new wxColour((wxColour
&) result
);
18651 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18659 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxListItem
*arg1
= (wxListItem
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= ((wxListItem
const *)arg1
)->GetFont();
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18678 wxFont
* resultptr
;
18679 resultptr
= new wxFont((wxFont
&) result
);
18680 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18688 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxListItem
*arg1
= (wxListItem
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 PyObject
* obj1
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self",(char *) "m_mask", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18701 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 if (arg1
) (arg1
)->m_mask
= arg2
;
18706 Py_INCREF(Py_None
); resultobj
= Py_None
;
18713 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxListItem
*arg1
= (wxListItem
*) 0 ;
18717 PyObject
* obj0
= 0 ;
18718 char *kwnames
[] = {
18719 (char *) "self", NULL
18722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18724 result
= (long) ((arg1
)->m_mask
);
18726 resultobj
= SWIG_PyObj_FromLong((long)result
);
18733 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxListItem
*arg1
= (wxListItem
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self",(char *) "m_itemId", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18746 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 if (arg1
) (arg1
)->m_itemId
= arg2
;
18751 Py_INCREF(Py_None
); resultobj
= Py_None
;
18758 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxListItem
*arg1
= (wxListItem
*) 0 ;
18762 PyObject
* obj0
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18769 result
= (long) ((arg1
)->m_itemId
);
18771 resultobj
= SWIG_PyObj_FromLong((long)result
);
18778 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxListItem
*arg1
= (wxListItem
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "m_col", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18791 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 if (arg1
) (arg1
)->m_col
= arg2
;
18796 Py_INCREF(Py_None
); resultobj
= Py_None
;
18803 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxListItem
*arg1
= (wxListItem
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18814 result
= (int) ((arg1
)->m_col
);
18816 resultobj
= SWIG_PyObj_FromInt((int)result
);
18823 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxListItem
*arg1
= (wxListItem
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 PyObject
* obj1
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self",(char *) "m_state", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18836 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 if (arg1
) (arg1
)->m_state
= arg2
;
18841 Py_INCREF(Py_None
); resultobj
= Py_None
;
18848 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxListItem
*arg1
= (wxListItem
*) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18859 result
= (long) ((arg1
)->m_state
);
18861 resultobj
= SWIG_PyObj_FromLong((long)result
);
18868 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxListItem
*arg1
= (wxListItem
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj1
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self",(char *) "m_stateMask", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18881 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18886 Py_INCREF(Py_None
); resultobj
= Py_None
;
18893 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxListItem
*arg1
= (wxListItem
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18904 result
= (long) ((arg1
)->m_stateMask
);
18906 resultobj
= SWIG_PyObj_FromLong((long)result
);
18913 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
;
18915 wxListItem
*arg1
= (wxListItem
*) 0 ;
18916 wxString
*arg2
= (wxString
*) 0 ;
18917 bool temp2
= False
;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self",(char *) "m_text", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18927 arg2
= wxString_in_helper(obj1
);
18928 if (arg2
== NULL
) SWIG_fail
;
18931 if (arg1
) (arg1
)->m_text
= *arg2
;
18933 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxListItem
*arg1
= (wxListItem
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18959 result
= (wxString
*)& ((arg1
)->m_text
);
18963 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18965 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18974 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxListItem
*arg1
= (wxListItem
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 PyObject
* obj1
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self",(char *) "m_image", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18987 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 if (arg1
) (arg1
)->m_image
= arg2
;
18992 Py_INCREF(Py_None
); resultobj
= Py_None
;
18999 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxListItem
*arg1
= (wxListItem
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "self", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19010 result
= (int) ((arg1
)->m_image
);
19012 resultobj
= SWIG_PyObj_FromInt((int)result
);
19019 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxListItem
*arg1
= (wxListItem
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 PyObject
* obj1
= 0 ;
19025 char *kwnames
[] = {
19026 (char *) "self",(char *) "m_data", NULL
19029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19032 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 if (arg1
) (arg1
)->m_data
= arg2
;
19037 Py_INCREF(Py_None
); resultobj
= Py_None
;
19044 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxListItem
*arg1
= (wxListItem
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19055 result
= (long) ((arg1
)->m_data
);
19057 resultobj
= SWIG_PyObj_FromLong((long)result
);
19064 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxListItem
*arg1
= (wxListItem
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self",(char *) "m_format", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19077 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 if (arg1
) (arg1
)->m_format
= arg2
;
19082 Py_INCREF(Py_None
); resultobj
= Py_None
;
19089 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
;
19091 wxListItem
*arg1
= (wxListItem
*) 0 ;
19093 PyObject
* obj0
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19100 result
= (int) ((arg1
)->m_format
);
19102 resultobj
= SWIG_PyObj_FromInt((int)result
);
19109 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxListItem
*arg1
= (wxListItem
*) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 PyObject
* obj1
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self",(char *) "m_width", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19122 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 if (arg1
) (arg1
)->m_width
= arg2
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxListItem
*arg1
= (wxListItem
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19145 result
= (int) ((arg1
)->m_width
);
19147 resultobj
= SWIG_PyObj_FromInt((int)result
);
19154 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19157 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19159 return Py_BuildValue((char *)"");
19161 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19164 int arg2
= (int) 0 ;
19165 wxListEvent
*result
;
19166 PyObject
* obj0
= 0 ;
19167 PyObject
* obj1
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "commandType",(char *) "id", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19175 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19181 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
19199 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19201 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "m_code", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 if (arg1
) (arg1
)->m_code
= arg2
;
19217 Py_INCREF(Py_None
); resultobj
= Py_None
;
19224 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19228 PyObject
* obj0
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19235 result
= (int) ((arg1
)->m_code
);
19237 resultobj
= SWIG_PyObj_FromInt((int)result
);
19244 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19248 PyObject
* obj0
= 0 ;
19249 PyObject
* obj1
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self",(char *) "m_oldItemIndex", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19257 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19262 Py_INCREF(Py_None
); resultobj
= Py_None
;
19269 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19280 result
= (long) ((arg1
)->m_oldItemIndex
);
19282 resultobj
= SWIG_PyObj_FromLong((long)result
);
19289 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19293 PyObject
* obj0
= 0 ;
19294 PyObject
* obj1
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self",(char *) "m_itemIndex", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19302 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19314 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19325 result
= (long) ((arg1
)->m_itemIndex
);
19327 resultobj
= SWIG_PyObj_FromLong((long)result
);
19334 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "m_col", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19347 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 if (arg1
) (arg1
)->m_col
= arg2
;
19352 Py_INCREF(Py_None
); resultobj
= Py_None
;
19359 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19370 result
= (int) ((arg1
)->m_col
);
19372 resultobj
= SWIG_PyObj_FromInt((int)result
);
19379 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19382 wxPoint
*arg2
= (wxPoint
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self",(char *) "m_pointDrag", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19392 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19394 Py_INCREF(Py_None
); resultobj
= Py_None
;
19401 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 char *kwnames
[] = {
19407 (char *) "self", NULL
19410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19412 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19421 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19424 wxListItem
*result
;
19425 PyObject
* obj0
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19432 result
= (wxListItem
*)& ((arg1
)->m_item
);
19435 resultobj
= wxPyMake_wxObject(result
);
19443 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= (int)(arg1
)->GetKeyCode();
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 resultobj
= SWIG_PyObj_FromInt((int)result
);
19468 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 char *kwnames
[] = {
19474 (char *) "self", NULL
19477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 result
= (long)(arg1
)->GetIndex();
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 resultobj
= SWIG_PyObj_FromLong((long)result
);
19493 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (int)(arg1
)->GetColumn();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= SWIG_PyObj_FromInt((int)result
);
19518 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (arg1
)->GetPoint();
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19537 wxPoint
* resultptr
;
19538 resultptr
= new wxPoint((wxPoint
&) result
);
19539 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19547 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 wxString
const &_result_ref
= (arg1
)->GetLabel();
19562 result
= (wxString
*) &_result_ref
;
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19572 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19581 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19583 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "self", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 wxString
const &_result_ref
= (arg1
)->GetText();
19596 result
= (wxString
*) &_result_ref
;
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19615 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (int)(arg1
)->GetImage();
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= SWIG_PyObj_FromInt((int)result
);
19640 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= (long)(arg1
)->GetData();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= SWIG_PyObj_FromLong((long)result
);
19665 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (long)(arg1
)->GetMask();
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_PyObj_FromLong((long)result
);
19690 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19693 wxListItem
*result
;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19705 result
= (wxListItem
*) &_result_ref
;
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19718 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19720 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (long)(arg1
)->GetCacheFrom();
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= SWIG_PyObj_FromLong((long)result
);
19743 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19747 PyObject
* obj0
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (long)(arg1
)->GetCacheTo();
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_PyObj_FromLong((long)result
);
19768 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19793 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "editCancelled", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19806 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 (arg1
)->SetEditCanceled(arg2
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19826 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19828 return Py_BuildValue((char *)"");
19830 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxWindow
*arg1
= (wxWindow
*) 0 ;
19833 int arg2
= (int) -1 ;
19834 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19835 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19836 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19837 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19838 long arg5
= (long) wxLC_ICON
;
19839 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19840 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19841 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19842 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19843 wxPyListCtrl
*result
;
19846 bool temp7
= False
;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 PyObject
* obj2
= 0 ;
19850 PyObject
* obj3
= 0 ;
19851 PyObject
* obj4
= 0 ;
19852 PyObject
* obj5
= 0 ;
19853 PyObject
* obj6
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19862 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19869 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19875 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19880 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19885 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19886 if (arg6
== NULL
) {
19887 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19892 arg7
= wxString_in_helper(obj6
);
19893 if (arg7
== NULL
) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19919 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19920 PyObject
*resultobj
;
19921 wxPyListCtrl
*result
;
19922 char *kwnames
[] = {
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19941 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19944 wxWindow
*arg2
= (wxWindow
*) 0 ;
19945 int arg3
= (int) -1 ;
19946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19950 long arg6
= (long) wxLC_ICON
;
19951 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19952 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19953 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19954 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19958 bool temp8
= False
;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 PyObject
* obj2
= 0 ;
19962 PyObject
* obj3
= 0 ;
19963 PyObject
* obj4
= 0 ;
19964 PyObject
* obj5
= 0 ;
19965 PyObject
* obj6
= 0 ;
19966 PyObject
* obj7
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19983 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19989 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19994 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19999 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20000 if (arg7
== NULL
) {
20001 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20006 arg8
= wxString_in_helper(obj7
);
20007 if (arg8
== NULL
) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20033 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20036 PyObject
*arg2
= (PyObject
*) 0 ;
20037 PyObject
*arg3
= (PyObject
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 PyObject
* obj2
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self",(char *) "self",(char *) "_class", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 Py_INCREF(Py_None
); resultobj
= Py_None
;
20063 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20066 wxColour
*arg2
= 0 ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self",(char *) "col", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20095 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20098 wxColour
*arg2
= 0 ;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self",(char *) "col", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20111 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20127 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20131 wxListItem
*result
;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self",(char *) "col", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20141 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= wxPyMake_wxObject(result
);
20160 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20164 wxListItem
*arg3
= 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 PyObject
* obj2
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "col",(char *) "item", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20176 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20180 if (arg3
== NULL
) {
20181 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20197 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 PyObject
* obj1
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self",(char *) "col", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20211 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 resultobj
= SWIG_PyObj_FromInt((int)result
);
20228 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20234 PyObject
* obj0
= 0 ;
20235 PyObject
* obj1
= 0 ;
20236 PyObject
* obj2
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self",(char *) "col",(char *) "width", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20244 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20265 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
;
20267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20269 PyObject
* obj0
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= SWIG_PyObj_FromInt((int)result
);
20290 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20309 wxRect
* resultptr
;
20310 resultptr
= new wxRect((wxRect
&) result
);
20311 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20319 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20322 wxTextCtrl
*result
;
20323 PyObject
* obj0
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= wxPyMake_wxObject(result
);
20346 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20350 int arg3
= (int) 0 ;
20351 wxListItem
*result
;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20354 PyObject
* obj2
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "itemId",(char *) "col", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20362 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20367 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= wxPyMake_wxObject(result
);
20387 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20390 wxListItem
*arg2
= 0 ;
20392 PyObject
* obj0
= 0 ;
20393 PyObject
* obj1
= 0 ;
20394 char *kwnames
[] = {
20395 (char *) "self",(char *) "info", NULL
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20401 if (arg2
== NULL
) {
20402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= (bool)(arg1
)->SetItem(*arg2
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20418 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20423 wxString
*arg4
= 0 ;
20424 int arg5
= (int) -1 ;
20426 bool temp4
= False
;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20429 PyObject
* obj2
= 0 ;
20430 PyObject
* obj3
= 0 ;
20431 PyObject
* obj4
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20439 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20443 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20447 arg4
= wxString_in_helper(obj3
);
20448 if (arg4
== NULL
) SWIG_fail
;
20453 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= SWIG_PyObj_FromLong((long)result
);
20479 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20485 PyObject
* obj0
= 0 ;
20486 PyObject
* obj1
= 0 ;
20487 PyObject
* obj2
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20495 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20499 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_PyObj_FromInt((int)result
);
20516 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 PyObject
* obj2
= 0 ;
20526 PyObject
* obj3
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20534 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20538 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20542 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20559 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 PyObject
* obj2
= 0 ;
20569 PyObject
* obj3
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20577 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20581 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20585 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20602 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self",(char *) "item", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20616 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20639 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20643 wxString
*arg3
= 0 ;
20644 bool temp3
= False
;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 PyObject
* obj2
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "self",(char *) "item",(char *) "str", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20655 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20659 arg3
= wxString_in_helper(obj2
);
20660 if (arg3
== NULL
) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 Py_INCREF(Py_None
); resultobj
= Py_None
;
20685 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self",(char *) "item", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20699 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= SWIG_PyObj_FromLong((long)result
);
20716 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 PyObject
* obj2
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self",(char *) "item",(char *) "data", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20732 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20753 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20758 PyObject
* obj0
= 0 ;
20759 PyObject
* obj1
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self",(char *) "item", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20767 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20778 wxPoint
* resultptr
;
20779 resultptr
= new wxPoint((wxPoint
&) result
);
20780 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20788 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20792 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20794 PyObject
* obj0
= 0 ;
20795 PyObject
* obj1
= 0 ;
20796 PyObject
* obj2
= 0 ;
20797 char *kwnames
[] = {
20798 (char *) "self",(char *) "item",(char *) "code", NULL
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20804 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20809 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20821 wxRect
* resultptr
;
20822 resultptr
= new wxRect((wxRect
&) result
);
20823 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20831 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20832 PyObject
*resultobj
;
20833 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20835 wxPoint
*arg3
= 0 ;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20840 PyObject
* obj2
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self",(char *) "item",(char *) "pos", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20848 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20853 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20869 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= SWIG_PyObj_FromInt((int)result
);
20894 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_PyObj_FromInt((int)result
);
20919 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20923 PyObject
* obj0
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20938 wxSize
* resultptr
;
20939 resultptr
= new wxSize((wxSize
&) result
);
20940 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20948 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= SWIG_PyObj_FromInt((int)result
);
20973 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20977 PyObject
* obj0
= 0 ;
20978 char *kwnames
[] = {
20979 (char *) "self", NULL
20982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 wxColour
* resultptr
;
20993 resultptr
= new wxColour((wxColour
&) result
);
20994 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21002 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21005 wxColour
*arg2
= 0 ;
21007 PyObject
* obj0
= 0 ;
21008 PyObject
* obj1
= 0 ;
21009 char *kwnames
[] = {
21010 (char *) "self",(char *) "col", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21017 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 Py_INCREF(Py_None
); resultobj
= Py_None
;
21033 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21037 PyObject
* obj0
= 0 ;
21038 char *kwnames
[] = {
21039 (char *) "self", NULL
21042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 resultobj
= SWIG_PyObj_FromLong((long)result
);
21058 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21062 bool arg3
= (bool) True
;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 PyObject
* obj2
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self",(char *) "style",(char *) "add", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21073 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21078 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 (arg1
)->SetSingleStyle(arg2
,arg3
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 Py_INCREF(Py_None
); resultobj
= Py_None
;
21096 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 PyObject
* obj1
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "self",(char *) "style", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21109 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 (arg1
)->SetWindowStyleFlag(arg2
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 Py_INCREF(Py_None
); resultobj
= Py_None
;
21126 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21130 int arg3
= (int) wxLIST_NEXT_ALL
;
21131 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 PyObject
* obj2
= 0 ;
21136 PyObject
* obj3
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21144 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21149 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21155 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= SWIG_PyObj_FromLong((long)result
);
21173 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21177 wxImageList
*result
;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self",(char *) "which", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21187 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= wxPyMake_wxObject(result
);
21206 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21209 wxImageList
*arg2
= (wxImageList
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 PyObject
* obj2
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self",(char *) "imageList",(char *) "which", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21222 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 (arg1
)->SetImageList(arg2
,arg3
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 Py_INCREF(Py_None
); resultobj
= Py_None
;
21239 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21242 wxImageList
*arg2
= (wxImageList
*) 0 ;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 PyObject
* obj2
= 0 ;
21247 char *kwnames
[] = {
21248 (char *) "self",(char *) "imageList",(char *) "which", NULL
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21255 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 (arg1
)->AssignImageList(arg2
,arg3
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 Py_INCREF(Py_None
); resultobj
= Py_None
;
21272 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21297 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self",(char *) "item", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21310 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 (arg1
)->RefreshItem(arg2
);
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 Py_INCREF(Py_None
); resultobj
= Py_None
;
21327 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 PyObject
* obj2
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21342 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21346 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 (arg1
)->RefreshItems(arg2
,arg3
);
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 Py_INCREF(Py_None
); resultobj
= Py_None
;
21363 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21366 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21368 PyObject
* obj0
= 0 ;
21369 PyObject
* obj1
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self",(char *) "flag", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21378 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (bool)(arg1
)->Arrange(arg2
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21396 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self",(char *) "item", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21410 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (bool)(arg1
)->DeleteItem(arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21427 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (bool)(arg1
)->DeleteAllItems();
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21452 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self",(char *) "col", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21466 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21483 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
;
21485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21487 PyObject
* obj0
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "self", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (bool)(arg1
)->DeleteAllColumns();
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21508 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 (arg1
)->ClearAll();
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 Py_INCREF(Py_None
); resultobj
= Py_None
;
21532 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21536 wxTextCtrl
*result
;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "item", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21546 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= wxPyMake_wxObject(result
);
21565 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self",(char *) "cancel", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21579 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21596 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self",(char *) "item", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21610 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21627 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21631 wxString
*arg3
= 0 ;
21632 bool arg4
= (bool) False
;
21634 bool temp3
= False
;
21635 PyObject
* obj0
= 0 ;
21636 PyObject
* obj1
= 0 ;
21637 PyObject
* obj2
= 0 ;
21638 PyObject
* obj3
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21646 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21650 arg3
= wxString_in_helper(obj2
);
21651 if (arg3
== NULL
) SWIG_fail
;
21656 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= SWIG_PyObj_FromLong((long)result
);
21682 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 PyObject
* obj2
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self",(char *) "start",(char *) "data", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21698 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21702 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= SWIG_PyObj_FromLong((long)result
);
21719 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21723 wxPoint
*arg3
= 0 ;
21727 PyObject
* obj0
= 0 ;
21728 PyObject
* obj1
= 0 ;
21729 PyObject
* obj2
= 0 ;
21730 PyObject
* obj3
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21738 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21743 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21746 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= SWIG_PyObj_FromLong((long)result
);
21763 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21766 wxPoint
*arg2
= 0 ;
21771 PyObject
* obj0
= 0 ;
21772 PyObject
* obj1
= 0 ;
21773 char *kwnames
[] = {
21774 (char *) "self",(char *) "point", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_PyObj_FromLong((long)result
);
21793 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21794 resultobj
= t_output_helper(resultobj
,o
);
21802 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21805 wxListItem
*arg2
= 0 ;
21807 PyObject
* obj0
= 0 ;
21808 PyObject
* obj1
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self",(char *) "info", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21816 if (arg2
== NULL
) {
21817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (long)(arg1
)->InsertItem(*arg2
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= SWIG_PyObj_FromLong((long)result
);
21833 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21837 wxString
*arg3
= 0 ;
21839 bool temp3
= False
;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 PyObject
* obj2
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "self",(char *) "index",(char *) "label", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21850 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21854 arg3
= wxString_in_helper(obj2
);
21855 if (arg3
== NULL
) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= SWIG_PyObj_FromLong((long)result
);
21880 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 PyObject
* obj2
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21896 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= SWIG_PyObj_FromLong((long)result
);
21917 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21921 wxString
*arg3
= 0 ;
21924 bool temp3
= False
;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 PyObject
* obj2
= 0 ;
21928 PyObject
* obj3
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21936 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21940 arg3
= wxString_in_helper(obj2
);
21941 if (arg3
== NULL
) SWIG_fail
;
21945 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= SWIG_PyObj_FromLong((long)result
);
21970 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
;
21972 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21974 wxListItem
*arg3
= 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 PyObject
* obj2
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "col",(char *) "info", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21986 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21990 if (arg3
== NULL
) {
21991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 resultobj
= SWIG_PyObj_FromLong((long)result
);
22007 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22011 wxString
*arg3
= 0 ;
22012 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22013 int arg5
= (int) -1 ;
22015 bool temp3
= False
;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 PyObject
* obj2
= 0 ;
22019 PyObject
* obj3
= 0 ;
22020 PyObject
* obj4
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22028 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 arg3
= wxString_in_helper(obj2
);
22033 if (arg3
== NULL
) SWIG_fail
;
22038 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22044 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= SWIG_PyObj_FromLong((long)result
);
22070 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "count", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22083 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 (arg1
)->SetItemCount(arg2
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 Py_INCREF(Py_None
); resultobj
= Py_None
;
22100 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 PyObject
* obj2
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "self",(char *) "dx",(char *) "dy", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22116 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22137 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22141 wxColour
*arg3
= 0 ;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 PyObject
* obj2
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "item",(char *) "col", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22153 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22158 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 Py_INCREF(Py_None
); resultobj
= Py_None
;
22174 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
;
22176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "item", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22188 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 wxColour
* resultptr
;
22200 resultptr
= new wxColour((wxColour
&) result
);
22201 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22209 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22213 wxColour
*arg3
= 0 ;
22215 PyObject
* obj0
= 0 ;
22216 PyObject
* obj1
= 0 ;
22217 PyObject
* obj2
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self",(char *) "item",(char *) "col", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22225 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22230 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 Py_INCREF(Py_None
); resultobj
= Py_None
;
22246 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22251 PyObject
* obj0
= 0 ;
22252 PyObject
* obj1
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self",(char *) "item", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22260 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 wxColour
* resultptr
;
22272 resultptr
= new wxColour((wxColour
&) result
);
22273 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22281 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22284 PyObject
*arg2
= (PyObject
*) 0 ;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self",(char *) "func", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22309 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22313 PyObject
* obj0
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22328 resultobj
= wxPyMake_wxObject(result
);
22336 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22339 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22341 return Py_BuildValue((char *)"");
22343 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxWindow
*arg1
= (wxWindow
*) 0 ;
22346 int arg2
= (int) -1 ;
22347 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22348 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22349 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22350 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22351 long arg5
= (long) wxLC_REPORT
;
22352 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22353 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22354 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22355 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22356 wxListView
*result
;
22359 bool temp7
= False
;
22360 PyObject
* obj0
= 0 ;
22361 PyObject
* obj1
= 0 ;
22362 PyObject
* obj2
= 0 ;
22363 PyObject
* obj3
= 0 ;
22364 PyObject
* obj4
= 0 ;
22365 PyObject
* obj5
= 0 ;
22366 PyObject
* obj6
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22375 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22388 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22393 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22398 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22399 if (arg6
== NULL
) {
22400 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22405 arg7
= wxString_in_helper(obj6
);
22406 if (arg7
== NULL
) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22432 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxListView
*result
;
22435 char *kwnames
[] = {
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= (wxListView
*)new wxListView();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22454 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxListView
*arg1
= (wxListView
*) 0 ;
22457 wxWindow
*arg2
= (wxWindow
*) 0 ;
22458 int arg3
= (int) -1 ;
22459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22463 long arg6
= (long) wxLC_REPORT
;
22464 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22465 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22466 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22471 bool temp8
= False
;
22472 PyObject
* obj0
= 0 ;
22473 PyObject
* obj1
= 0 ;
22474 PyObject
* obj2
= 0 ;
22475 PyObject
* obj3
= 0 ;
22476 PyObject
* obj4
= 0 ;
22477 PyObject
* obj5
= 0 ;
22478 PyObject
* obj6
= 0 ;
22479 PyObject
* obj7
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22489 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22502 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22507 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22512 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22513 if (arg7
== NULL
) {
22514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22519 arg8
= wxString_in_helper(obj7
);
22520 if (arg8
== NULL
) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22546 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxListView
*arg1
= (wxListView
*) 0 ;
22550 bool arg3
= (bool) True
;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 PyObject
* obj2
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self",(char *) "n",(char *) "on", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22561 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22566 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 (arg1
)->Select(arg2
,arg3
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 Py_INCREF(Py_None
); resultobj
= Py_None
;
22584 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxListView
*arg1
= (wxListView
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "index", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22597 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->Focus(arg2
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 Py_INCREF(Py_None
); resultobj
= Py_None
;
22614 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxListView
*arg1
= (wxListView
*) 0 ;
22618 PyObject
* obj0
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= SWIG_PyObj_FromLong((long)result
);
22639 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxListView
*arg1
= (wxListView
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 PyObject
* obj1
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self",(char *) "item", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22653 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_PyObj_FromLong((long)result
);
22670 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxListView
*arg1
= (wxListView
*) 0 ;
22674 PyObject
* obj0
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= SWIG_PyObj_FromLong((long)result
);
22695 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxListView
*arg1
= (wxListView
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 PyObject
* obj1
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "self",(char *) "index", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22709 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (bool)(arg1
)->IsSelected(arg2
);
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22726 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxListView
*arg1
= (wxListView
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 PyObject
* obj1
= 0 ;
22733 PyObject
* obj2
= 0 ;
22734 char *kwnames
[] = {
22735 (char *) "self",(char *) "col",(char *) "image", NULL
22738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22741 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22745 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 (arg1
)->SetColumnImage(arg2
,arg3
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 Py_INCREF(Py_None
); resultobj
= Py_None
;
22762 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxListView
*arg1
= (wxListView
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self",(char *) "col", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22775 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 (arg1
)->ClearColumnImage(arg2
);
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 Py_INCREF(Py_None
); resultobj
= Py_None
;
22792 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22795 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22797 return Py_BuildValue((char *)"");
22799 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22800 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22805 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22810 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22812 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22819 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22821 wxTreeItemId
*result
;
22822 char *kwnames
[] = {
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= (wxTreeItemId
*)new wxTreeItemId();
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22841 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22844 PyObject
* obj0
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "self", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 Py_INCREF(Py_None
); resultobj
= Py_None
;
22865 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22869 PyObject
* obj0
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22890 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22893 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 PyObject
* obj1
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self",(char *) "other", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22918 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22921 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22923 PyObject
* obj0
= 0 ;
22924 PyObject
* obj1
= 0 ;
22925 char *kwnames
[] = {
22926 (char *) "self",(char *) "other", NULL
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22931 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22946 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22949 void *arg2
= (void *) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "m_pItem", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22959 if (arg1
) (arg1
)->m_pItem
= arg2
;
22961 Py_INCREF(Py_None
); resultobj
= Py_None
;
22968 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22970 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22972 PyObject
* obj0
= 0 ;
22973 char *kwnames
[] = {
22974 (char *) "self", NULL
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22979 result
= (void *) ((arg1
)->m_pItem
);
22981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22988 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22991 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22993 return Py_BuildValue((char *)"");
22995 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 PyObject
*arg1
= (PyObject
*) NULL
;
22998 wxPyTreeItemData
*result
;
22999 PyObject
* obj0
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "obj", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23012 wxPyEndAllowThreads(__tstate
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
23022 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23026 PyObject
* obj0
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (PyObject
*)(arg1
)->GetData();
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= result
;
23047 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23050 PyObject
*arg2
= (PyObject
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 PyObject
* obj1
= 0 ;
23053 char *kwnames
[] = {
23054 (char *) "self",(char *) "obj", NULL
23057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 (arg1
)->SetData(arg2
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 Py_INCREF(Py_None
); resultobj
= Py_None
;
23074 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23075 PyObject
*resultobj
;
23076 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23077 wxTreeItemId
*result
;
23078 PyObject
* obj0
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "self", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23089 result
= (wxTreeItemId
*) &_result_ref
;
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
23102 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23105 wxTreeItemId
*arg2
= 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self",(char *) "id", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23115 if (arg2
== NULL
) {
23116 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 Py_INCREF(Py_None
); resultobj
= Py_None
;
23132 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 wxPyTreeItemData_Destroy(arg1
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 Py_INCREF(Py_None
); resultobj
= Py_None
;
23156 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23159 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23161 return Py_BuildValue((char *)"");
23163 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23166 int arg2
= (int) 0 ;
23167 wxTreeEvent
*result
;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "commandType",(char *) "id", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23177 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23183 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
23201 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23204 wxTreeItemId result
;
23205 PyObject
* obj0
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 wxTreeItemId
* resultptr
;
23221 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23222 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23230 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23233 wxTreeItemId
*arg2
= 0 ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self",(char *) "item", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23243 if (arg2
== NULL
) {
23244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 Py_INCREF(Py_None
); resultobj
= Py_None
;
23260 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
;
23262 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23263 wxTreeItemId result
;
23264 PyObject
* obj0
= 0 ;
23265 char *kwnames
[] = {
23266 (char *) "self", NULL
23269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23279 wxTreeItemId
* resultptr
;
23280 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23281 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23289 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
;
23291 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23292 wxTreeItemId
*arg2
= 0 ;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 char *kwnames
[] = {
23296 (char *) "self",(char *) "item", NULL
23299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23301 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23302 if (arg2
== NULL
) {
23303 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 Py_INCREF(Py_None
); resultobj
= Py_None
;
23319 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23321 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23323 PyObject
* obj0
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "self", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23338 wxPoint
* resultptr
;
23339 resultptr
= new wxPoint((wxPoint
&) result
);
23340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23348 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23351 wxPoint
*arg2
= 0 ;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 char *kwnames
[] = {
23356 (char *) "self",(char *) "pt", NULL
23359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 Py_INCREF(Py_None
); resultobj
= Py_None
;
23379 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23382 wxKeyEvent
*result
;
23383 PyObject
* obj0
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23394 result
= (wxKeyEvent
*) &_result_ref
;
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23407 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23411 PyObject
* obj0
= 0 ;
23412 char *kwnames
[] = {
23413 (char *) "self", NULL
23416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= SWIG_PyObj_FromInt((int)result
);
23432 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
;
23434 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23435 wxKeyEvent
*arg2
= 0 ;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "evt", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23445 if (arg2
== NULL
) {
23446 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 Py_INCREF(Py_None
); resultobj
= Py_None
;
23462 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23464 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23477 result
= (wxString
*) &_result_ref
;
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23485 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23487 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23496 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23499 wxString
*arg2
= 0 ;
23500 bool temp2
= False
;
23501 PyObject
* obj0
= 0 ;
23502 PyObject
* obj1
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self",(char *) "label", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23510 arg2
= wxString_in_helper(obj1
);
23511 if (arg2
== NULL
) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 (arg1
)->SetLabel((wxString
const &)*arg2
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 Py_INCREF(Py_None
); resultobj
= Py_None
;
23536 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23540 PyObject
* obj0
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23561 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self",(char *) "editCancelled", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23574 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 (arg1
)->SetEditCanceled(arg2
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 Py_INCREF(Py_None
); resultobj
= Py_None
;
23591 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23594 wxString
*arg2
= 0 ;
23595 bool temp2
= False
;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self",(char *) "toolTip", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23605 arg2
= wxString_in_helper(obj1
);
23606 if (arg2
== NULL
) SWIG_fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23616 Py_INCREF(Py_None
); resultobj
= Py_None
;
23631 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23634 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23636 return Py_BuildValue((char *)"");
23638 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 wxWindow
*arg1
= (wxWindow
*) 0 ;
23641 int arg2
= (int) -1 ;
23642 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23643 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23644 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23645 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23646 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23647 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23648 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23649 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23650 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23651 wxPyTreeCtrl
*result
;
23654 bool temp7
= False
;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 PyObject
* obj2
= 0 ;
23658 PyObject
* obj3
= 0 ;
23659 PyObject
* obj4
= 0 ;
23660 PyObject
* obj5
= 0 ;
23661 PyObject
* obj6
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23670 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23683 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23688 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23693 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23694 if (arg6
== NULL
) {
23695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23700 arg7
= wxString_in_helper(obj6
);
23701 if (arg7
== NULL
) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= wxPyMake_wxObject(result
);
23729 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxPyTreeCtrl
*result
;
23732 char *kwnames
[] = {
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= wxPyMake_wxObject(result
);
23753 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23756 wxWindow
*arg2
= (wxWindow
*) 0 ;
23757 int arg3
= (int) -1 ;
23758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23762 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23763 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23764 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23765 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23766 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23770 bool temp8
= False
;
23771 PyObject
* obj0
= 0 ;
23772 PyObject
* obj1
= 0 ;
23773 PyObject
* obj2
= 0 ;
23774 PyObject
* obj3
= 0 ;
23775 PyObject
* obj4
= 0 ;
23776 PyObject
* obj5
= 0 ;
23777 PyObject
* obj6
= 0 ;
23778 PyObject
* obj7
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23788 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23806 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23811 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23812 if (arg7
== NULL
) {
23813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23818 arg8
= wxString_in_helper(obj7
);
23819 if (arg8
== NULL
) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23845 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23848 PyObject
*arg2
= (PyObject
*) 0 ;
23849 PyObject
*arg3
= (PyObject
*) 0 ;
23850 PyObject
* obj0
= 0 ;
23851 PyObject
* obj1
= 0 ;
23852 PyObject
* obj2
= 0 ;
23853 char *kwnames
[] = {
23854 (char *) "self",(char *) "self",(char *) "_class", NULL
23857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 Py_INCREF(Py_None
); resultobj
= Py_None
;
23875 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23900 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23903 unsigned int result
;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23925 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
;
23927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23928 unsigned int arg2
;
23929 PyObject
* obj0
= 0 ;
23930 PyObject
* obj1
= 0 ;
23931 char *kwnames
[] = {
23932 (char *) "self",(char *) "indent", NULL
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23938 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 (arg1
)->SetIndent(arg2
);
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 Py_INCREF(Py_None
); resultobj
= Py_None
;
23955 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
;
23957 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23958 unsigned int result
;
23959 PyObject
* obj0
= 0 ;
23960 char *kwnames
[] = {
23961 (char *) "self", NULL
23964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23980 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23983 unsigned int arg2
;
23984 PyObject
* obj0
= 0 ;
23985 PyObject
* obj1
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self",(char *) "spacing", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23993 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 (arg1
)->SetSpacing(arg2
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 Py_INCREF(Py_None
); resultobj
= Py_None
;
24010 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24013 wxImageList
*result
;
24014 PyObject
* obj0
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= wxPyMake_wxObject(result
);
24037 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24040 wxImageList
*result
;
24041 PyObject
* obj0
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24056 resultobj
= wxPyMake_wxObject(result
);
24064 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24067 wxImageList
*arg2
= (wxImageList
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self",(char *) "imageList", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 (arg1
)->SetImageList(arg2
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 Py_INCREF(Py_None
); resultobj
= Py_None
;
24091 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24094 wxImageList
*arg2
= (wxImageList
*) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 PyObject
* obj1
= 0 ;
24097 char *kwnames
[] = {
24098 (char *) "self",(char *) "imageList", NULL
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->SetStateImageList(arg2
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 Py_INCREF(Py_None
); resultobj
= Py_None
;
24118 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24121 wxImageList
*arg2
= (wxImageList
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self",(char *) "imageList", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 (arg1
)->AssignImageList(arg2
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 Py_INCREF(Py_None
); resultobj
= Py_None
;
24145 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24148 wxImageList
*arg2
= (wxImageList
*) 0 ;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "self",(char *) "imageList", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 (arg1
)->AssignStateImageList(arg2
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 Py_INCREF(Py_None
); resultobj
= Py_None
;
24172 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24175 wxTreeItemId
*arg2
= 0 ;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 char *kwnames
[] = {
24180 (char *) "self",(char *) "item", NULL
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24186 if (arg2
== NULL
) {
24187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24209 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24212 wxTreeItemId
*arg2
= 0 ;
24213 int arg3
= (int) wxTreeItemIcon_Normal
;
24215 PyObject
* obj0
= 0 ;
24216 PyObject
* obj1
= 0 ;
24217 PyObject
* obj2
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "self",(char *) "item",(char *) "which", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24225 if (arg2
== NULL
) {
24226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24230 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 resultobj
= SWIG_PyObj_FromInt((int)result
);
24248 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24251 wxTreeItemId
*arg2
= 0 ;
24252 wxPyTreeItemData
*result
;
24253 PyObject
* obj0
= 0 ;
24254 PyObject
* obj1
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self",(char *) "item", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24262 if (arg2
== NULL
) {
24263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
24279 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24282 wxTreeItemId
*arg2
= 0 ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 char *kwnames
[] = {
24287 (char *) "self",(char *) "item", NULL
24290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24293 if (arg2
== NULL
) {
24294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= result
;
24310 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24313 wxTreeItemId
*arg2
= 0 ;
24315 PyObject
* obj0
= 0 ;
24316 PyObject
* obj1
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self",(char *) "item", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24324 if (arg2
== NULL
) {
24325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 wxColour
* resultptr
;
24336 resultptr
= new wxColour((wxColour
&) result
);
24337 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24345 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24346 PyObject
*resultobj
;
24347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24348 wxTreeItemId
*arg2
= 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "self",(char *) "item", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24359 if (arg2
== NULL
) {
24360 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24370 wxColour
* resultptr
;
24371 resultptr
= new wxColour((wxColour
&) result
);
24372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24380 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24383 wxTreeItemId
*arg2
= 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self",(char *) "item", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24394 if (arg2
== NULL
) {
24395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24405 wxFont
* resultptr
;
24406 resultptr
= new wxFont((wxFont
&) result
);
24407 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24415 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24418 wxTreeItemId
*arg2
= 0 ;
24419 wxString
*arg3
= 0 ;
24420 bool temp3
= False
;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 PyObject
* obj2
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self",(char *) "item",(char *) "text", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24431 if (arg2
== NULL
) {
24432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24435 arg3
= wxString_in_helper(obj2
);
24436 if (arg3
== NULL
) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 Py_INCREF(Py_None
); resultobj
= Py_None
;
24461 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24464 wxTreeItemId
*arg2
= 0 ;
24466 int arg4
= (int) wxTreeItemIcon_Normal
;
24467 PyObject
* obj0
= 0 ;
24468 PyObject
* obj1
= 0 ;
24469 PyObject
* obj2
= 0 ;
24470 PyObject
* obj3
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24478 if (arg2
== NULL
) {
24479 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24482 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24487 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 Py_INCREF(Py_None
); resultobj
= Py_None
;
24505 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24508 wxTreeItemId
*arg2
= 0 ;
24509 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24510 PyObject
* obj0
= 0 ;
24511 PyObject
* obj1
= 0 ;
24512 PyObject
* obj2
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self",(char *) "item",(char *) "data", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24520 if (arg2
== NULL
) {
24521 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24523 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 Py_INCREF(Py_None
); resultobj
= Py_None
;
24538 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24541 wxTreeItemId
*arg2
= 0 ;
24542 PyObject
*arg3
= (PyObject
*) 0 ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 PyObject
* obj2
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "item",(char *) "obj", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24553 if (arg2
== NULL
) {
24554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 Py_INCREF(Py_None
); resultobj
= Py_None
;
24571 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24574 wxTreeItemId
*arg2
= 0 ;
24575 bool arg3
= (bool) True
;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 PyObject
* obj2
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "item",(char *) "has", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24586 if (arg2
== NULL
) {
24587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24591 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 Py_INCREF(Py_None
); resultobj
= Py_None
;
24609 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24612 wxTreeItemId
*arg2
= 0 ;
24613 bool arg3
= (bool) True
;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 PyObject
* obj2
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "item",(char *) "bold", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24624 if (arg2
== NULL
) {
24625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24629 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24650 wxTreeItemId
*arg2
= 0 ;
24651 bool arg3
= (bool) True
;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 PyObject
* obj2
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "item",(char *) "highlight", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24662 if (arg2
== NULL
) {
24663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24667 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 Py_INCREF(Py_None
); resultobj
= Py_None
;
24685 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24688 wxTreeItemId
*arg2
= 0 ;
24689 wxColour
*arg3
= 0 ;
24691 PyObject
* obj0
= 0 ;
24692 PyObject
* obj1
= 0 ;
24693 PyObject
* obj2
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self",(char *) "item",(char *) "col", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24701 if (arg2
== NULL
) {
24702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24706 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 Py_INCREF(Py_None
); resultobj
= Py_None
;
24722 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24725 wxTreeItemId
*arg2
= 0 ;
24726 wxColour
*arg3
= 0 ;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 PyObject
* obj2
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self",(char *) "item",(char *) "col", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24738 if (arg2
== NULL
) {
24739 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24743 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 Py_INCREF(Py_None
); resultobj
= Py_None
;
24759 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24762 wxTreeItemId
*arg2
= 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 PyObject
* obj2
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self",(char *) "item",(char *) "font", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24774 if (arg2
== NULL
) {
24775 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24777 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24778 if (arg3
== NULL
) {
24779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 Py_INCREF(Py_None
); resultobj
= Py_None
;
24795 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24798 wxTreeItemId
*arg2
= 0 ;
24800 PyObject
* obj0
= 0 ;
24801 PyObject
* obj1
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self",(char *) "item", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24809 if (arg2
== NULL
) {
24810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24826 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24829 wxTreeItemId
*arg2
= 0 ;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self",(char *) "item", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24840 if (arg2
== NULL
) {
24841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24857 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24860 wxTreeItemId
*arg2
= 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self",(char *) "item", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24870 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24871 if (arg2
== NULL
) {
24872 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24888 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24891 wxTreeItemId
*arg2
= 0 ;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char *kwnames
[] = {
24896 (char *) "self",(char *) "item", NULL
24899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24902 if (arg2
== NULL
) {
24903 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24919 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
;
24921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24922 wxTreeItemId
*arg2
= 0 ;
24924 PyObject
* obj0
= 0 ;
24925 PyObject
* obj1
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self",(char *) "item", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24933 if (arg2
== NULL
) {
24934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24950 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24953 wxTreeItemId
*arg2
= 0 ;
24954 bool arg3
= (bool) True
;
24956 PyObject
* obj0
= 0 ;
24957 PyObject
* obj1
= 0 ;
24958 PyObject
* obj2
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "self",(char *) "item",(char *) "recursively", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24965 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24966 if (arg2
== NULL
) {
24967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24971 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24989 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
;
24991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24992 wxTreeItemId result
;
24993 PyObject
* obj0
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25008 wxTreeItemId
* resultptr
;
25009 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25010 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25018 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
;
25020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25021 wxTreeItemId result
;
25022 PyObject
* obj0
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25037 wxTreeItemId
* resultptr
;
25038 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25039 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25047 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
;
25049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= result
;
25072 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25075 wxTreeItemId
*arg2
= 0 ;
25076 wxTreeItemId result
;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self",(char *) "item", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25085 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25086 if (arg2
== NULL
) {
25087 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25097 wxTreeItemId
* resultptr
;
25098 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25107 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
;
25109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25110 wxTreeItemId
*arg2
= 0 ;
25112 PyObject
* obj0
= 0 ;
25113 PyObject
* obj1
= 0 ;
25114 char *kwnames
[] = {
25115 (char *) "self",(char *) "item", NULL
25118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25121 if (arg2
== NULL
) {
25122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= result
;
25138 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25141 wxTreeItemId
*arg2
= 0 ;
25142 void *arg3
= (void *) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 PyObject
* obj2
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self",(char *) "item",(char *) "cookie", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25154 if (arg2
== NULL
) {
25155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25157 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= result
;
25172 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25175 wxTreeItemId
*arg2
= 0 ;
25176 wxTreeItemId result
;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self",(char *) "item", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25186 if (arg2
== NULL
) {
25187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25197 wxTreeItemId
* resultptr
;
25198 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25199 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25207 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25210 wxTreeItemId
*arg2
= 0 ;
25211 wxTreeItemId result
;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "self",(char *) "item", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25221 if (arg2
== NULL
) {
25222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25232 wxTreeItemId
* resultptr
;
25233 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25234 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25242 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
;
25244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25245 wxTreeItemId
*arg2
= 0 ;
25246 wxTreeItemId result
;
25247 PyObject
* obj0
= 0 ;
25248 PyObject
* obj1
= 0 ;
25249 char *kwnames
[] = {
25250 (char *) "self",(char *) "item", NULL
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25256 if (arg2
== NULL
) {
25257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25267 wxTreeItemId
* resultptr
;
25268 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25269 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25277 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25280 wxTreeItemId result
;
25281 PyObject
* obj0
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25296 wxTreeItemId
* resultptr
;
25297 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25298 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25306 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25309 wxTreeItemId
*arg2
= 0 ;
25310 wxTreeItemId result
;
25311 PyObject
* obj0
= 0 ;
25312 PyObject
* obj1
= 0 ;
25313 char *kwnames
[] = {
25314 (char *) "self",(char *) "item", NULL
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25319 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25320 if (arg2
== NULL
) {
25321 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25331 wxTreeItemId
* resultptr
;
25332 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25333 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25341 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
;
25343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25344 wxTreeItemId
*arg2
= 0 ;
25345 wxTreeItemId result
;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self",(char *) "item", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25355 if (arg2
== NULL
) {
25356 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25366 wxTreeItemId
* resultptr
;
25367 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25368 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25376 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25379 wxString
*arg2
= 0 ;
25380 int arg3
= (int) -1 ;
25381 int arg4
= (int) -1 ;
25382 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25383 wxTreeItemId result
;
25384 bool temp2
= False
;
25385 PyObject
* obj0
= 0 ;
25386 PyObject
* obj1
= 0 ;
25387 PyObject
* obj2
= 0 ;
25388 PyObject
* obj3
= 0 ;
25389 PyObject
* obj4
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25397 arg2
= wxString_in_helper(obj1
);
25398 if (arg2
== NULL
) SWIG_fail
;
25403 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25409 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25414 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25424 wxTreeItemId
* resultptr
;
25425 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25426 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25442 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25445 wxTreeItemId
*arg2
= 0 ;
25446 wxString
*arg3
= 0 ;
25447 int arg4
= (int) -1 ;
25448 int arg5
= (int) -1 ;
25449 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25450 wxTreeItemId result
;
25451 bool temp3
= False
;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 PyObject
* obj2
= 0 ;
25455 PyObject
* obj3
= 0 ;
25456 PyObject
* obj4
= 0 ;
25457 PyObject
* obj5
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25464 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25465 if (arg2
== NULL
) {
25466 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25469 arg3
= wxString_in_helper(obj2
);
25470 if (arg3
== NULL
) SWIG_fail
;
25475 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25481 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25486 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25496 wxTreeItemId
* resultptr
;
25497 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25498 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25514 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25517 wxTreeItemId
*arg2
= 0 ;
25518 wxTreeItemId
*arg3
= 0 ;
25519 wxString
*arg4
= 0 ;
25520 int arg5
= (int) -1 ;
25521 int arg6
= (int) -1 ;
25522 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25523 wxTreeItemId result
;
25524 bool temp4
= False
;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 PyObject
* obj2
= 0 ;
25528 PyObject
* obj3
= 0 ;
25529 PyObject
* obj4
= 0 ;
25530 PyObject
* obj5
= 0 ;
25531 PyObject
* obj6
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25539 if (arg2
== NULL
) {
25540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25542 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25543 if (arg3
== NULL
) {
25544 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25547 arg4
= wxString_in_helper(obj3
);
25548 if (arg4
== NULL
) SWIG_fail
;
25553 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25559 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25564 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 wxTreeItemId
* resultptr
;
25575 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25576 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25592 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25595 wxTreeItemId
*arg2
= 0 ;
25597 wxString
*arg4
= 0 ;
25598 int arg5
= (int) -1 ;
25599 int arg6
= (int) -1 ;
25600 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25601 wxTreeItemId result
;
25602 bool temp4
= False
;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 PyObject
* obj2
= 0 ;
25606 PyObject
* obj3
= 0 ;
25607 PyObject
* obj4
= 0 ;
25608 PyObject
* obj5
= 0 ;
25609 PyObject
* obj6
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25617 if (arg2
== NULL
) {
25618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25621 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25625 arg4
= wxString_in_helper(obj3
);
25626 if (arg4
== NULL
) SWIG_fail
;
25631 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25637 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25642 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25652 wxTreeItemId
* resultptr
;
25653 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25654 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25670 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25673 wxTreeItemId
*arg2
= 0 ;
25674 wxString
*arg3
= 0 ;
25675 int arg4
= (int) -1 ;
25676 int arg5
= (int) -1 ;
25677 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25678 wxTreeItemId result
;
25679 bool temp3
= False
;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 PyObject
* obj2
= 0 ;
25683 PyObject
* obj3
= 0 ;
25684 PyObject
* obj4
= 0 ;
25685 PyObject
* obj5
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25693 if (arg2
== NULL
) {
25694 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25697 arg3
= wxString_in_helper(obj2
);
25698 if (arg3
== NULL
) SWIG_fail
;
25703 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25709 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25714 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25724 wxTreeItemId
* resultptr
;
25725 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25726 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25742 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25745 wxTreeItemId
*arg2
= 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 char *kwnames
[] = {
25749 (char *) "self",(char *) "item", NULL
25752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25754 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25755 if (arg2
== NULL
) {
25756 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 Py_INCREF(Py_None
); resultobj
= Py_None
;
25772 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25775 wxTreeItemId
*arg2
= 0 ;
25776 PyObject
* obj0
= 0 ;
25777 PyObject
* obj1
= 0 ;
25778 char *kwnames
[] = {
25779 (char *) "self",(char *) "item", NULL
25782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25785 if (arg2
== NULL
) {
25786 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 Py_INCREF(Py_None
); resultobj
= Py_None
;
25802 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
;
25804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25805 PyObject
* obj0
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 (arg1
)->DeleteAllItems();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 Py_INCREF(Py_None
); resultobj
= Py_None
;
25826 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25829 wxTreeItemId
*arg2
= 0 ;
25830 PyObject
* obj0
= 0 ;
25831 PyObject
* obj1
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self",(char *) "item", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25838 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25839 if (arg2
== NULL
) {
25840 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 Py_INCREF(Py_None
); resultobj
= Py_None
;
25856 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25859 wxTreeItemId
*arg2
= 0 ;
25860 PyObject
* obj0
= 0 ;
25861 PyObject
* obj1
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "item", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25868 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25869 if (arg2
== NULL
) {
25870 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 Py_INCREF(Py_None
); resultobj
= Py_None
;
25886 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25889 wxTreeItemId
*arg2
= 0 ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self",(char *) "item", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25899 if (arg2
== NULL
) {
25900 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 Py_INCREF(Py_None
); resultobj
= Py_None
;
25916 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
;
25918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25919 wxTreeItemId
*arg2
= 0 ;
25920 PyObject
* obj0
= 0 ;
25921 PyObject
* obj1
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "item", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25929 if (arg2
== NULL
) {
25930 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 Py_INCREF(Py_None
); resultobj
= Py_None
;
25946 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
;
25948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25949 PyObject
* obj0
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 (arg1
)->Unselect();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 Py_INCREF(Py_None
); resultobj
= Py_None
;
25970 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25973 PyObject
* obj0
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 (arg1
)->UnselectAll();
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25987 Py_INCREF(Py_None
); resultobj
= Py_None
;
25994 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25997 wxTreeItemId
*arg2
= 0 ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self",(char *) "item", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26007 if (arg2
== NULL
) {
26008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 Py_INCREF(Py_None
); resultobj
= Py_None
;
26024 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26027 wxTreeItemId
*arg2
= 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "item", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26037 if (arg2
== NULL
) {
26038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 Py_INCREF(Py_None
); resultobj
= Py_None
;
26054 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26055 PyObject
*resultobj
;
26056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26057 wxTreeItemId
*arg2
= 0 ;
26058 PyObject
* obj0
= 0 ;
26059 PyObject
* obj1
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self",(char *) "item", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26067 if (arg2
== NULL
) {
26068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 Py_INCREF(Py_None
); resultobj
= Py_None
;
26084 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26087 wxTreeItemId
*arg2
= 0 ;
26088 PyObject
* obj0
= 0 ;
26089 PyObject
* obj1
= 0 ;
26090 char *kwnames
[] = {
26091 (char *) "self",(char *) "item", NULL
26094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26097 if (arg2
== NULL
) {
26098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 Py_INCREF(Py_None
); resultobj
= Py_None
;
26114 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
;
26116 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26117 wxTextCtrl
*result
;
26118 PyObject
* obj0
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26133 resultobj
= wxPyMake_wxObject(result
);
26141 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26144 wxTreeItemId
*arg2
= 0 ;
26145 bool arg3
= (bool) False
;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 PyObject
* obj2
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26156 if (arg2
== NULL
) {
26157 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26161 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 Py_INCREF(Py_None
); resultobj
= Py_None
;
26179 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
;
26181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26182 wxTreeItemId
*arg2
= 0 ;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "self",(char *) "item", NULL
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26192 if (arg2
== NULL
) {
26193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 Py_INCREF(Py_None
); resultobj
= Py_None
;
26209 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26212 wxPoint
*arg2
= 0 ;
26214 wxTreeItemId result
;
26217 PyObject
* obj0
= 0 ;
26218 PyObject
* obj1
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "point", NULL
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26228 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 wxTreeItemId
* resultptr
;
26239 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26240 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26243 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26244 resultobj
= t_output_helper(resultobj
,o
);
26252 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26255 wxTreeItemId
*arg2
= 0 ;
26256 bool arg3
= (bool) False
;
26258 PyObject
* obj0
= 0 ;
26259 PyObject
* obj1
= 0 ;
26260 PyObject
* obj2
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26268 if (arg2
== NULL
) {
26269 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26273 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 resultobj
= result
;
26291 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26294 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26296 return Py_BuildValue((char *)"");
26298 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26299 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26304 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26309 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26311 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26318 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
;
26320 wxWindow
*arg1
= (wxWindow
*) 0 ;
26321 int arg2
= (int) (int)-1 ;
26322 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26323 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26324 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26325 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26326 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26327 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26328 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26329 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26330 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26331 int arg8
= (int) 0 ;
26332 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26333 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26334 wxGenericDirCtrl
*result
;
26335 bool temp3
= False
;
26338 bool temp7
= False
;
26339 bool temp9
= False
;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 PyObject
* obj2
= 0 ;
26343 PyObject
* obj3
= 0 ;
26344 PyObject
* obj4
= 0 ;
26345 PyObject
* obj5
= 0 ;
26346 PyObject
* obj6
= 0 ;
26347 PyObject
* obj7
= 0 ;
26348 PyObject
* obj8
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26357 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26363 arg3
= wxString_in_helper(obj2
);
26364 if (arg3
== NULL
) SWIG_fail
;
26371 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26377 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26382 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26388 arg7
= wxString_in_helper(obj6
);
26389 if (arg7
== NULL
) SWIG_fail
;
26395 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26401 arg9
= wxString_in_helper(obj8
);
26402 if (arg9
== NULL
) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26444 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26445 PyObject
*resultobj
;
26446 wxGenericDirCtrl
*result
;
26447 char *kwnames
[] = {
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26466 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
;
26468 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26469 wxWindow
*arg2
= (wxWindow
*) 0 ;
26470 int arg3
= (int) (int)-1 ;
26471 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26472 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26473 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26474 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26475 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26476 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26477 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26478 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26479 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26480 int arg9
= (int) 0 ;
26481 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26482 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26484 bool temp4
= False
;
26487 bool temp8
= False
;
26488 bool temp10
= False
;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 PyObject
* obj2
= 0 ;
26492 PyObject
* obj3
= 0 ;
26493 PyObject
* obj4
= 0 ;
26494 PyObject
* obj5
= 0 ;
26495 PyObject
* obj6
= 0 ;
26496 PyObject
* obj7
= 0 ;
26497 PyObject
* obj8
= 0 ;
26498 PyObject
* obj9
= 0 ;
26499 char *kwnames
[] = {
26500 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26508 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26514 arg4
= wxString_in_helper(obj3
);
26515 if (arg4
== NULL
) SWIG_fail
;
26522 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26528 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26533 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26539 arg8
= wxString_in_helper(obj7
);
26540 if (arg8
== NULL
) SWIG_fail
;
26546 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26552 arg10
= wxString_in_helper(obj9
);
26553 if (arg10
== NULL
) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26595 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26598 wxString
*arg2
= 0 ;
26600 bool temp2
= False
;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 char *kwnames
[] = {
26604 (char *) "self",(char *) "path", NULL
26607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26610 arg2
= wxString_in_helper(obj1
);
26611 if (arg2
== NULL
) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26636 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26640 PyObject
* obj0
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26667 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
;
26669 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26670 wxString
*arg2
= 0 ;
26671 bool temp2
= False
;
26672 PyObject
* obj0
= 0 ;
26673 PyObject
* obj1
= 0 ;
26674 char *kwnames
[] = {
26675 (char *) "self",(char *) "path", NULL
26678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26681 arg2
= wxString_in_helper(obj1
);
26682 if (arg2
== NULL
) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 Py_INCREF(Py_None
); resultobj
= Py_None
;
26707 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26738 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26769 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
;
26771 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26772 wxString
*arg2
= 0 ;
26773 bool temp2
= False
;
26774 PyObject
* obj0
= 0 ;
26775 PyObject
* obj1
= 0 ;
26776 char *kwnames
[] = {
26777 (char *) "self",(char *) "path", NULL
26780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26783 arg2
= wxString_in_helper(obj1
);
26784 if (arg2
== NULL
) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 (arg1
)->SetPath((wxString
const &)*arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 Py_INCREF(Py_None
); resultobj
= Py_None
;
26809 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26810 PyObject
*resultobj
;
26811 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26813 PyObject
* obj0
= 0 ;
26814 PyObject
* obj1
= 0 ;
26815 char *kwnames
[] = {
26816 (char *) "self",(char *) "show", NULL
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26822 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 (arg1
)->ShowHidden(arg2
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 Py_INCREF(Py_None
); resultobj
= Py_None
;
26839 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
;
26841 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26843 PyObject
* obj0
= 0 ;
26844 char *kwnames
[] = {
26845 (char *) "self", NULL
26848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (bool)(arg1
)->GetShowHidden();
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26864 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26895 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26898 wxString
*arg2
= 0 ;
26899 bool temp2
= False
;
26900 PyObject
* obj0
= 0 ;
26901 PyObject
* obj1
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self",(char *) "filter", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26909 arg2
= wxString_in_helper(obj1
);
26910 if (arg2
== NULL
) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 (arg1
)->SetFilter((wxString
const &)*arg2
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 Py_INCREF(Py_None
); resultobj
= Py_None
;
26935 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26939 PyObject
* obj0
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "self", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26948 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26950 wxPyEndAllowThreads(__tstate
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26953 resultobj
= SWIG_PyObj_FromInt((int)result
);
26960 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26961 PyObject
*resultobj
;
26962 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 char *kwnames
[] = {
26967 (char *) "self",(char *) "n", NULL
26970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26973 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 (arg1
)->SetFilterIndex(arg2
);
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 Py_INCREF(Py_None
); resultobj
= Py_None
;
26990 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26991 PyObject
*resultobj
;
26992 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26993 wxTreeItemId result
;
26994 PyObject
* obj0
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= (arg1
)->GetRootId();
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27009 wxTreeItemId
* resultptr
;
27010 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27011 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27019 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27022 wxPyTreeCtrl
*result
;
27023 PyObject
* obj0
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27038 resultobj
= wxPyMake_wxObject(result
);
27046 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
;
27048 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27049 wxDirFilterListCtrl
*result
;
27050 PyObject
* obj0
= 0 ;
27051 char *kwnames
[] = {
27052 (char *) "self", NULL
27055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27071 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
;
27073 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27074 wxTreeItemId arg2
;
27075 wxString
*arg3
= 0 ;
27077 wxTreeItemId result
;
27078 wxTreeItemId
*argp2
;
27079 bool temp3
= False
;
27081 PyObject
* obj0
= 0 ;
27082 PyObject
* obj1
= 0 ;
27083 PyObject
* obj2
= 0 ;
27084 char *kwnames
[] = {
27085 (char *) "self",(char *) "parentId",(char *) "path", NULL
27089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27091 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27094 arg3
= wxString_in_helper(obj2
);
27095 if (arg3
== NULL
) SWIG_fail
;
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27106 wxTreeItemId
* resultptr
;
27107 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27108 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27111 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27112 resultobj
= t_output_helper(resultobj
,o
);
27128 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27131 PyObject
* obj0
= 0 ;
27132 char *kwnames
[] = {
27133 (char *) "self", NULL
27136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 (arg1
)->DoResize();
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 Py_INCREF(Py_None
); resultobj
= Py_None
;
27152 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27155 PyObject
* obj0
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "self", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 (arg1
)->ReCreateTree();
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 Py_INCREF(Py_None
); resultobj
= Py_None
;
27176 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27179 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27181 return Py_BuildValue((char *)"");
27183 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
;
27185 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27186 int arg2
= (int) (int)-1 ;
27187 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27188 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27189 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27190 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27191 long arg5
= (long) 0 ;
27192 wxDirFilterListCtrl
*result
;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 PyObject
* obj2
= 0 ;
27198 PyObject
* obj3
= 0 ;
27199 PyObject
* obj4
= 0 ;
27200 char *kwnames
[] = {
27201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27208 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27215 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27221 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27226 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27244 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxDirFilterListCtrl
*result
;
27247 char *kwnames
[] = {
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27256 wxPyEndAllowThreads(__tstate
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27266 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27267 PyObject
*resultobj
;
27268 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27269 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27270 int arg3
= (int) (int)-1 ;
27271 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27272 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27273 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27274 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27275 long arg6
= (long) 0 ;
27279 PyObject
* obj0
= 0 ;
27280 PyObject
* obj1
= 0 ;
27281 PyObject
* obj2
= 0 ;
27282 PyObject
* obj3
= 0 ;
27283 PyObject
* obj4
= 0 ;
27284 PyObject
* obj5
= 0 ;
27285 char *kwnames
[] = {
27286 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27294 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27301 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27307 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27312 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27330 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
;
27332 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27333 wxString
*arg2
= 0 ;
27335 bool temp2
= False
;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj1
= 0 ;
27338 PyObject
* obj2
= 0 ;
27339 char *kwnames
[] = {
27340 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27346 arg2
= wxString_in_helper(obj1
);
27347 if (arg2
== NULL
) SWIG_fail
;
27351 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 Py_INCREF(Py_None
); resultobj
= Py_None
;
27376 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27379 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27381 return Py_BuildValue((char *)"");
27383 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxWindow
*arg1
= (wxWindow
*) 0 ;
27387 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27388 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27389 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27390 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27391 long arg5
= (long) 0 ;
27392 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27393 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27394 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27395 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27396 wxPyControl
*result
;
27399 bool temp7
= False
;
27400 PyObject
* obj0
= 0 ;
27401 PyObject
* obj1
= 0 ;
27402 PyObject
* obj2
= 0 ;
27403 PyObject
* obj3
= 0 ;
27404 PyObject
* obj4
= 0 ;
27405 PyObject
* obj5
= 0 ;
27406 PyObject
* obj6
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27414 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27426 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27431 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27436 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27437 if (arg6
== NULL
) {
27438 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27443 arg7
= wxString_in_helper(obj6
);
27444 if (arg7
== NULL
) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27470 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27471 PyObject
*resultobj
;
27472 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27473 PyObject
*arg2
= (PyObject
*) 0 ;
27474 PyObject
*arg3
= (PyObject
*) 0 ;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 PyObject
* obj2
= 0 ;
27478 char *kwnames
[] = {
27479 (char *) "self",(char *) "self",(char *) "_class", NULL
27482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 Py_INCREF(Py_None
); resultobj
= Py_None
;
27500 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27501 PyObject
*resultobj
;
27502 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27507 PyObject
* obj0
= 0 ;
27508 PyObject
* obj1
= 0 ;
27509 PyObject
* obj2
= 0 ;
27510 PyObject
* obj3
= 0 ;
27511 PyObject
* obj4
= 0 ;
27512 char *kwnames
[] = {
27513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27519 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27527 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27531 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27536 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27541 Py_INCREF(Py_None
); resultobj
= Py_None
;
27548 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
;
27550 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27555 int arg6
= (int) wxSIZE_AUTO
;
27556 PyObject
* obj0
= 0 ;
27557 PyObject
* obj1
= 0 ;
27558 PyObject
* obj2
= 0 ;
27559 PyObject
* obj3
= 0 ;
27560 PyObject
* obj4
= 0 ;
27561 PyObject
* obj5
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27569 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27573 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27581 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27586 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 Py_INCREF(Py_None
); resultobj
= Py_None
;
27604 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27609 PyObject
* obj0
= 0 ;
27610 PyObject
* obj1
= 0 ;
27611 PyObject
* obj2
= 0 ;
27612 char *kwnames
[] = {
27613 (char *) "self",(char *) "width",(char *) "height", NULL
27616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27619 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27623 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27633 Py_INCREF(Py_None
); resultobj
= Py_None
;
27640 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27641 PyObject
*resultobj
;
27642 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27645 PyObject
* obj0
= 0 ;
27646 PyObject
* obj1
= 0 ;
27647 PyObject
* obj2
= 0 ;
27648 char *kwnames
[] = {
27649 (char *) "self",(char *) "x",(char *) "y", NULL
27652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27655 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27659 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 Py_INCREF(Py_None
); resultobj
= Py_None
;
27676 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27678 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27679 int *arg2
= (int *) 0 ;
27680 int *arg3
= (int *) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 char *kwnames
[] = {
27685 (char *) "self", NULL
27690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 Py_INCREF(Py_None
); resultobj
= Py_None
;
27701 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27702 resultobj
= t_output_helper(resultobj
,o
);
27705 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27706 resultobj
= t_output_helper(resultobj
,o
);
27714 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
;
27716 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27717 int *arg2
= (int *) 0 ;
27718 int *arg3
= (int *) 0 ;
27721 PyObject
* obj0
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self", NULL
27728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27732 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27737 Py_INCREF(Py_None
); resultobj
= Py_None
;
27739 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27740 resultobj
= t_output_helper(resultobj
,o
);
27743 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27744 resultobj
= t_output_helper(resultobj
,o
);
27752 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27755 int *arg2
= (int *) 0 ;
27756 int *arg3
= (int *) 0 ;
27759 PyObject
* obj0
= 0 ;
27760 char *kwnames
[] = {
27761 (char *) "self", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 Py_INCREF(Py_None
); resultobj
= Py_None
;
27777 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27778 resultobj
= t_output_helper(resultobj
,o
);
27781 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27782 resultobj
= t_output_helper(resultobj
,o
);
27790 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27791 PyObject
*resultobj
;
27792 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27794 PyObject
* obj0
= 0 ;
27795 char *kwnames
[] = {
27796 (char *) "self", NULL
27799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27809 wxSize
* resultptr
;
27810 resultptr
= new wxSize((wxSize
&) result
);
27811 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27819 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
;
27821 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27823 PyObject
* obj0
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "self", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27838 wxSize
* resultptr
;
27839 resultptr
= new wxSize((wxSize
&) result
);
27840 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27848 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27849 PyObject
*resultobj
;
27850 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 (arg1
)->base_InitDialog();
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27865 Py_INCREF(Py_None
); resultobj
= Py_None
;
27872 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27873 PyObject
*resultobj
;
27874 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 char *kwnames
[] = {
27878 (char *) "self", NULL
27881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 result
= (bool)(arg1
)->base_TransferDataToWindow();
27887 wxPyEndAllowThreads(__tstate
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27897 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27898 PyObject
*resultobj
;
27899 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27901 PyObject
* obj0
= 0 ;
27902 char *kwnames
[] = {
27903 (char *) "self", NULL
27906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27922 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27923 PyObject
*resultobj
;
27924 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27926 PyObject
* obj0
= 0 ;
27927 char *kwnames
[] = {
27928 (char *) "self", NULL
27931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= (bool)(arg1
)->base_Validate();
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27947 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27948 PyObject
*resultobj
;
27949 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27951 PyObject
* obj0
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27960 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27972 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
;
27974 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27976 PyObject
* obj0
= 0 ;
27977 char *kwnames
[] = {
27978 (char *) "self", NULL
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27997 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
;
27999 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28001 PyObject
* obj0
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28016 wxSize
* resultptr
;
28017 resultptr
= new wxSize((wxSize
&) result
);
28018 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
28026 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
;
28028 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28029 wxWindow
*arg2
= (wxWindow
*) 0 ;
28030 PyObject
* obj0
= 0 ;
28031 PyObject
* obj1
= 0 ;
28032 char *kwnames
[] = {
28033 (char *) "self",(char *) "child", NULL
28036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 (arg1
)->base_AddChild(arg2
);
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 Py_INCREF(Py_None
); resultobj
= Py_None
;
28053 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28056 wxWindow
*arg2
= (wxWindow
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 PyObject
* obj1
= 0 ;
28059 char *kwnames
[] = {
28060 (char *) "self",(char *) "child", NULL
28063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 (arg1
)->base_RemoveChild(arg2
);
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 Py_INCREF(Py_None
); resultobj
= Py_None
;
28080 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28083 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28085 return Py_BuildValue((char *)"");
28087 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28090 int arg2
= (int) 0 ;
28091 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28092 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28093 wxHelpEvent
*result
;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 PyObject
* obj2
= 0 ;
28098 char *kwnames
[] = {
28099 (char *) "type",(char *) "winid",(char *) "pt", NULL
28102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28105 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28111 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
28135 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28136 PyObject
*resultobj
;
28137 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28139 PyObject
* obj0
= 0 ;
28140 char *kwnames
[] = {
28141 (char *) "self", NULL
28144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28150 result
= (wxPoint
*) &_result_ref
;
28153 wxPyEndAllowThreads(__tstate
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
28163 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28164 PyObject
*resultobj
;
28165 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28166 wxPoint
*arg2
= 0 ;
28168 PyObject
* obj0
= 0 ;
28169 PyObject
* obj1
= 0 ;
28170 char *kwnames
[] = {
28171 (char *) "self",(char *) "pos", NULL
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28187 Py_INCREF(Py_None
); resultobj
= Py_None
;
28194 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28198 PyObject
* obj0
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28209 result
= (wxString
*) &_result_ref
;
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28219 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28228 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
;
28230 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28231 wxString
*arg2
= 0 ;
28232 bool temp2
= False
;
28233 PyObject
* obj0
= 0 ;
28234 PyObject
* obj1
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self",(char *) "link", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28242 arg2
= wxString_in_helper(obj1
);
28243 if (arg2
== NULL
) SWIG_fail
;
28247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28248 (arg1
)->SetLink((wxString
const &)*arg2
);
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28253 Py_INCREF(Py_None
); resultobj
= Py_None
;
28268 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
;
28270 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28272 PyObject
* obj0
= 0 ;
28273 char *kwnames
[] = {
28274 (char *) "self", NULL
28277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28283 result
= (wxString
*) &_result_ref
;
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28291 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28293 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28302 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
;
28304 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28305 wxString
*arg2
= 0 ;
28306 bool temp2
= False
;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 char *kwnames
[] = {
28310 (char *) "self",(char *) "target", NULL
28313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28316 arg2
= wxString_in_helper(obj1
);
28317 if (arg2
== NULL
) SWIG_fail
;
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 (arg1
)->SetTarget((wxString
const &)*arg2
);
28324 wxPyEndAllowThreads(__tstate
);
28325 if (PyErr_Occurred()) SWIG_fail
;
28327 Py_INCREF(Py_None
); resultobj
= Py_None
;
28342 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28345 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28347 return Py_BuildValue((char *)"");
28349 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxWindow
*arg1
= (wxWindow
*) NULL
;
28352 bool arg2
= (bool) True
;
28353 wxContextHelp
*result
;
28354 PyObject
* obj0
= 0 ;
28355 PyObject
* obj1
= 0 ;
28356 char *kwnames
[] = {
28357 (char *) "window",(char *) "doNow", NULL
28360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28366 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28374 wxPyEndAllowThreads(__tstate
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28384 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
;
28386 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28387 PyObject
* obj0
= 0 ;
28388 char *kwnames
[] = {
28389 (char *) "self", NULL
28392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 Py_INCREF(Py_None
); resultobj
= Py_None
;
28408 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28410 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28411 wxWindow
*arg2
= (wxWindow
*) NULL
;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 char *kwnames
[] = {
28416 (char *) "self",(char *) "window", NULL
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28438 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
;
28440 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28442 PyObject
* obj0
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (bool)(arg1
)->EndContextHelp();
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28463 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28466 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28468 return Py_BuildValue((char *)"");
28470 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28471 PyObject
*resultobj
;
28472 wxWindow
*arg1
= (wxWindow
*) 0 ;
28473 int arg2
= (int) wxID_CONTEXT_HELP
;
28474 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28475 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28476 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28477 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28478 long arg5
= (long) wxBU_AUTODRAW
;
28479 wxContextHelpButton
*result
;
28482 PyObject
* obj0
= 0 ;
28483 PyObject
* obj1
= 0 ;
28484 PyObject
* obj2
= 0 ;
28485 PyObject
* obj3
= 0 ;
28486 PyObject
* obj4
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28495 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28502 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28508 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28513 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28531 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28534 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28536 return Py_BuildValue((char *)"");
28538 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28539 PyObject
*resultobj
;
28540 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28541 wxHelpProvider
*result
;
28542 PyObject
* obj0
= 0 ;
28543 char *kwnames
[] = {
28544 (char *) "helpProvider", NULL
28547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28563 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxHelpProvider
*result
;
28566 char *kwnames
[] = {
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28585 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
;
28587 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28588 wxWindow
*arg2
= (wxWindow
*) 0 ;
28590 PyObject
* obj0
= 0 ;
28591 PyObject
* obj1
= 0 ;
28592 char *kwnames
[] = {
28593 (char *) "self",(char *) "window", NULL
28596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28598 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28619 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
;
28621 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28622 wxWindow
*arg2
= (wxWindow
*) 0 ;
28624 PyObject
* obj0
= 0 ;
28625 PyObject
* obj1
= 0 ;
28626 char *kwnames
[] = {
28627 (char *) "self",(char *) "window", NULL
28630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28632 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28635 result
= (bool)(arg1
)->ShowHelp(arg2
);
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28647 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28648 PyObject
*resultobj
;
28649 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28650 wxWindow
*arg2
= (wxWindow
*) 0 ;
28651 wxString
*arg3
= 0 ;
28652 bool temp3
= False
;
28653 PyObject
* obj0
= 0 ;
28654 PyObject
* obj1
= 0 ;
28655 PyObject
* obj2
= 0 ;
28656 char *kwnames
[] = {
28657 (char *) "self",(char *) "window",(char *) "text", NULL
28660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28664 arg3
= wxString_in_helper(obj2
);
28665 if (arg3
== NULL
) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 Py_INCREF(Py_None
); resultobj
= Py_None
;
28690 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
;
28692 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28694 wxString
*arg3
= 0 ;
28695 bool temp3
= False
;
28696 PyObject
* obj0
= 0 ;
28697 PyObject
* obj1
= 0 ;
28698 PyObject
* obj2
= 0 ;
28699 char *kwnames
[] = {
28700 (char *) "self",(char *) "id",(char *) "text", NULL
28703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28706 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 arg3
= wxString_in_helper(obj2
);
28711 if (arg3
== NULL
) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28721 Py_INCREF(Py_None
); resultobj
= Py_None
;
28736 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28739 PyObject
* obj0
= 0 ;
28740 char *kwnames
[] = {
28741 (char *) "self", NULL
28744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 wxHelpProvider_Destroy(arg1
);
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 Py_INCREF(Py_None
); resultobj
= Py_None
;
28760 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28763 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28765 return Py_BuildValue((char *)"");
28767 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
;
28769 wxSimpleHelpProvider
*result
;
28770 char *kwnames
[] = {
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28789 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28792 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28794 return Py_BuildValue((char *)"");
28796 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28797 PyObject
*resultobj
;
28798 wxBitmap
*arg1
= 0 ;
28799 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28800 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28801 wxGenericDragImage
*result
;
28802 PyObject
* obj0
= 0 ;
28803 PyObject
* obj1
= 0 ;
28804 char *kwnames
[] = {
28805 (char *) "image",(char *) "cursor", NULL
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28810 if (arg1
== NULL
) {
28811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28815 if (arg2
== NULL
) {
28816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28833 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28836 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28837 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28838 wxGenericDragImage
*result
;
28839 PyObject
* obj0
= 0 ;
28840 PyObject
* obj1
= 0 ;
28841 char *kwnames
[] = {
28842 (char *) "image",(char *) "cursor", NULL
28845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28847 if (arg1
== NULL
) {
28848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28851 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28852 if (arg2
== NULL
) {
28853 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28870 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28871 PyObject
*resultobj
;
28872 wxString
*arg1
= 0 ;
28873 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28874 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28875 wxGenericDragImage
*result
;
28876 bool temp1
= False
;
28877 PyObject
* obj0
= 0 ;
28878 PyObject
* obj1
= 0 ;
28879 char *kwnames
[] = {
28880 (char *) "str",(char *) "cursor", NULL
28883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28885 arg1
= wxString_in_helper(obj0
);
28886 if (arg1
== NULL
) SWIG_fail
;
28890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28891 if (arg2
== NULL
) {
28892 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28917 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28918 PyObject
*resultobj
;
28919 wxPyTreeCtrl
*arg1
= 0 ;
28920 wxTreeItemId
*arg2
= 0 ;
28921 wxGenericDragImage
*result
;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 char *kwnames
[] = {
28925 (char *) "treeCtrl",(char *) "id", NULL
28928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28930 if (arg1
== NULL
) {
28931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28933 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28934 if (arg2
== NULL
) {
28935 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28941 wxPyEndAllowThreads(__tstate
);
28942 if (PyErr_Occurred()) SWIG_fail
;
28944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28951 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28952 PyObject
*resultobj
;
28953 wxPyListCtrl
*arg1
= 0 ;
28955 wxGenericDragImage
*result
;
28956 PyObject
* obj0
= 0 ;
28957 PyObject
* obj1
= 0 ;
28958 char *kwnames
[] = {
28959 (char *) "listCtrl",(char *) "id", NULL
28962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28964 if (arg1
== NULL
) {
28965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28968 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28985 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
;
28987 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28988 PyObject
* obj0
= 0 ;
28989 char *kwnames
[] = {
28990 (char *) "self", NULL
28993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 wxPyEndAllowThreads(__tstate
);
29000 if (PyErr_Occurred()) SWIG_fail
;
29002 Py_INCREF(Py_None
); resultobj
= Py_None
;
29009 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
;
29011 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29012 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29013 PyObject
* obj0
= 0 ;
29014 PyObject
* obj1
= 0 ;
29015 char *kwnames
[] = {
29016 (char *) "self",(char *) "bitmap", NULL
29019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 (arg1
)->SetBackingBitmap(arg2
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 Py_INCREF(Py_None
); resultobj
= Py_None
;
29036 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29039 wxPoint
*arg2
= 0 ;
29040 wxWindow
*arg3
= (wxWindow
*) 0 ;
29041 bool arg4
= (bool) False
;
29042 wxRect
*arg5
= (wxRect
*) NULL
;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 PyObject
* obj2
= 0 ;
29048 PyObject
* obj3
= 0 ;
29049 PyObject
* obj4
= 0 ;
29050 char *kwnames
[] = {
29051 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29060 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29063 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29068 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29084 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
;
29086 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29087 wxPoint
*arg2
= 0 ;
29088 wxWindow
*arg3
= (wxWindow
*) 0 ;
29089 wxWindow
*arg4
= (wxWindow
*) 0 ;
29092 PyObject
* obj0
= 0 ;
29093 PyObject
* obj1
= 0 ;
29094 PyObject
* obj2
= 0 ;
29095 PyObject
* obj3
= 0 ;
29096 char *kwnames
[] = {
29097 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29106 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29107 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29122 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
;
29124 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29126 PyObject
* obj0
= 0 ;
29127 char *kwnames
[] = {
29128 (char *) "self", NULL
29131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 result
= (bool)(arg1
)->EndDrag();
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29147 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29149 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29150 wxPoint
*arg2
= 0 ;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 char *kwnames
[] = {
29156 (char *) "self",(char *) "pt", NULL
29159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29179 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29180 PyObject
*resultobj
;
29181 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29183 PyObject
* obj0
= 0 ;
29184 char *kwnames
[] = {
29185 (char *) "self", NULL
29188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= (bool)(arg1
)->Show();
29194 wxPyEndAllowThreads(__tstate
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29204 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29205 PyObject
*resultobj
;
29206 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29208 PyObject
* obj0
= 0 ;
29209 char *kwnames
[] = {
29210 (char *) "self", NULL
29213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= (bool)(arg1
)->Hide();
29219 wxPyEndAllowThreads(__tstate
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29229 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29230 PyObject
*resultobj
;
29231 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29232 wxPoint
*arg2
= 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self",(char *) "pos", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29245 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29255 wxRect
* resultptr
;
29256 resultptr
= new wxRect((wxRect
&) result
);
29257 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
29265 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
;
29267 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29269 wxPoint
*arg3
= 0 ;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 PyObject
* obj2
= 0 ;
29275 char *kwnames
[] = {
29276 (char *) "self",(char *) "dc",(char *) "pos", NULL
29279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29281 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29282 if (arg2
== NULL
) {
29283 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29287 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29293 wxPyEndAllowThreads(__tstate
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29303 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29304 PyObject
*resultobj
;
29305 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29307 wxMemoryDC
*arg3
= 0 ;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 PyObject
* obj2
= 0 ;
29316 PyObject
* obj3
= 0 ;
29317 PyObject
* obj4
= 0 ;
29318 char *kwnames
[] = {
29319 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29325 if (arg2
== NULL
) {
29326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29328 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29329 if (arg3
== NULL
) {
29330 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29334 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29338 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29354 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
;
29356 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29357 wxPoint
*arg2
= 0 ;
29358 wxPoint
*arg3
= 0 ;
29364 PyObject
* obj0
= 0 ;
29365 PyObject
* obj1
= 0 ;
29366 PyObject
* obj2
= 0 ;
29367 PyObject
* obj3
= 0 ;
29368 PyObject
* obj4
= 0 ;
29369 char *kwnames
[] = {
29370 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29381 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29384 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29388 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29405 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29408 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29410 return Py_BuildValue((char *)"");
29412 static PyMethodDef SwigMethods
[] = {
29413 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29414 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29415 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
29419 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29420 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29421 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29422 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29423 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29425 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29426 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29427 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29429 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29430 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29431 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29432 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29436 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29437 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29438 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29440 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29442 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29443 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29446 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29447 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29448 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29450 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29453 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29456 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29457 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29458 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29463 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29467 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29472 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29473 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29474 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29476 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29478 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29479 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29483 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29486 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29487 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29488 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29490 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29491 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29495 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29496 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29497 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29501 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29502 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29504 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29505 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29506 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29508 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29527 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29536 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29537 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29566 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29582 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29586 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29622 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29627 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29628 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29638 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29650 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29661 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29665 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29682 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29688 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29713 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29720 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29740 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29746 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29756 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29758 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29763 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29765 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29770 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29775 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29805 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29850 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29855 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29867 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29919 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29942 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29946 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29965 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29981 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30016 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30028 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30036 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30043 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30059 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30133 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30155 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30160 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30181 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30189 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30194 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30196 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30204 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30206 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30228 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30230 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30231 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30233 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30234 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30236 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30237 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30239 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30240 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30242 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30243 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30245 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30246 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30248 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30249 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30251 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30252 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30254 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30255 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30257 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30258 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30260 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30261 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30263 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30264 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30266 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30267 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30269 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30270 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30272 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30273 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30275 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30276 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30278 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30279 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30281 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30282 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30284 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30285 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30287 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30288 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30290 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30291 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30293 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30294 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30296 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30297 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30299 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30300 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30302 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30303 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30305 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30306 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30308 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30311 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30312 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30314 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30315 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30317 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30318 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30320 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30321 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30323 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30324 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30326 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30327 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30329 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30330 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30332 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30333 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30335 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30336 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30338 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30339 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30341 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30342 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30344 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30345 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30347 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30348 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30350 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30351 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30353 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30354 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30356 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30357 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30359 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30360 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30362 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30365 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30366 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30368 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30369 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30371 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30372 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30374 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30375 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30377 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30378 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30380 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30381 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30383 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30384 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30386 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30387 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30389 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30390 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30392 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30393 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30395 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30396 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30398 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30399 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30401 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30402 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30404 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30405 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30407 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30408 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30410 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30411 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30413 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30414 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30416 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30417 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30419 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30420 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30422 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30423 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30425 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30426 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30428 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30429 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30431 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30432 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30434 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30435 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30437 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30438 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30440 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30441 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30443 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30444 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30446 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30447 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30449 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30450 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30452 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30453 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30455 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30456 return (void *)((wxControl
*) ((wxGauge
*) x
));
30458 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30459 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30461 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30462 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30464 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30465 return (void *)((wxControl
*) ((wxButton
*) x
));
30467 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30468 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30470 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30471 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30473 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30474 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30476 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30477 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30479 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30480 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30482 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30483 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30485 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30486 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30488 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30489 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30491 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30492 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30494 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30495 return (void *)((wxControl
*) ((wxSlider
*) x
));
30497 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30498 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30500 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30501 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30503 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30504 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30506 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30507 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30509 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30510 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30512 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
30513 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
30515 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30516 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30518 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30519 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30521 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30522 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30524 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30525 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30527 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30528 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30530 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30531 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30533 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30534 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30536 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30539 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30540 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30542 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30543 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30545 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30546 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30548 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30551 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30552 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30554 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30557 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30560 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30561 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30563 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30564 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30566 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30569 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30572 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30575 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30578 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30581 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30582 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30584 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30587 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30590 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30593 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30596 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30599 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30602 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30605 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30608 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30611 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30614 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30617 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30620 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30623 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30626 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30629 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30632 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30635 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30638 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30641 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30644 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30647 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30650 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30653 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30656 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30657 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30659 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30660 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30662 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30663 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30665 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30666 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30668 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30669 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30671 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30672 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30674 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30675 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30677 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30678 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30680 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30681 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30683 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30684 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30686 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30687 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30689 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30690 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30692 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30693 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30695 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30698 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30699 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30701 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30702 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30704 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30705 return (void *)((wxObject
*) ((wxSizer
*) x
));
30707 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30708 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30710 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30713 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30716 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30717 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30719 static void *_p_wxEventTo_p_wxObject(void *x
) {
30720 return (void *)((wxObject
*) ((wxEvent
*) x
));
30722 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30723 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30725 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30726 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30728 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30729 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30731 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30734 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30737 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30740 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30741 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30743 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30744 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30746 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30747 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30749 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30750 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30752 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30753 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30755 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30756 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30758 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30761 static void *_p_wxControlTo_p_wxObject(void *x
) {
30762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30764 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30767 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30770 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30773 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30776 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30779 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30780 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30782 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30785 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30786 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30788 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30789 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30791 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30794 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30797 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30800 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30801 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30803 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30804 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30806 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30809 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30810 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30812 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30815 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30818 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30819 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30821 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30822 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30824 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30827 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30828 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30830 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30831 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30833 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30834 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30836 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30837 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30839 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30840 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30842 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30843 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30845 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30848 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30849 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30851 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30852 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30854 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30855 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30857 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30858 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30860 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30861 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30863 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30864 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30866 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30867 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30869 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30870 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30872 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30873 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30875 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30876 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30878 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30881 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30882 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30884 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30885 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30887 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30888 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30890 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30893 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30896 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30899 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30902 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30905 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30908 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30911 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30914 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30915 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30917 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30920 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30923 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30926 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30929 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30930 return (void *)((wxObject
*) ((wxListItem
*) x
));
30932 static void *_p_wxImageTo_p_wxObject(void *x
) {
30933 return (void *)((wxObject
*) ((wxImage
*) x
));
30935 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30936 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30938 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30939 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30941 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30942 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30944 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30945 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30947 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30950 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30953 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30956 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30959 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30960 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30962 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30963 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30965 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30966 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30968 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30969 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30971 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30974 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30975 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30977 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30980 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30981 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30983 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30986 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30987 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30989 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30990 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30992 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30993 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30995 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30998 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31001 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31002 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31004 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31007 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31008 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31010 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31011 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31013 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31016 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31019 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31020 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31022 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31025 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31028 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31029 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31031 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31032 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31034 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31035 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31037 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31038 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31040 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31041 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31043 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31044 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31046 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31047 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31049 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31050 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31052 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31053 return (void *)((wxWindow
*) ((wxControl
*) x
));
31055 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31056 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31058 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31059 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31061 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31062 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31064 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31065 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31067 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31068 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31070 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31071 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31073 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31074 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31076 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31077 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31079 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31080 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31082 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31083 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31085 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31086 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31088 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31089 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31091 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31092 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31094 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31095 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31097 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31098 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31100 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31101 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31103 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31104 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31106 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31107 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31109 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31110 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31112 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31113 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31115 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31116 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31118 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31119 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31121 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31122 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31124 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31125 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31127 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31128 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31130 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31131 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31133 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31134 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31136 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31137 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31139 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31140 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31142 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31143 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31145 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31146 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31148 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31149 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31151 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31152 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31154 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31155 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31157 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31158 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31160 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31161 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31163 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31164 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31166 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31167 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31169 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31170 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31172 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31173 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31175 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31176 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31178 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31179 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31181 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31182 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31184 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31185 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31187 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
31188 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
31190 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31191 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31193 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31194 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31196 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31197 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31199 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31200 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31202 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31203 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31205 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31206 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}};
31207 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}};
31208 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31209 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31210 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}};
31211 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31212 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31213 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31214 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}};
31215 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31216 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
31217 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31218 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}};
31219 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31220 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31221 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
31222 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31223 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31224 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31225 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}};
31226 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31227 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31228 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31229 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31230 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31231 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31232 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31233 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31234 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31235 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31236 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}};
31237 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31238 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31239 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31240 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31241 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31242 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31243 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31244 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31245 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}};
31246 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31247 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
31248 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31249 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}};
31250 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31251 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}};
31252 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
31253 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31254 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31255 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31256 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31257 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31258 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31259 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31260 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31261 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31262 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31263 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31264 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31265 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31266 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31267 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
31268 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31269 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31270 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31271 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31272 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31273 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}};
31274 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31275 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31276 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}};
31277 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31278 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31279 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31280 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31281 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}};
31282 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31283 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}};
31284 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31285 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31286 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31287 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31288 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
31290 static swig_type_info
*swig_types_initial
[] = {
31291 _swigt__p_wxTextUrlEvent
,
31292 _swigt__p_wxBookCtrlEvent
,
31294 _swigt__p_wxCheckBox
,
31295 _swigt__p_wxPyTreeCtrl
,
31297 _swigt__p_wxGenericDirCtrl
,
31299 _swigt__p_wxPyTreeItemData
,
31300 _swigt__p_wxItemContainer
,
31301 _swigt__p_wxDirFilterListCtrl
,
31302 _swigt__p_wxPyListCtrl
,
31303 _swigt__p_wxStaticLine
,
31304 _swigt__p_wxControl
,
31305 _swigt__p_wxPyControl
,
31307 _swigt__p_wxToolBarBase
,
31309 _swigt__p_wxToggleButton
,
31310 _swigt__p_wxRadioButton
,
31311 _swigt__p_wxChoice
,
31312 _swigt__p_wxMemoryDC
,
31313 _swigt__p_wxListItemAttr
,
31318 _swigt__p_wxListView
,
31320 _swigt__p_wxTextCtrl
,
31321 _swigt__p_wxNotebook
,
31322 _swigt__p_wxNotifyEvent
,
31323 _swigt__p_wxArrayString
,
31324 _swigt__p_wxListbook
,
31325 _swigt__p_wxStaticBitmap
,
31326 _swigt__p_wxSlider
,
31327 _swigt__p_wxStaticBox
,
31328 _swigt__p_wxArrayInt
,
31329 _swigt__p_wxContextHelp
,
31331 _swigt__p_wxEvtHandler
,
31332 _swigt__p_wxListEvent
,
31333 _swigt__p_wxListBox
,
31334 _swigt__p_wxCheckListBox
,
31335 _swigt__p_wxBookCtrl
,
31336 _swigt__p_wxSpinButton
,
31337 _swigt__p_wxButton
,
31338 _swigt__p_wxBitmapButton
,
31340 _swigt__p_wxContextHelpButton
,
31341 _swigt__p_wxRadioBox
,
31342 _swigt__p_wxScrollBar
,
31344 _swigt__p_wxTreeItemId
,
31345 _swigt__p_wxComboBox
,
31346 _swigt__p_wxHelpEvent
,
31347 _swigt__p_wxListItem
,
31348 _swigt__p_wxNotebookSizer
,
31349 _swigt__p_wxSpinEvent
,
31350 _swigt__p_wxGenericDragImage
,
31351 _swigt__p_wxSpinCtrl
,
31352 _swigt__p_wxImageList
,
31353 _swigt__p_wxHelpProvider
,
31354 _swigt__p_wxTextAttr
,
31355 _swigt__p_wxSimpleHelpProvider
,
31357 _swigt__p_wxListbookEvent
,
31358 _swigt__p_wxNotebookEvent
,
31359 _swigt__p_wxObject
,
31360 _swigt__p_wxCursor
,
31361 _swigt__p_wxKeyEvent
,
31362 _swigt__p_wxWindow
,
31363 _swigt__p_wxString
,
31364 _swigt__p_wxBitmap
,
31365 _swigt__p_wxTreeEvent
,
31366 _swigt__p_wxMouseEvent
,
31367 _swigt__p_wxCommandEvent
,
31368 _swigt__p_wxStaticText
,
31369 _swigt__p_wxControlWithItems
,
31370 _swigt__p_wxToolBarToolBase
,
31371 _swigt__p_wxColour
,
31372 _swigt__p_wxToolBar
,
31373 _swigt__p_wxBookCtrlSizer
,
31374 _swigt__p_wxValidator
,
31379 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31381 static swig_const_info swig_const_table
[] = {
31391 SWIGEXPORT(void) SWIG_init(void) {
31392 static PyObject
*SWIG_globals
= 0;
31393 static int typeinit
= 0;
31396 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31397 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31398 d
= PyModule_GetDict(m
);
31401 for (i
= 0; swig_types_initial
[i
]; i
++) {
31402 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31406 SWIG_InstallConstants(d
,swig_const_table
);
31408 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31409 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31410 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31411 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31412 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31413 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31414 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31415 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31416 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31417 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31418 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31419 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31420 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31421 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31422 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31423 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31424 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31425 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31426 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31427 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31428 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31429 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31430 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31431 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31432 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31433 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31434 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31435 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31436 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31437 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31438 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31439 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31440 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31441 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31442 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31443 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31444 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31445 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31446 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31447 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31448 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31449 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31450 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31451 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31452 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31453 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31454 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31455 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31456 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31457 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31458 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31459 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31460 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31461 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31462 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31463 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31464 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31465 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31466 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31467 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31468 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31469 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31470 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31471 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31472 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31473 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31474 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31475 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31476 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31477 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31478 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31479 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31480 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31481 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31482 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31483 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31484 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31485 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31486 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31487 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31488 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31489 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31490 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31491 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31493 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31494 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31495 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31496 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31497 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31498 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31499 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31500 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31501 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31502 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31503 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31504 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31505 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31506 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31507 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31508 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31509 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31510 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31511 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31512 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31513 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31514 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31515 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31516 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31517 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31518 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31519 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31520 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31521 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31522 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31523 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31524 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31525 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31526 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31527 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31528 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31529 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31530 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31531 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31532 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31533 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31534 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31535 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31536 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31537 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31538 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31539 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31540 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31541 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31542 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31543 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31544 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31545 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31546 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31547 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31548 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31549 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31550 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31551 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31552 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31553 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31554 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31555 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31556 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31557 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31558 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31559 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31560 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31561 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31562 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31563 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31564 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31565 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31566 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31567 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31568 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31569 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31570 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31571 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31572 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31573 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31574 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31575 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31576 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31577 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31578 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31579 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31580 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31581 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31582 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31583 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31584 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31585 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31586 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31587 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31588 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31589 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31590 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31591 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31592 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31593 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31594 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31595 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31596 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31597 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31598 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31599 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31600 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31601 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31602 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31603 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31604 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31605 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31606 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31607 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31608 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31609 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31610 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31611 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31612 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31613 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31614 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31615 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31616 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31617 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31618 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31620 // Map renamed classes back to their common name for OOR
31621 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31623 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31624 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31625 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31626 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31627 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31628 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31629 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31630 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31631 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31632 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31633 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31634 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31635 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31636 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31637 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31638 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31639 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31640 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31641 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31642 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31643 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31644 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31645 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31646 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31647 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31648 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31649 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31650 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31651 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31652 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31653 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31654 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31655 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31656 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31657 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31658 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31659 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31660 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31661 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31662 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31663 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31664 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31665 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31666 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31667 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31668 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31669 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31670 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31671 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31672 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31673 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31674 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31675 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31676 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31677 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31678 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31680 // Map renamed classes back to their common name for OOR
31681 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31682 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31684 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31685 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31686 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31687 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31688 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31689 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31690 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31691 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31692 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31693 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31695 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");