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
);
466 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
467 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
468 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
470 #include <wx/slider.h>
473 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
474 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
476 #if defined(__WXMAC__) || defined(__WXX11__)
477 // implement dummy classes and such for wxMac
479 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
481 class wxToggleButton
: public wxControl
484 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
485 const wxPoint
&, const wxSize
&, long,
486 const wxValidator
&, const wxString
&)
487 { wxPyRaiseNotImplemented(); }
490 { wxPyRaiseNotImplemented(); }
494 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
496 SWIGSTATIC(PyObject
* )
497 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
499 return (value
> (unsigned long)(LONG_MAX
)) ?
500 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
503 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
504 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
505 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
507 Py_INCREF(udata
->m_obj
);
514 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
515 self
->SetClientData(new wxPyUserData(clientData
));
517 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
){
518 wxPyUserData
* udata
= NULL
;
519 if (clientData
&& clientData
!= Py_None
)
520 udata
= new wxPyUserData(clientData
);
521 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
522 shortHelp
, longHelp
, udata
);
524 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
){
525 wxPyUserData
* udata
= NULL
;
526 if (clientData
&& clientData
!= Py_None
)
527 udata
= new wxPyUserData(clientData
);
528 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
529 shortHelp
, longHelp
, udata
);
531 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
532 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
534 Py_INCREF(udata
->m_obj
);
541 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
542 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
545 #include <wx/listctrl.h>
548 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
549 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
550 // Python aware sorting function for wxPyListCtrl
551 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
553 PyObject
* func
= (PyObject
*)funcPtr
;
554 wxPyBeginBlockThreads();
556 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
557 PyObject
* result
= PyEval_CallObject(func
, args
);
560 retval
= PyInt_AsLong(result
);
564 wxPyEndBlockThreads();
568 // C++ Version of a Python aware class
569 class wxPyListCtrl
: public wxListCtrl
{
570 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
572 wxPyListCtrl() : wxListCtrl() {}
573 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
577 const wxValidator
& validator
,
578 const wxString
& name
) :
579 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
581 bool Create(wxWindow
* parent
, wxWindowID id
,
585 const wxValidator
& validator
,
586 const wxString
& name
) {
587 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
590 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
591 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
592 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
597 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
599 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
600 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
601 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
603 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
605 item
.SetMask( wxLIST_MASK_STATE
|
613 if (self
->GetColumn(col
, item
))
614 return new wxListItem(item
);
618 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
619 wxListItem
* info
= new wxListItem
;
620 info
->m_itemId
= itemId
;
622 info
->m_mask
= 0xFFFF;
623 self
->GetItem(*info
);
626 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
628 self
->GetItemPosition(item
, pos
);
631 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
633 self
->GetItemRect(item
, rect
, code
);
636 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
637 if (!PyCallable_Check(func
))
639 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
641 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
645 return (wxWindow
*)self
->m_mainWin
;
649 #include <wx/treectrl.h>
650 #include "wx/wxPython/pytree.h"
652 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
653 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
654 if (!other
) return False
;
655 return *self
== *other
;
657 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
658 if (!other
) return True
;
659 return *self
!= *other
;
661 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
662 // C++ version of Python aware wxTreeCtrl
663 class wxPyTreeCtrl
: public wxTreeCtrl
{
664 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
666 wxPyTreeCtrl() : wxTreeCtrl() {}
667 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
671 const wxValidator
& validator
,
672 const wxString
& name
) :
673 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
675 bool Create(wxWindow
*parent
, wxWindowID id
,
679 const wxValidator
& validator
,
680 const wxString
& name
) {
681 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
685 int OnCompareItems(const wxTreeItemId
& item1
,
686 const wxTreeItemId
& item2
) {
689 wxPyBeginBlockThreads();
690 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
691 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
692 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
693 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
697 wxPyEndBlockThreads();
699 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
705 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
709 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
712 SWIGSTATIC(unsigned int)
713 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
715 return numeric_cast(unsigned int,
716 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
719 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
720 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
722 data
= new wxPyTreeItemData();
723 data
->SetId(item
); // set the id
724 self
->SetItemData(item
, data
);
728 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
729 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
731 data
= new wxPyTreeItemData();
732 data
->SetId(item
); // set the id
733 self
->SetItemData(item
, data
);
735 return data
->GetData();
737 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
738 data
->SetId(item
); // set the id
739 self
->SetItemData(item
, data
);
741 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
742 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
744 data
= new wxPyTreeItemData(obj
);
745 data
->SetId(item
); // set the id
746 self
->SetItemData(item
, data
);
750 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
751 wxPyBeginBlockThreads();
752 PyObject
* rval
= PyList_New(0);
753 wxArrayTreeItemIds array
;
755 num
= self
->GetSelections(array
);
756 for (x
=0; x
< num
; x
++) {
757 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
758 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
759 PyList_Append(rval
, item
);
761 wxPyEndBlockThreads();
764 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
766 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
767 wxPyBeginBlockThreads();
768 PyObject
* tup
= PyTuple_New(2);
769 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
770 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
771 wxPyEndBlockThreads();
774 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
775 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
776 wxPyBeginBlockThreads();
777 PyObject
* tup
= PyTuple_New(2);
778 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
779 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
780 wxPyEndBlockThreads();
783 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
785 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
786 wxPyBeginBlockThreads();
787 wxRect
* r
= new wxRect(rect
);
788 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
789 wxPyEndBlockThreads();
795 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
796 // C++ version of Python aware wxControl
797 class wxPyControl
: public wxControl
799 DECLARE_DYNAMIC_CLASS(wxPyControl
)
801 wxPyControl() : wxControl() {}
802 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
803 const wxPoint
& pos
= wxDefaultPosition
,
804 const wxSize
& size
= wxDefaultSize
,
806 const wxValidator
& validator
=wxDefaultValidator
,
807 const wxString
& name
= wxPyControlNameStr
)
808 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
811 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
812 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
813 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
814 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
816 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
817 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
818 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
820 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
821 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
823 DEC_PYCALLBACK__(InitDialog
);
824 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
825 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
826 DEC_PYCALLBACK_BOOL_(Validate
);
828 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
829 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
830 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
832 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
833 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
838 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
840 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
841 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
842 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
843 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
845 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
846 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
847 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
849 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
850 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
852 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
853 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
854 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
855 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
857 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
858 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
859 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
861 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
862 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
867 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
869 #include <wx/generic/dragimgg.h>
874 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
875 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
880 static PyObject
*_wrap_ButtonNameStr_get() {
885 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
887 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
894 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 wxWindow
*arg1
= (wxWindow
*) 0 ;
899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
903 long arg6
= (long) 0 ;
904 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
905 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
906 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
907 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
913 PyObject
* obj0
= 0 ;
914 PyObject
* obj1
= 0 ;
915 PyObject
* obj2
= 0 ;
916 PyObject
* obj3
= 0 ;
917 PyObject
* obj4
= 0 ;
918 PyObject
* obj5
= 0 ;
919 PyObject
* obj6
= 0 ;
920 PyObject
* obj7
= 0 ;
922 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
928 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
929 if (PyErr_Occurred()) SWIG_fail
;
932 arg3
= wxString_in_helper(obj2
);
933 if (arg3
== NULL
) SWIG_fail
;
939 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
945 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
950 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
951 if (PyErr_Occurred()) SWIG_fail
;
955 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
962 arg8
= wxString_in_helper(obj7
);
963 if (arg8
== NULL
) SWIG_fail
;
968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
969 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
971 wxPyEndAllowThreads(__tstate
);
972 if (PyErr_Occurred()) SWIG_fail
;
975 resultobj
= wxPyMake_wxObject(result
);
999 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
*resultobj
;
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1009 result
= (wxButton
*)new wxButton();
1011 wxPyEndAllowThreads(__tstate
);
1012 if (PyErr_Occurred()) SWIG_fail
;
1015 resultobj
= wxPyMake_wxObject(result
);
1023 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
*resultobj
;
1025 wxButton
*arg1
= (wxButton
*) 0 ;
1026 wxWindow
*arg2
= (wxWindow
*) 0 ;
1028 wxString
*arg4
= 0 ;
1029 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1030 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1031 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1032 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1033 long arg7
= (long) 0 ;
1034 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1035 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1036 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1037 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1039 bool temp4
= False
;
1042 bool temp9
= False
;
1043 PyObject
* obj0
= 0 ;
1044 PyObject
* obj1
= 0 ;
1045 PyObject
* obj2
= 0 ;
1046 PyObject
* obj3
= 0 ;
1047 PyObject
* obj4
= 0 ;
1048 PyObject
* obj5
= 0 ;
1049 PyObject
* obj6
= 0 ;
1050 PyObject
* obj7
= 0 ;
1051 PyObject
* obj8
= 0 ;
1053 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1060 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1061 if (PyErr_Occurred()) SWIG_fail
;
1064 arg4
= wxString_in_helper(obj3
);
1065 if (arg4
== NULL
) SWIG_fail
;
1071 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1077 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1082 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1083 if (PyErr_Occurred()) SWIG_fail
;
1087 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1089 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1094 arg9
= wxString_in_helper(obj8
);
1095 if (arg9
== NULL
) SWIG_fail
;
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1129 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
*resultobj
;
1131 wxButton
*arg1
= (wxButton
*) 0 ;
1132 PyObject
* obj0
= 0 ;
1134 (char *) "self", NULL
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 (arg1
)->SetDefault();
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1146 Py_INCREF(Py_None
); resultobj
= Py_None
;
1153 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
*resultobj
;
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 result
= wxButton::GetDefaultSize();
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) SWIG_fail
;
1170 resultptr
= new wxSize((wxSize
&) result
);
1171 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1179 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1182 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1184 return Py_BuildValue((char *)"");
1186 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
*resultobj
;
1188 wxWindow
*arg1
= (wxWindow
*) 0 ;
1190 wxBitmap
*arg3
= 0 ;
1191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1195 long arg6
= (long) wxBU_AUTODRAW
;
1196 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1197 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1198 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1199 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1200 wxBitmapButton
*result
;
1203 bool temp8
= False
;
1204 PyObject
* obj0
= 0 ;
1205 PyObject
* obj1
= 0 ;
1206 PyObject
* obj2
= 0 ;
1207 PyObject
* obj3
= 0 ;
1208 PyObject
* obj4
= 0 ;
1209 PyObject
* obj5
= 0 ;
1210 PyObject
* obj6
= 0 ;
1211 PyObject
* obj7
= 0 ;
1213 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1219 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1220 if (PyErr_Occurred()) SWIG_fail
;
1222 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1240 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1245 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1252 arg8
= wxString_in_helper(obj7
);
1253 if (arg8
== NULL
) SWIG_fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1265 resultobj
= wxPyMake_wxObject(result
);
1281 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
*resultobj
;
1283 wxBitmapButton
*result
;
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 result
= (wxBitmapButton
*)new wxBitmapButton();
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1297 resultobj
= wxPyMake_wxObject(result
);
1305 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
*resultobj
;
1307 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1308 wxWindow
*arg2
= (wxWindow
*) 0 ;
1310 wxBitmap
*arg4
= 0 ;
1311 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1312 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1313 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1314 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1315 long arg7
= (long) wxBU_AUTODRAW
;
1316 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1317 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1318 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1319 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1323 bool temp9
= False
;
1324 PyObject
* obj0
= 0 ;
1325 PyObject
* obj1
= 0 ;
1326 PyObject
* obj2
= 0 ;
1327 PyObject
* obj3
= 0 ;
1328 PyObject
* obj4
= 0 ;
1329 PyObject
* obj5
= 0 ;
1330 PyObject
* obj6
= 0 ;
1331 PyObject
* obj7
= 0 ;
1332 PyObject
* obj8
= 0 ;
1334 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1341 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1342 if (PyErr_Occurred()) SWIG_fail
;
1344 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1346 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1351 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1357 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1362 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1363 if (PyErr_Occurred()) SWIG_fail
;
1367 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1374 arg9
= wxString_in_helper(obj8
);
1375 if (arg9
== NULL
) SWIG_fail
;
1380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1381 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1383 wxPyEndAllowThreads(__tstate
);
1384 if (PyErr_Occurred()) SWIG_fail
;
1386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1401 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
*resultobj
;
1403 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1405 PyObject
* obj0
= 0 ;
1407 (char *) "self", NULL
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 result
= (arg1
)->GetBitmapLabel();
1416 wxPyEndAllowThreads(__tstate
);
1417 if (PyErr_Occurred()) SWIG_fail
;
1420 wxBitmap
* resultptr
;
1421 resultptr
= new wxBitmap((wxBitmap
&) result
);
1422 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1430 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
*resultobj
;
1432 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1434 PyObject
* obj0
= 0 ;
1436 (char *) "self", NULL
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 result
= (arg1
)->GetBitmapDisabled();
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) SWIG_fail
;
1449 wxBitmap
* resultptr
;
1450 resultptr
= new wxBitmap((wxBitmap
&) result
);
1451 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1459 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1461 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1463 PyObject
* obj0
= 0 ;
1465 (char *) "self", NULL
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 result
= (arg1
)->GetBitmapFocus();
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) SWIG_fail
;
1478 wxBitmap
* resultptr
;
1479 resultptr
= new wxBitmap((wxBitmap
&) result
);
1480 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1488 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
*resultobj
;
1490 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1492 PyObject
* obj0
= 0 ;
1494 (char *) "self", NULL
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 result
= (arg1
)->GetBitmapSelected();
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1507 wxBitmap
* resultptr
;
1508 resultptr
= new wxBitmap((wxBitmap
&) result
);
1509 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1517 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
*resultobj
;
1519 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1520 wxBitmap
*arg2
= 0 ;
1521 PyObject
* obj0
= 0 ;
1522 PyObject
* obj1
= 0 ;
1524 (char *) "self",(char *) "bitmap", NULL
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 Py_INCREF(Py_None
); resultobj
= Py_None
;
1547 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1549 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1550 wxBitmap
*arg2
= 0 ;
1551 PyObject
* obj0
= 0 ;
1552 PyObject
* obj1
= 0 ;
1554 (char *) "self",(char *) "bitmap", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1559 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1561 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1570 Py_INCREF(Py_None
); resultobj
= Py_None
;
1577 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
*resultobj
;
1579 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1580 wxBitmap
*arg2
= 0 ;
1581 PyObject
* obj0
= 0 ;
1582 PyObject
* obj1
= 0 ;
1584 (char *) "self",(char *) "bitmap", NULL
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1591 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1600 Py_INCREF(Py_None
); resultobj
= Py_None
;
1607 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
*resultobj
;
1609 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1610 wxBitmap
*arg2
= 0 ;
1611 PyObject
* obj0
= 0 ;
1612 PyObject
* obj1
= 0 ;
1614 (char *) "self",(char *) "bitmap", NULL
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1621 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 Py_INCREF(Py_None
); resultobj
= Py_None
;
1637 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1643 PyObject
* obj1
= 0 ;
1644 PyObject
* obj2
= 0 ;
1646 (char *) "self",(char *) "x",(char *) "y", NULL
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1652 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1656 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 (arg1
)->SetMargins(arg2
,arg3
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1666 Py_INCREF(Py_None
); resultobj
= Py_None
;
1673 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
*resultobj
;
1675 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1677 PyObject
* obj0
= 0 ;
1679 (char *) "self", NULL
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1691 resultobj
= SWIG_PyObj_FromInt((int)result
);
1698 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
*resultobj
;
1700 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1702 PyObject
* obj0
= 0 ;
1704 (char *) "self", NULL
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1711 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1713 wxPyEndAllowThreads(__tstate
);
1714 if (PyErr_Occurred()) SWIG_fail
;
1716 resultobj
= SWIG_PyObj_FromInt((int)result
);
1723 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1726 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1728 return Py_BuildValue((char *)"");
1730 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1731 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1736 static PyObject
*_wrap_CheckBoxNameStr_get() {
1741 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1743 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1750 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxWindow
*arg1
= (wxWindow
*) 0 ;
1754 wxString
*arg3
= 0 ;
1755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1759 long arg6
= (long) 0 ;
1760 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1761 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1762 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1763 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1765 bool temp3
= False
;
1768 bool temp8
= False
;
1769 PyObject
* obj0
= 0 ;
1770 PyObject
* obj1
= 0 ;
1771 PyObject
* obj2
= 0 ;
1772 PyObject
* obj3
= 0 ;
1773 PyObject
* obj4
= 0 ;
1774 PyObject
* obj5
= 0 ;
1775 PyObject
* obj6
= 0 ;
1776 PyObject
* obj7
= 0 ;
1778 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1784 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1788 arg3
= wxString_in_helper(obj2
);
1789 if (arg3
== NULL
) SWIG_fail
;
1795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1806 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1811 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1818 arg8
= wxString_in_helper(obj7
);
1819 if (arg8
== NULL
) SWIG_fail
;
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1853 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
*resultobj
;
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 result
= (wxCheckBox
*)new wxCheckBox();
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1875 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1878 wxWindow
*arg2
= (wxWindow
*) 0 ;
1880 wxString
*arg4
= 0 ;
1881 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1882 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1883 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1884 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1885 long arg7
= (long) 0 ;
1886 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1887 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1888 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1889 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1891 bool temp4
= False
;
1894 bool temp9
= False
;
1895 PyObject
* obj0
= 0 ;
1896 PyObject
* obj1
= 0 ;
1897 PyObject
* obj2
= 0 ;
1898 PyObject
* obj3
= 0 ;
1899 PyObject
* obj4
= 0 ;
1900 PyObject
* obj5
= 0 ;
1901 PyObject
* obj6
= 0 ;
1902 PyObject
* obj7
= 0 ;
1903 PyObject
* obj8
= 0 ;
1905 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1910 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1912 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1916 arg4
= wxString_in_helper(obj3
);
1917 if (arg4
== NULL
) SWIG_fail
;
1923 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1929 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1934 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1935 if (PyErr_Occurred()) SWIG_fail
;
1939 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1941 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1946 arg9
= wxString_in_helper(obj8
);
1947 if (arg9
== NULL
) SWIG_fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1981 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1983 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1985 PyObject
* obj0
= 0 ;
1987 (char *) "self", NULL
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 result
= (bool)(arg1
)->GetValue();
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2006 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
*resultobj
;
2008 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2010 PyObject
* obj0
= 0 ;
2012 (char *) "self", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 result
= (bool)(arg1
)->IsChecked();
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2031 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2035 PyObject
* obj0
= 0 ;
2036 PyObject
* obj1
= 0 ;
2038 (char *) "self",(char *) "state", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2044 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2049 (arg1
)->SetValue(arg2
);
2051 wxPyEndAllowThreads(__tstate
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2054 Py_INCREF(Py_None
); resultobj
= Py_None
;
2061 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
*resultobj
;
2063 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2065 PyObject
* obj0
= 0 ;
2067 (char *) "self", NULL
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= SWIG_PyObj_FromInt((int)result
);
2086 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2090 PyObject
* obj0
= 0 ;
2091 PyObject
* obj1
= 0 ;
2093 (char *) "self",(char *) "state", NULL
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2099 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2109 Py_INCREF(Py_None
); resultobj
= Py_None
;
2116 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
*resultobj
;
2118 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2120 PyObject
* obj0
= 0 ;
2122 (char *) "self", NULL
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2141 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2145 PyObject
* obj0
= 0 ;
2147 (char *) "self", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2166 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2169 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2171 return Py_BuildValue((char *)"");
2173 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2174 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2179 static PyObject
*_wrap_ChoiceNameStr_get() {
2184 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2186 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2193 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
*resultobj
;
2195 wxWindow
*arg1
= (wxWindow
*) 0 ;
2197 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2198 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2199 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2200 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2201 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2202 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2203 long arg6
= (long) 0 ;
2204 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2205 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2206 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2207 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2211 bool temp5
= False
;
2212 bool temp8
= False
;
2213 PyObject
* obj0
= 0 ;
2214 PyObject
* obj1
= 0 ;
2215 PyObject
* obj2
= 0 ;
2216 PyObject
* obj3
= 0 ;
2217 PyObject
* obj4
= 0 ;
2218 PyObject
* obj5
= 0 ;
2219 PyObject
* obj6
= 0 ;
2220 PyObject
* obj7
= 0 ;
2222 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2228 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2234 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2240 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2245 if (! PySequence_Check(obj4
)) {
2246 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2249 arg5
= new wxArrayString
;
2251 int i
, len
=PySequence_Length(obj4
);
2252 for (i
=0; i
<len
; i
++) {
2253 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2255 PyObject
* str
= PyObject_Unicode(item
);
2257 PyObject
* str
= PyObject_Str(item
);
2259 arg5
->Add(Py2wxString(str
));
2267 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2272 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2274 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2279 arg8
= wxString_in_helper(obj7
);
2280 if (arg8
== NULL
) SWIG_fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2293 if (temp5
) delete arg5
;
2302 if (temp5
) delete arg5
;
2312 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (wxChoice
*)new wxChoice();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2334 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxChoice
*arg1
= (wxChoice
*) 0 ;
2337 wxWindow
*arg2
= (wxWindow
*) 0 ;
2339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2343 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2344 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2345 long arg7
= (long) 0 ;
2346 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2347 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2348 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2349 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2353 bool temp6
= False
;
2354 bool temp9
= False
;
2355 PyObject
* obj0
= 0 ;
2356 PyObject
* obj1
= 0 ;
2357 PyObject
* obj2
= 0 ;
2358 PyObject
* obj3
= 0 ;
2359 PyObject
* obj4
= 0 ;
2360 PyObject
* obj5
= 0 ;
2361 PyObject
* obj6
= 0 ;
2362 PyObject
* obj7
= 0 ;
2363 PyObject
* obj8
= 0 ;
2365 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2370 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2372 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2389 if (! PySequence_Check(obj5
)) {
2390 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2393 arg6
= new wxArrayString
;
2395 int i
, len
=PySequence_Length(obj5
);
2396 for (i
=0; i
<len
; i
++) {
2397 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2399 PyObject
* str
= PyObject_Unicode(item
);
2401 PyObject
* str
= PyObject_Str(item
);
2403 arg6
->Add(Py2wxString(str
));
2411 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2416 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2418 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2423 arg9
= wxString_in_helper(obj8
);
2424 if (arg9
== NULL
) SWIG_fail
;
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) SWIG_fail
;
2435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2437 if (temp6
) delete arg6
;
2446 if (temp6
) delete arg6
;
2456 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxChoice
*arg1
= (wxChoice
*) 0 ;
2460 PyObject
* obj0
= 0 ;
2462 (char *) "self", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 result
= (int)(arg1
)->GetColumns();
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 resultobj
= SWIG_PyObj_FromInt((int)result
);
2481 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2483 wxChoice
*arg1
= (wxChoice
*) 0 ;
2484 int arg2
= (int) (int)1 ;
2485 PyObject
* obj0
= 0 ;
2486 PyObject
* obj1
= 0 ;
2488 (char *) "self",(char *) "n", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Choice_SetColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2495 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 (arg1
)->SetColumns(arg2
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 Py_INCREF(Py_None
); resultobj
= Py_None
;
2513 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxChoice
*arg1
= (wxChoice
*) 0 ;
2517 PyObject
* obj0
= 0 ;
2518 PyObject
* obj1
= 0 ;
2520 (char *) "self",(char *) "n", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2526 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 (arg1
)->SetSelection(arg2
);
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) SWIG_fail
;
2536 Py_INCREF(Py_None
); resultobj
= Py_None
;
2543 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
*resultobj
;
2545 wxChoice
*arg1
= (wxChoice
*) 0 ;
2546 wxString
*arg2
= 0 ;
2547 bool temp2
= False
;
2548 PyObject
* obj0
= 0 ;
2549 PyObject
* obj1
= 0 ;
2551 (char *) "self",(char *) "string", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2557 arg2
= wxString_in_helper(obj1
);
2558 if (arg2
== NULL
) SWIG_fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 Py_INCREF(Py_None
); resultobj
= Py_None
;
2583 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2585 wxChoice
*arg1
= (wxChoice
*) 0 ;
2587 wxString
*arg3
= 0 ;
2588 bool temp3
= False
;
2589 PyObject
* obj0
= 0 ;
2590 PyObject
* obj1
= 0 ;
2591 PyObject
* obj2
= 0 ;
2593 (char *) "self",(char *) "n",(char *) "s", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2599 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2603 arg3
= wxString_in_helper(obj2
);
2604 if (arg3
== NULL
) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2614 Py_INCREF(Py_None
); resultobj
= Py_None
;
2629 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2632 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2634 return Py_BuildValue((char *)"");
2636 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2637 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2642 static PyObject
*_wrap_ComboBoxNameStr_get() {
2647 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2649 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2656 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2657 PyObject
*resultobj
;
2658 wxWindow
*arg1
= (wxWindow
*) 0 ;
2660 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2661 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2666 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2667 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2668 long arg7
= (long) 0 ;
2669 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2670 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2671 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2672 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2674 bool temp3
= False
;
2677 bool temp6
= False
;
2678 bool temp9
= False
;
2679 PyObject
* obj0
= 0 ;
2680 PyObject
* obj1
= 0 ;
2681 PyObject
* obj2
= 0 ;
2682 PyObject
* obj3
= 0 ;
2683 PyObject
* obj4
= 0 ;
2684 PyObject
* obj5
= 0 ;
2685 PyObject
* obj6
= 0 ;
2686 PyObject
* obj7
= 0 ;
2687 PyObject
* obj8
= 0 ;
2689 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2695 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2700 arg3
= wxString_in_helper(obj2
);
2701 if (arg3
== NULL
) SWIG_fail
;
2708 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2714 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2719 if (! PySequence_Check(obj5
)) {
2720 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2723 arg6
= new wxArrayString
;
2725 int i
, len
=PySequence_Length(obj5
);
2726 for (i
=0; i
<len
; i
++) {
2727 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2729 PyObject
* str
= PyObject_Unicode(item
);
2731 PyObject
* str
= PyObject_Str(item
);
2733 arg6
->Add(Py2wxString(str
));
2741 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2746 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2748 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2753 arg9
= wxString_in_helper(obj8
);
2754 if (arg9
== NULL
) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 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
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2771 if (temp6
) delete arg6
;
2784 if (temp6
) delete arg6
;
2794 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= (wxComboBox
*)new wxComboBox();
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2809 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2816 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2818 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2819 wxWindow
*arg2
= (wxWindow
*) 0 ;
2821 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2822 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2823 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2824 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2825 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2826 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2827 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2828 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2829 long arg8
= (long) 0 ;
2830 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2831 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2832 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2833 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2835 bool temp4
= False
;
2838 bool temp7
= False
;
2839 bool temp10
= False
;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2842 PyObject
* obj2
= 0 ;
2843 PyObject
* obj3
= 0 ;
2844 PyObject
* obj4
= 0 ;
2845 PyObject
* obj5
= 0 ;
2846 PyObject
* obj6
= 0 ;
2847 PyObject
* obj7
= 0 ;
2848 PyObject
* obj8
= 0 ;
2849 PyObject
* obj9
= 0 ;
2851 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2856 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2858 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2863 arg4
= wxString_in_helper(obj3
);
2864 if (arg4
== NULL
) SWIG_fail
;
2871 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2877 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2882 if (! PySequence_Check(obj6
)) {
2883 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2886 arg7
= new wxArrayString
;
2888 int i
, len
=PySequence_Length(obj6
);
2889 for (i
=0; i
<len
; i
++) {
2890 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2892 PyObject
* str
= PyObject_Unicode(item
);
2894 PyObject
* str
= PyObject_Str(item
);
2896 arg7
->Add(Py2wxString(str
));
2904 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2909 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2911 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2916 arg10
= wxString_in_helper(obj9
);
2917 if (arg10
== NULL
) SWIG_fail
;
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 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
);
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2934 if (temp7
) delete arg7
;
2947 if (temp7
) delete arg7
;
2957 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2961 PyObject
* obj0
= 0 ;
2963 (char *) "self", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 result
= ((wxComboBox
const *)arg1
)->GetValue();
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2988 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2991 wxString
*arg2
= 0 ;
2992 bool temp2
= False
;
2993 PyObject
* obj0
= 0 ;
2994 PyObject
* obj1
= 0 ;
2996 (char *) "self",(char *) "value", NULL
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3002 arg2
= wxString_in_helper(obj1
);
3003 if (arg2
== NULL
) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 (arg1
)->SetValue((wxString
const &)*arg2
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 Py_INCREF(Py_None
); resultobj
= Py_None
;
3028 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "self", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3045 Py_INCREF(Py_None
); resultobj
= Py_None
;
3052 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
*resultobj
;
3054 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3057 (char *) "self", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3069 Py_INCREF(Py_None
); resultobj
= Py_None
;
3076 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3081 (char *) "self", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 Py_INCREF(Py_None
); resultobj
= Py_None
;
3100 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3107 (char *) "self",(char *) "pos", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3113 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 (arg1
)->SetInsertionPoint(arg2
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3130 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3136 (char *) "self", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",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();
3143 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3148 resultobj
= SWIG_PyObj_FromLong((long)result
);
3155 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
*resultobj
;
3157 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3159 PyObject
* obj0
= 0 ;
3161 (char *) "self", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 resultobj
= SWIG_PyObj_FromLong((long)result
);
3180 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3185 wxString
*arg4
= 0 ;
3186 bool temp4
= False
;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3189 PyObject
* obj2
= 0 ;
3190 PyObject
* obj3
= 0 ;
3192 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3198 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3202 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3206 arg4
= wxString_in_helper(obj3
);
3207 if (arg4
== NULL
) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 Py_INCREF(Py_None
); resultobj
= Py_None
;
3232 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3236 PyObject
* obj0
= 0 ;
3237 PyObject
* obj1
= 0 ;
3239 (char *) "self",(char *) "n", NULL
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 (arg1
)->SetSelection(arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 Py_INCREF(Py_None
); resultobj
= Py_None
;
3262 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
;
3264 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3267 PyObject
* obj0
= 0 ;
3268 PyObject
* obj1
= 0 ;
3269 PyObject
* obj2
= 0 ;
3271 (char *) "self",(char *) "from",(char *) "to", NULL
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3277 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3281 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 (arg1
)->SetSelection(arg2
,arg3
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3291 Py_INCREF(Py_None
); resultobj
= Py_None
;
3298 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3302 PyObject
* obj0
= 0 ;
3303 PyObject
* obj1
= 0 ;
3305 (char *) "self",(char *) "editable", NULL
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3311 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 (arg1
)->SetEditable(arg2
);
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "self", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 (arg1
)->SetInsertionPointEnd();
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 Py_INCREF(Py_None
); resultobj
= Py_None
;
3352 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3359 PyObject
* obj2
= 0 ;
3361 (char *) "self",(char *) "from",(char *) "to", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3367 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3371 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 (arg1
)->Remove(arg2
,arg3
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3381 Py_INCREF(Py_None
); resultobj
= Py_None
;
3388 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3391 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3393 return Py_BuildValue((char *)"");
3395 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3396 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3401 static PyObject
*_wrap_GaugeNameStr_get() {
3406 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3408 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3415 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxWindow
*arg1
= (wxWindow
*) 0 ;
3420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3424 long arg6
= (long) wxGA_HORIZONTAL
;
3425 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3426 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3427 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3428 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3432 bool temp8
= False
;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3435 PyObject
* obj2
= 0 ;
3436 PyObject
* obj3
= 0 ;
3437 PyObject
* obj4
= 0 ;
3438 PyObject
* obj5
= 0 ;
3439 PyObject
* obj6
= 0 ;
3440 PyObject
* obj7
= 0 ;
3442 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3448 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3469 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3474 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3481 arg8
= wxString_in_helper(obj7
);
3482 if (arg8
== NULL
) SWIG_fail
;
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3508 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
*resultobj
;
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= (wxGauge
*)new wxGauge();
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3530 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxGauge
*arg1
= (wxGauge
*) 0 ;
3533 wxWindow
*arg2
= (wxWindow
*) 0 ;
3536 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3537 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3538 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3539 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3540 long arg7
= (long) wxGA_HORIZONTAL
;
3541 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3542 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3543 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3544 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3548 bool temp9
= False
;
3549 PyObject
* obj0
= 0 ;
3550 PyObject
* obj1
= 0 ;
3551 PyObject
* obj2
= 0 ;
3552 PyObject
* obj3
= 0 ;
3553 PyObject
* obj4
= 0 ;
3554 PyObject
* obj5
= 0 ;
3555 PyObject
* obj6
= 0 ;
3556 PyObject
* obj7
= 0 ;
3557 PyObject
* obj8
= 0 ;
3559 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3566 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3576 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3582 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3587 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3592 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3599 arg9
= wxString_in_helper(obj8
);
3600 if (arg9
== NULL
) SWIG_fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3626 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxGauge
*arg1
= (wxGauge
*) 0 ;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3633 (char *) "self",(char *) "range", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 (arg1
)->SetRange(arg2
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxGauge
*arg1
= (wxGauge
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3662 (char *) "self", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= SWIG_PyObj_FromInt((int)result
);
3681 static PyObject
*_wrap_Gauge_SetValue(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 *) "pos", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",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
)->SetValue(arg2
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 Py_INCREF(Py_None
); resultobj
= Py_None
;
3711 static PyObject
*_wrap_Gauge_GetValue(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_GetValue",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
)->GetValue();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_PyObj_FromInt((int)result
);
3736 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxGauge
*arg1
= (wxGauge
*) 0 ;
3740 PyObject
* obj0
= 0 ;
3742 (char *) "self", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3761 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxGauge
*arg1
= (wxGauge
*) 0 ;
3765 PyObject
* obj0
= 0 ;
3766 PyObject
* obj1
= 0 ;
3768 (char *) "self",(char *) "w", NULL
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3774 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 (arg1
)->SetShadowWidth(arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_Gauge_GetShadowWidth(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_GetShadowWidth",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
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= SWIG_PyObj_FromInt((int)result
);
3816 static PyObject
*_wrap_Gauge_SetBezelFace(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_SetBezelFace",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
)->SetBezelFace(arg2
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3846 static PyObject
*_wrap_Gauge_GetBezelFace(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_GetBezelFace",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
)->GetBezelFace();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= SWIG_PyObj_FromInt((int)result
);
3871 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3874 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3876 return Py_BuildValue((char *)"");
3878 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3879 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3884 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3889 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3891 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3898 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3899 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3904 static PyObject
*_wrap_StaticBoxNameStr_get() {
3909 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3911 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3918 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3919 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3924 static PyObject
*_wrap_StaticTextNameStr_get() {
3929 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3931 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3938 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxWindow
*arg1
= (wxWindow
*) 0 ;
3942 wxString
*arg3
= 0 ;
3943 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3944 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3945 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3946 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3947 long arg6
= (long) 0 ;
3948 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3949 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3950 wxStaticBox
*result
;
3951 bool temp3
= False
;
3954 bool temp7
= False
;
3955 PyObject
* obj0
= 0 ;
3956 PyObject
* obj1
= 0 ;
3957 PyObject
* obj2
= 0 ;
3958 PyObject
* obj3
= 0 ;
3959 PyObject
* obj4
= 0 ;
3960 PyObject
* obj5
= 0 ;
3961 PyObject
* obj6
= 0 ;
3963 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3969 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3973 arg3
= wxString_in_helper(obj2
);
3974 if (arg3
== NULL
) SWIG_fail
;
3980 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3986 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3991 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3997 arg7
= wxString_in_helper(obj6
);
3998 if (arg7
== NULL
) SWIG_fail
;
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= wxPyMake_wxObject(result
);
4034 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxStaticBox
*result
;
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 result
= (wxStaticBox
*)new wxStaticBox();
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4050 resultobj
= wxPyMake_wxObject(result
);
4058 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4061 wxWindow
*arg2
= (wxWindow
*) 0 ;
4063 wxString
*arg4
= 0 ;
4064 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4065 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4066 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4067 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4068 long arg7
= (long) 0 ;
4069 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4070 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4072 bool temp4
= False
;
4075 bool temp8
= False
;
4076 PyObject
* obj0
= 0 ;
4077 PyObject
* obj1
= 0 ;
4078 PyObject
* obj2
= 0 ;
4079 PyObject
* obj3
= 0 ;
4080 PyObject
* obj4
= 0 ;
4081 PyObject
* obj5
= 0 ;
4082 PyObject
* obj6
= 0 ;
4083 PyObject
* obj7
= 0 ;
4085 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4092 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4096 arg4
= wxString_in_helper(obj3
);
4097 if (arg4
== NULL
) SWIG_fail
;
4103 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4109 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4114 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4120 arg8
= wxString_in_helper(obj7
);
4121 if (arg8
== NULL
) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4155 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4158 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4160 return Py_BuildValue((char *)"");
4162 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 wxWindow
*arg1
= (wxWindow
*) 0 ;
4166 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4167 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4168 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4169 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4170 long arg5
= (long) wxLI_HORIZONTAL
;
4171 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4172 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4173 wxStaticLine
*result
;
4176 bool temp6
= False
;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4179 PyObject
* obj2
= 0 ;
4180 PyObject
* obj3
= 0 ;
4181 PyObject
* obj4
= 0 ;
4182 PyObject
* obj5
= 0 ;
4184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4190 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4196 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4202 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4207 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4213 arg6
= wxString_in_helper(obj5
);
4214 if (arg6
== NULL
) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4240 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxStaticLine
*result
;
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (wxStaticLine
*)new wxStaticLine();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4262 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4265 wxWindow
*arg2
= (wxWindow
*) 0 ;
4267 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4268 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4269 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4270 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4271 long arg6
= (long) wxLI_HORIZONTAL
;
4272 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4273 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4277 bool temp7
= False
;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 PyObject
* obj2
= 0 ;
4281 PyObject
* obj3
= 0 ;
4282 PyObject
* obj4
= 0 ;
4283 PyObject
* obj5
= 0 ;
4284 PyObject
* obj6
= 0 ;
4286 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4293 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4299 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4305 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4310 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4316 arg7
= wxString_in_helper(obj6
);
4317 if (arg7
== NULL
) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4343 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4349 (char *) "self", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4368 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= (int)wxStaticLine::GetDefaultSize();
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_PyObj_FromInt((int)result
);
4390 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4393 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4395 return Py_BuildValue((char *)"");
4397 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxWindow
*arg1
= (wxWindow
*) 0 ;
4401 wxString
*arg3
= 0 ;
4402 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4403 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4404 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4405 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4406 long arg6
= (long) 0 ;
4407 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4408 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4409 wxStaticText
*result
;
4410 bool temp3
= False
;
4413 bool temp7
= False
;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4416 PyObject
* obj2
= 0 ;
4417 PyObject
* obj3
= 0 ;
4418 PyObject
* obj4
= 0 ;
4419 PyObject
* obj5
= 0 ;
4420 PyObject
* obj6
= 0 ;
4422 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4428 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4432 arg3
= wxString_in_helper(obj2
);
4433 if (arg3
== NULL
) SWIG_fail
;
4439 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4445 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4450 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4456 arg7
= wxString_in_helper(obj6
);
4457 if (arg7
== NULL
) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4491 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxStaticText
*result
;
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 result
= (wxStaticText
*)new wxStaticText();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4513 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4516 wxWindow
*arg2
= (wxWindow
*) 0 ;
4518 wxString
*arg4
= 0 ;
4519 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4520 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4521 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4522 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4523 long arg7
= (long) 0 ;
4524 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4525 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4527 bool temp4
= False
;
4530 bool temp8
= False
;
4531 PyObject
* obj0
= 0 ;
4532 PyObject
* obj1
= 0 ;
4533 PyObject
* obj2
= 0 ;
4534 PyObject
* obj3
= 0 ;
4535 PyObject
* obj4
= 0 ;
4536 PyObject
* obj5
= 0 ;
4537 PyObject
* obj6
= 0 ;
4538 PyObject
* obj7
= 0 ;
4540 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4547 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4551 arg4
= wxString_in_helper(obj3
);
4552 if (arg4
== NULL
) SWIG_fail
;
4558 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4564 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4569 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4575 arg8
= wxString_in_helper(obj7
);
4576 if (arg8
== NULL
) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4610 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4613 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4615 return Py_BuildValue((char *)"");
4617 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxWindow
*arg1
= (wxWindow
*) 0 ;
4621 wxBitmap
*arg3
= 0 ;
4622 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4623 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4624 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4625 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4626 long arg6
= (long) 0 ;
4627 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4628 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4629 wxStaticBitmap
*result
;
4632 bool temp7
= False
;
4633 PyObject
* obj0
= 0 ;
4634 PyObject
* obj1
= 0 ;
4635 PyObject
* obj2
= 0 ;
4636 PyObject
* obj3
= 0 ;
4637 PyObject
* obj4
= 0 ;
4638 PyObject
* obj5
= 0 ;
4639 PyObject
* obj6
= 0 ;
4641 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4652 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4657 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4663 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4668 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4674 arg7
= wxString_in_helper(obj6
);
4675 if (arg7
== NULL
) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4701 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
;
4703 wxStaticBitmap
*result
;
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4723 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
*resultobj
;
4725 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4726 wxWindow
*arg2
= (wxWindow
*) 0 ;
4728 wxBitmap
*arg4
= 0 ;
4729 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4730 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4731 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4732 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4733 long arg7
= (long) 0 ;
4734 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4735 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4739 bool temp8
= False
;
4740 PyObject
* obj0
= 0 ;
4741 PyObject
* obj1
= 0 ;
4742 PyObject
* obj2
= 0 ;
4743 PyObject
* obj3
= 0 ;
4744 PyObject
* obj4
= 0 ;
4745 PyObject
* obj5
= 0 ;
4746 PyObject
* obj6
= 0 ;
4747 PyObject
* obj7
= 0 ;
4749 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4754 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4756 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4759 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4761 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4766 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4772 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4777 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4783 arg8
= wxString_in_helper(obj7
);
4784 if (arg8
== NULL
) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4810 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4814 PyObject
* obj0
= 0 ;
4816 (char *) "self", NULL
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (arg1
)->GetBitmap();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 wxBitmap
* resultptr
;
4830 resultptr
= new wxBitmap((wxBitmap
&) result
);
4831 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4839 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4842 wxBitmap
*arg2
= 0 ;
4843 PyObject
* obj0
= 0 ;
4844 PyObject
* obj1
= 0 ;
4846 (char *) "self",(char *) "bitmap", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4851 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4853 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 Py_INCREF(Py_None
); resultobj
= Py_None
;
4869 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4871 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4876 (char *) "self",(char *) "icon", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4881 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4883 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 Py_INCREF(Py_None
); resultobj
= Py_None
;
4899 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4902 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4904 return Py_BuildValue((char *)"");
4906 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4907 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4912 static PyObject
*_wrap_ListBoxNameStr_get() {
4917 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4919 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4926 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxWindow
*arg1
= (wxWindow
*) 0 ;
4930 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4931 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4932 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4933 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4934 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4935 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4936 long arg6
= (long) 0 ;
4937 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4938 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4939 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
4940 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4944 bool temp5
= False
;
4945 bool temp8
= False
;
4946 PyObject
* obj0
= 0 ;
4947 PyObject
* obj1
= 0 ;
4948 PyObject
* obj2
= 0 ;
4949 PyObject
* obj3
= 0 ;
4950 PyObject
* obj4
= 0 ;
4951 PyObject
* obj5
= 0 ;
4952 PyObject
* obj6
= 0 ;
4953 PyObject
* obj7
= 0 ;
4955 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4967 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4973 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4978 if (! PySequence_Check(obj4
)) {
4979 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4982 arg5
= new wxArrayString
;
4984 int i
, len
=PySequence_Length(obj4
);
4985 for (i
=0; i
<len
; i
++) {
4986 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4988 PyObject
* str
= PyObject_Unicode(item
);
4990 PyObject
* str
= PyObject_Str(item
);
4992 arg5
->Add(Py2wxString(str
));
5000 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5005 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5007 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5012 arg8
= wxString_in_helper(obj7
);
5013 if (arg8
== NULL
) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5026 if (temp5
) delete arg5
;
5035 if (temp5
) delete arg5
;
5045 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 result
= (wxListBox
*)new wxListBox();
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5067 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxListBox
*arg1
= (wxListBox
*) 0 ;
5070 wxWindow
*arg2
= (wxWindow
*) 0 ;
5072 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5073 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5074 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5075 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5076 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5077 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5078 long arg7
= (long) 0 ;
5079 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5080 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5081 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5082 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5086 bool temp6
= False
;
5087 bool temp9
= False
;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5090 PyObject
* obj2
= 0 ;
5091 PyObject
* obj3
= 0 ;
5092 PyObject
* obj4
= 0 ;
5093 PyObject
* obj5
= 0 ;
5094 PyObject
* obj6
= 0 ;
5095 PyObject
* obj7
= 0 ;
5096 PyObject
* obj8
= 0 ;
5098 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5105 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5111 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5117 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5122 if (! PySequence_Check(obj5
)) {
5123 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5126 arg6
= new wxArrayString
;
5128 int i
, len
=PySequence_Length(obj5
);
5129 for (i
=0; i
<len
; i
++) {
5130 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5132 PyObject
* str
= PyObject_Unicode(item
);
5134 PyObject
* str
= PyObject_Str(item
);
5136 arg6
->Add(Py2wxString(str
));
5144 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5149 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5156 arg9
= wxString_in_helper(obj8
);
5157 if (arg9
== NULL
) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5170 if (temp6
) delete arg6
;
5179 if (temp6
) delete arg6
;
5189 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxListBox
*arg1
= (wxListBox
*) 0 ;
5192 wxString
*arg2
= 0 ;
5194 PyObject
*arg4
= (PyObject
*) NULL
;
5195 bool temp2
= False
;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5198 PyObject
* obj2
= 0 ;
5199 PyObject
* obj3
= 0 ;
5201 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5207 arg2
= wxString_in_helper(obj1
);
5208 if (arg2
== NULL
) SWIG_fail
;
5212 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 Py_INCREF(Py_None
); resultobj
= Py_None
;
5240 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
;
5242 wxListBox
*arg1
= (wxListBox
*) 0 ;
5243 wxArrayString
*arg2
= 0 ;
5245 bool temp2
= False
;
5246 PyObject
* obj0
= 0 ;
5247 PyObject
* obj1
= 0 ;
5248 PyObject
* obj2
= 0 ;
5250 (char *) "self",(char *) "items",(char *) "pos", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5256 if (! PySequence_Check(obj1
)) {
5257 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5260 arg2
= new wxArrayString
;
5262 int i
, len
=PySequence_Length(obj1
);
5263 for (i
=0; i
<len
; i
++) {
5264 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5266 PyObject
* str
= PyObject_Unicode(item
);
5268 PyObject
* str
= PyObject_Str(item
);
5270 arg2
->Add(Py2wxString(str
));
5276 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 Py_INCREF(Py_None
); resultobj
= Py_None
;
5288 if (temp2
) delete arg2
;
5293 if (temp2
) delete arg2
;
5299 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
*resultobj
;
5301 wxListBox
*arg1
= (wxListBox
*) 0 ;
5302 wxArrayString
*arg2
= 0 ;
5303 bool temp2
= False
;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5307 (char *) "self",(char *) "items", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5313 if (! PySequence_Check(obj1
)) {
5314 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5317 arg2
= new wxArrayString
;
5319 int i
, len
=PySequence_Length(obj1
);
5320 for (i
=0; i
<len
; i
++) {
5321 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5323 PyObject
* str
= PyObject_Unicode(item
);
5325 PyObject
* str
= PyObject_Str(item
);
5327 arg2
->Add(Py2wxString(str
));
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->Set((wxArrayString
const &)*arg2
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 Py_INCREF(Py_None
); resultobj
= Py_None
;
5341 if (temp2
) delete arg2
;
5346 if (temp2
) delete arg2
;
5352 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxListBox
*arg1
= (wxListBox
*) 0 ;
5357 PyObject
* obj0
= 0 ;
5358 PyObject
* obj1
= 0 ;
5360 (char *) "self",(char *) "n", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5366 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5383 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxListBox
*arg1
= (wxListBox
*) 0 ;
5387 bool arg3
= (bool) True
;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5390 PyObject
* obj2
= 0 ;
5392 (char *) "self",(char *) "n",(char *) "select", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5398 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5403 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 (arg1
)->SetSelection(arg2
,arg3
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 Py_INCREF(Py_None
); resultobj
= Py_None
;
5421 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
;
5423 wxListBox
*arg1
= (wxListBox
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5428 (char *) "self",(char *) "n", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5434 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 (arg1
)->Select(arg2
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 Py_INCREF(Py_None
); resultobj
= Py_None
;
5451 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxListBox
*arg1
= (wxListBox
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5458 (char *) "self",(char *) "n", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5464 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 (arg1
)->Deselect(arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 Py_INCREF(Py_None
); resultobj
= Py_None
;
5481 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxListBox
*arg1
= (wxListBox
*) 0 ;
5484 int arg2
= (int) -1 ;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5488 (char *) "self",(char *) "itemToLeaveSelected", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5495 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 (arg1
)->DeselectAll(arg2
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 Py_INCREF(Py_None
); resultobj
= Py_None
;
5513 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5515 wxListBox
*arg1
= (wxListBox
*) 0 ;
5516 wxString
*arg2
= 0 ;
5517 bool arg3
= (bool) True
;
5519 bool temp2
= False
;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5522 PyObject
* obj2
= 0 ;
5524 (char *) "self",(char *) "s",(char *) "select", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5530 arg2
= wxString_in_helper(obj1
);
5531 if (arg2
== NULL
) SWIG_fail
;
5536 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5562 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxListBox
*arg1
= (wxListBox
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5568 (char *) "self", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5587 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxListBox
*arg1
= (wxListBox
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj1
= 0 ;
5594 (char *) "self",(char *) "n", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5600 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 (arg1
)->SetFirstItem(arg2
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 Py_INCREF(Py_None
); resultobj
= Py_None
;
5617 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 wxListBox
*arg1
= (wxListBox
*) 0 ;
5620 wxString
*arg2
= 0 ;
5621 bool temp2
= False
;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5625 (char *) "self",(char *) "s", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5631 arg2
= wxString_in_helper(obj1
);
5632 if (arg2
== NULL
) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 Py_INCREF(Py_None
); resultobj
= Py_None
;
5657 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxListBox
*arg1
= (wxListBox
*) 0 ;
5661 PyObject
* obj0
= 0 ;
5662 PyObject
* obj1
= 0 ;
5664 (char *) "self",(char *) "n", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5670 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 (arg1
)->EnsureVisible(arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxListBox
*arg1
= (wxListBox
*) 0 ;
5690 wxString
*arg2
= 0 ;
5691 bool temp2
= False
;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5695 (char *) "self",(char *) "s", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5701 arg2
= wxString_in_helper(obj1
);
5702 if (arg2
== NULL
) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 Py_INCREF(Py_None
); resultobj
= Py_None
;
5727 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxListBox
*arg1
= (wxListBox
*) 0 ;
5731 PyObject
* obj0
= 0 ;
5733 (char *) "self", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5752 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5755 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5757 return Py_BuildValue((char *)"");
5759 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxWindow
*arg1
= (wxWindow
*) 0 ;
5763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5767 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5768 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5769 long arg6
= (long) 0 ;
5770 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5771 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5772 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5773 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5774 wxCheckListBox
*result
;
5777 bool temp5
= False
;
5778 bool temp8
= False
;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5781 PyObject
* obj2
= 0 ;
5782 PyObject
* obj3
= 0 ;
5783 PyObject
* obj4
= 0 ;
5784 PyObject
* obj5
= 0 ;
5785 PyObject
* obj6
= 0 ;
5786 PyObject
* obj7
= 0 ;
5788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5794 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5806 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5811 if (! PySequence_Check(obj4
)) {
5812 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5815 arg5
= new wxArrayString
;
5817 int i
, len
=PySequence_Length(obj4
);
5818 for (i
=0; i
<len
; i
++) {
5819 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5821 PyObject
* str
= PyObject_Unicode(item
);
5823 PyObject
* str
= PyObject_Str(item
);
5825 arg5
->Add(Py2wxString(str
));
5833 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5838 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5840 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5845 arg8
= wxString_in_helper(obj7
);
5846 if (arg8
== NULL
) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5859 if (temp5
) delete arg5
;
5868 if (temp5
) delete arg5
;
5878 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxCheckListBox
*result
;
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (wxCheckListBox
*)new wxCheckListBox();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5900 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5903 wxWindow
*arg2
= (wxWindow
*) 0 ;
5905 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5906 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5907 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5908 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5909 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5910 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5911 long arg7
= (long) 0 ;
5912 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5913 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5914 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5915 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5919 bool temp6
= False
;
5920 bool temp9
= False
;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5923 PyObject
* obj2
= 0 ;
5924 PyObject
* obj3
= 0 ;
5925 PyObject
* obj4
= 0 ;
5926 PyObject
* obj5
= 0 ;
5927 PyObject
* obj6
= 0 ;
5928 PyObject
* obj7
= 0 ;
5929 PyObject
* obj8
= 0 ;
5931 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5938 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5944 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5950 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5955 if (! PySequence_Check(obj5
)) {
5956 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5959 arg6
= new wxArrayString
;
5961 int i
, len
=PySequence_Length(obj5
);
5962 for (i
=0; i
<len
; i
++) {
5963 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5965 PyObject
* str
= PyObject_Unicode(item
);
5967 PyObject
* str
= PyObject_Str(item
);
5969 arg6
->Add(Py2wxString(str
));
5977 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5982 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5984 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5989 arg9
= wxString_in_helper(obj8
);
5990 if (arg9
== NULL
) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 if (temp6
) delete arg6
;
6012 if (temp6
) delete arg6
;
6022 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6027 PyObject
* obj0
= 0 ;
6028 PyObject
* obj1
= 0 ;
6030 (char *) "self",(char *) "index", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6036 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (bool)(arg1
)->IsChecked(arg2
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6053 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6057 int arg3
= (int) True
;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 PyObject
* obj2
= 0 ;
6062 (char *) "self",(char *) "index",(char *) "check", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6068 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6073 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 (arg1
)->Check(arg2
,arg3
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 Py_INCREF(Py_None
); resultobj
= Py_None
;
6091 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6097 (char *) "self", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (int)(arg1
)->GetItemHeight();
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= SWIG_PyObj_FromInt((int)result
);
6116 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6125 (char *) "self",(char *) "pt", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= SWIG_PyObj_FromInt((int)result
);
6148 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 PyObject
* obj2
= 0 ;
6158 (char *) "self",(char *) "x",(char *) "y", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6168 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_PyObj_FromInt((int)result
);
6185 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6188 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6190 return Py_BuildValue((char *)"");
6192 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6193 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6198 static PyObject
*_wrap_TextCtrlNameStr_get() {
6203 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6205 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6212 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6213 PyObject
*resultobj
;
6216 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (wxTextAttr
*)new wxTextAttr();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6231 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6232 PyObject
*resultobj
;
6233 wxColour
*arg1
= 0 ;
6234 wxColour
const &arg2_defvalue
= wxNullColour
;
6235 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6236 wxFont
const &arg3_defvalue
= wxNullFont
;
6237 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6238 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6242 PyObject
* obj0
= 0 ;
6243 PyObject
* obj1
= 0 ;
6244 PyObject
* obj2
= 0 ;
6245 PyObject
* obj3
= 0 ;
6247 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6250 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6255 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6259 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6261 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6266 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6277 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6284 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6289 argc
= PyObject_Length(args
);
6290 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6291 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6294 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6296 if ((argc
>= 1) && (argc
<= 4)) {
6299 _v
= wxColour_typecheck(argv
[0]);
6303 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6306 _v
= wxColour_typecheck(argv
[1]);
6310 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6314 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6323 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6326 SWIG_PyObj_AsInt(argv
[3]);
6327 if (PyErr_Occurred()) {
6335 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6342 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6347 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6352 (char *) "self", NULL
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 Py_INCREF(Py_None
); resultobj
= Py_None
;
6371 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6376 (char *) "self", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 Py_INCREF(Py_None
); resultobj
= Py_None
;
6395 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6398 wxColour
*arg2
= 0 ;
6400 PyObject
* obj0
= 0 ;
6401 PyObject
* obj1
= 0 ;
6403 (char *) "self",(char *) "colText", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 Py_INCREF(Py_None
); resultobj
= Py_None
;
6426 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6429 wxColour
*arg2
= 0 ;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6434 (char *) "self",(char *) "colBack", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6441 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 Py_INCREF(Py_None
); resultobj
= Py_None
;
6457 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6461 long arg3
= (long) wxTEXT_ATTR_FONT
;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 PyObject
* obj2
= 0 ;
6466 (char *) "self",(char *) "font",(char *) "flags", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6477 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 Py_INCREF(Py_None
); resultobj
= Py_None
;
6495 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6502 (char *) "self",(char *) "alignment", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6508 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 Py_INCREF(Py_None
); resultobj
= Py_None
;
6525 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6528 wxArrayInt
*arg2
= 0 ;
6529 bool temp2
= False
;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6533 (char *) "self",(char *) "tabs", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6539 if (! PySequence_Check(obj1
)) {
6540 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6543 arg2
= new wxArrayInt
;
6545 int i
, len
=PySequence_Length(obj1
);
6546 for (i
=0; i
<len
; i
++) {
6547 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6548 PyObject
* number
= PyNumber_Int(item
);
6549 arg2
->Add(PyInt_AS_LONG(number
));
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 Py_INCREF(Py_None
); resultobj
= Py_None
;
6563 if (temp2
) delete arg2
;
6568 if (temp2
) delete arg2
;
6574 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6581 (char *) "self",(char *) "indent", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6587 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 (arg1
)->SetLeftIndent(arg2
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6611 (char *) "self",(char *) "indent", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 (arg1
)->SetRightIndent(arg2
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6641 (char *) "self",(char *) "flags", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6647 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 (arg1
)->SetFlags(arg2
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 Py_INCREF(Py_None
); resultobj
= Py_None
;
6664 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6668 PyObject
* obj0
= 0 ;
6670 (char *) "self", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6689 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6695 (char *) "self", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6714 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6720 (char *) "self", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6739 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6743 PyObject
* obj0
= 0 ;
6745 (char *) "self", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6764 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6770 (char *) "self", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6789 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6795 (char *) "self", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6814 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6820 (char *) "self", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6839 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6847 (char *) "self",(char *) "flag", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6853 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6870 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6872 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6874 PyObject
* obj0
= 0 ;
6876 (char *) "self", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6885 result
= (wxColour
*) &_result_ref
;
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6898 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
*resultobj
;
6900 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6902 PyObject
* obj0
= 0 ;
6904 (char *) "self", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6913 result
= (wxColour
*) &_result_ref
;
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6926 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6932 (char *) "self", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6941 result
= (wxFont
*) &_result_ref
;
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6954 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6958 PyObject
* obj0
= 0 ;
6960 (char *) "self", NULL
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_PyObj_FromInt((int)result
);
6979 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
;
6981 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6983 PyObject
* obj0
= 0 ;
6985 (char *) "self", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6994 result
= (wxArrayInt
*) &_result_ref
;
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= PyList_New(0);
7003 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7004 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7005 PyList_Append(resultobj
, val
);
7015 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7021 (char *) "self", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= SWIG_PyObj_FromLong((long)result
);
7040 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
;
7042 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7044 PyObject
* obj0
= 0 ;
7046 (char *) "self", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_PyObj_FromLong((long)result
);
7065 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7069 PyObject
* obj0
= 0 ;
7071 (char *) "self", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= SWIG_PyObj_FromLong((long)result
);
7090 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7096 (char *) "self", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7115 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxTextAttr
*arg1
= 0 ;
7118 wxTextAttr
*arg2
= 0 ;
7119 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7123 PyObject
* obj2
= 0 ;
7125 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7137 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7146 wxTextAttr
* resultptr
;
7147 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7148 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7156 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7159 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7161 return Py_BuildValue((char *)"");
7163 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxWindow
*arg1
= (wxWindow
*) 0 ;
7167 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7168 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7169 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7170 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7171 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7172 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7173 long arg6
= (long) 0 ;
7174 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7175 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7176 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7177 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7179 bool temp3
= False
;
7182 bool temp8
= False
;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7185 PyObject
* obj2
= 0 ;
7186 PyObject
* obj3
= 0 ;
7187 PyObject
* obj4
= 0 ;
7188 PyObject
* obj5
= 0 ;
7189 PyObject
* obj6
= 0 ;
7190 PyObject
* obj7
= 0 ;
7192 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7198 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7203 arg3
= wxString_in_helper(obj2
);
7204 if (arg3
== NULL
) SWIG_fail
;
7211 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7217 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7222 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7227 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7234 arg8
= wxString_in_helper(obj7
);
7235 if (arg8
== NULL
) SWIG_fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= wxPyMake_wxObject(result
);
7271 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (wxTextCtrl
*)new wxTextCtrl();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= wxPyMake_wxObject(result
);
7295 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7298 wxWindow
*arg2
= (wxWindow
*) 0 ;
7300 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7301 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7302 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7303 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7304 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7305 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7306 long arg7
= (long) 0 ;
7307 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7308 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7309 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7310 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7312 bool temp4
= False
;
7315 bool temp9
= False
;
7316 PyObject
* obj0
= 0 ;
7317 PyObject
* obj1
= 0 ;
7318 PyObject
* obj2
= 0 ;
7319 PyObject
* obj3
= 0 ;
7320 PyObject
* obj4
= 0 ;
7321 PyObject
* obj5
= 0 ;
7322 PyObject
* obj6
= 0 ;
7323 PyObject
* obj7
= 0 ;
7324 PyObject
* obj8
= 0 ;
7326 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7333 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7338 arg4
= wxString_in_helper(obj3
);
7339 if (arg4
== NULL
) SWIG_fail
;
7346 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7352 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7357 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7362 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7364 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7369 arg9
= wxString_in_helper(obj8
);
7370 if (arg9
== NULL
) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7404 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7435 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7438 wxString
*arg2
= 0 ;
7439 bool temp2
= False
;
7440 PyObject
* obj0
= 0 ;
7441 PyObject
* obj1
= 0 ;
7443 (char *) "self",(char *) "value", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7449 arg2
= wxString_in_helper(obj1
);
7450 if (arg2
== NULL
) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 (arg1
)->SetValue((wxString
const &)*arg2
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7483 PyObject
* obj2
= 0 ;
7485 (char *) "self",(char *) "from",(char *) "to", NULL
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7491 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7495 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7518 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
;
7520 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7524 PyObject
* obj1
= 0 ;
7526 (char *) "self",(char *) "lineNo", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_PyObj_FromInt((int)result
);
7549 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "lineNo", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7563 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7586 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7590 PyObject
* obj0
= 0 ;
7592 (char *) "self", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= SWIG_PyObj_FromInt((int)result
);
7611 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7615 PyObject
* obj0
= 0 ;
7617 (char *) "self", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7636 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7642 (char *) "self", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7661 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7686 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7692 (char *) "self", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7711 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7714 long *arg2
= (long *) 0 ;
7715 long *arg3
= (long *) 0 ;
7718 PyObject
* obj0
= 0 ;
7720 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 Py_INCREF(Py_None
); resultobj
= Py_None
;
7736 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7737 resultobj
= t_output_helper(resultobj
,o
);
7740 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7741 resultobj
= t_output_helper(resultobj
,o
);
7749 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7755 (char *) "self", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7780 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
;
7782 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 Py_INCREF(Py_None
); resultobj
= Py_None
;
7804 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7809 wxString
*arg4
= 0 ;
7810 bool temp4
= False
;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 PyObject
* obj2
= 0 ;
7814 PyObject
* obj3
= 0 ;
7816 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7822 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 arg4
= wxString_in_helper(obj3
);
7831 if (arg4
== NULL
) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 Py_INCREF(Py_None
); resultobj
= Py_None
;
7856 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7863 PyObject
* obj2
= 0 ;
7865 (char *) "self",(char *) "from",(char *) "to", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7871 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7875 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 (arg1
)->Remove(arg2
,arg3
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 Py_INCREF(Py_None
); resultobj
= Py_None
;
7892 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7895 wxString
*arg2
= 0 ;
7897 bool temp2
= False
;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7901 (char *) "self",(char *) "file", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7907 arg2
= wxString_in_helper(obj1
);
7908 if (arg2
== NULL
) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7933 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7936 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7937 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7939 bool temp2
= False
;
7940 PyObject
* obj0
= 0 ;
7941 PyObject
* obj1
= 0 ;
7943 (char *) "self",(char *) "file", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7950 arg2
= wxString_in_helper(obj1
);
7951 if (arg2
== NULL
) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7977 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7982 (char *) "self", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 (arg1
)->MarkDirty();
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 Py_INCREF(Py_None
); resultobj
= Py_None
;
8001 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8006 (char *) "self", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 (arg1
)->DiscardEdits();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 Py_INCREF(Py_None
); resultobj
= Py_None
;
8025 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
;
8027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8028 unsigned long arg2
;
8029 PyObject
* obj0
= 0 ;
8030 PyObject
* obj1
= 0 ;
8032 (char *) "self",(char *) "len", NULL
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8038 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 (arg1
)->SetMaxLength(arg2
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 Py_INCREF(Py_None
); resultobj
= Py_None
;
8055 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
;
8057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8058 wxString
*arg2
= 0 ;
8059 bool temp2
= False
;
8060 PyObject
* obj0
= 0 ;
8061 PyObject
* obj1
= 0 ;
8063 (char *) "self",(char *) "text", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8069 arg2
= wxString_in_helper(obj1
);
8070 if (arg2
== NULL
) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 (arg1
)->WriteText((wxString
const &)*arg2
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 Py_INCREF(Py_None
); resultobj
= Py_None
;
8095 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
;
8097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8098 wxString
*arg2
= 0 ;
8099 bool temp2
= False
;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8103 (char *) "self",(char *) "text", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8109 arg2
= wxString_in_helper(obj1
);
8110 if (arg2
== NULL
) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 (arg1
)->AppendText((wxString
const &)*arg2
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8138 wxKeyEvent
*arg2
= 0 ;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8143 (char *) "self",(char *) "event", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8166 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8171 wxTextAttr
*arg4
= 0 ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8175 PyObject
* obj2
= 0 ;
8176 PyObject
* obj3
= 0 ;
8178 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8184 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8188 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8209 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8213 wxTextAttr
*arg3
= 0 ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8219 (char *) "self",(char *) "position",(char *) "style", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
8228 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8246 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8249 wxTextAttr
*arg2
= 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8254 (char *) "self",(char *) "style", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8261 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8277 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8281 PyObject
* obj0
= 0 ;
8283 (char *) "self", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8292 result
= (wxTextAttr
*) &_result_ref
;
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8305 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8313 PyObject
* obj2
= 0 ;
8315 (char *) "self",(char *) "x",(char *) "y", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8321 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8325 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= SWIG_PyObj_FromLong((long)result
);
8342 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8346 long *arg3
= (long *) 0 ;
8347 long *arg4
= (long *) 0 ;
8350 PyObject
* obj0
= 0 ;
8351 PyObject
* obj1
= 0 ;
8353 (char *) "self",(char *) "pos", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8361 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 Py_INCREF(Py_None
); resultobj
= Py_None
;
8373 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8374 resultobj
= t_output_helper(resultobj
,o
);
8377 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8378 resultobj
= t_output_helper(resultobj
,o
);
8386 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
;
8388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8393 (char *) "self",(char *) "pos", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8399 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 (arg1
)->ShowPosition(arg2
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8420 long *arg3
= (long *) 0 ;
8421 long *arg4
= (long *) 0 ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8429 (char *) "self",(char *) "pt", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_PyObj_FromInt((int)result
);
8449 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8450 resultobj
= t_output_helper(resultobj
,o
);
8453 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8454 resultobj
= t_output_helper(resultobj
,o
);
8462 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8467 (char *) "self", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 Py_INCREF(Py_None
); resultobj
= Py_None
;
8486 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8489 PyObject
* obj0
= 0 ;
8491 (char *) "self", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 Py_INCREF(Py_None
); resultobj
= Py_None
;
8510 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8515 (char *) "self", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 Py_INCREF(Py_None
); resultobj
= Py_None
;
8534 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8540 (char *) "self", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8559 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8563 PyObject
* obj0
= 0 ;
8565 (char *) "self", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8584 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
;
8586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8588 PyObject
* obj0
= 0 ;
8590 (char *) "self", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8609 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8612 PyObject
* obj0
= 0 ;
8614 (char *) "self", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 Py_INCREF(Py_None
); resultobj
= Py_None
;
8633 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8636 PyObject
* obj0
= 0 ;
8638 (char *) "self", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 Py_INCREF(Py_None
); resultobj
= Py_None
;
8657 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
;
8659 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8661 PyObject
* obj0
= 0 ;
8663 (char *) "self", NULL
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8682 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8686 PyObject
* obj0
= 0 ;
8688 (char *) "self", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8707 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "self",(char *) "pos", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8720 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 (arg1
)->SetInsertionPoint(arg2
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 Py_INCREF(Py_None
); resultobj
= Py_None
;
8737 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8742 (char *) "self", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 (arg1
)->SetInsertionPointEnd();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8761 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8767 (char *) "self", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= SWIG_PyObj_FromLong((long)result
);
8786 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8792 (char *) "self", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_PyObj_FromLong((long)result
);
8811 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8816 PyObject
* obj0
= 0 ;
8817 PyObject
* obj1
= 0 ;
8818 PyObject
* obj2
= 0 ;
8820 (char *) "self",(char *) "from",(char *) "to", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8826 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8830 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 (arg1
)->SetSelection(arg2
,arg3
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 Py_INCREF(Py_None
); resultobj
= Py_None
;
8847 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8852 (char *) "self", NULL
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 (arg1
)->SelectAll();
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8871 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8878 (char *) "self",(char *) "editable", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8884 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 (arg1
)->SetEditable(arg2
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8894 Py_INCREF(Py_None
); resultobj
= Py_None
;
8901 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
*resultobj
;
8903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8904 wxString
*arg2
= 0 ;
8905 bool temp2
= False
;
8906 PyObject
* obj0
= 0 ;
8907 PyObject
* obj1
= 0 ;
8909 (char *) "self",(char *) "text", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8915 arg2
= wxString_in_helper(obj1
);
8916 if (arg2
== NULL
) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8941 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8949 PyObject
* obj2
= 0 ;
8951 (char *) "self",(char *) "from",(char *) "to", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8957 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8961 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8984 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8987 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8989 return Py_BuildValue((char *)"");
8991 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8994 wxMouseEvent
*arg2
= 0 ;
8997 wxTextUrlEvent
*result
;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9000 PyObject
* obj2
= 0 ;
9001 PyObject
* obj3
= 0 ;
9003 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9008 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9013 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9016 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9020 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9037 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9040 wxMouseEvent
*result
;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "self", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9052 result
= (wxMouseEvent
*) &_result_ref
;
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9065 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9067 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9071 (char *) "self", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_PyObj_FromLong((long)result
);
9090 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9092 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9094 PyObject
* obj0
= 0 ;
9096 (char *) "self", NULL
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_PyObj_FromLong((long)result
);
9115 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9118 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9120 return Py_BuildValue((char *)"");
9122 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9123 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9128 static PyObject
*_wrap_ScrollBarNameStr_get() {
9133 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9135 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9142 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxWindow
*arg1
= (wxWindow
*) 0 ;
9145 int arg2
= (int) -1 ;
9146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9150 long arg5
= (long) wxSB_HORIZONTAL
;
9151 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9152 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9153 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9155 wxScrollBar
*result
;
9158 bool temp7
= False
;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9162 PyObject
* obj3
= 0 ;
9163 PyObject
* obj4
= 0 ;
9164 PyObject
* obj5
= 0 ;
9165 PyObject
* obj6
= 0 ;
9167 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9174 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9181 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9187 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9192 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9197 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9199 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9204 arg7
= wxString_in_helper(obj6
);
9205 if (arg7
== NULL
) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9231 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxScrollBar
*result
;
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (wxScrollBar
*)new wxScrollBar();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9253 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9256 wxWindow
*arg2
= (wxWindow
*) 0 ;
9257 int arg3
= (int) -1 ;
9258 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9259 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9260 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9261 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9262 long arg6
= (long) wxSB_HORIZONTAL
;
9263 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9264 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9265 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9266 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9270 bool temp8
= False
;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9273 PyObject
* obj2
= 0 ;
9274 PyObject
* obj3
= 0 ;
9275 PyObject
* obj4
= 0 ;
9276 PyObject
* obj5
= 0 ;
9277 PyObject
* obj6
= 0 ;
9278 PyObject
* obj7
= 0 ;
9280 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9288 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9295 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9301 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9306 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9311 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9313 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9318 arg8
= wxString_in_helper(obj7
);
9319 if (arg8
== NULL
) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9345 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9351 (char *) "self", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_PyObj_FromInt((int)result
);
9370 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9374 PyObject
* obj0
= 0 ;
9376 (char *) "self", NULL
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_PyObj_FromInt((int)result
);
9395 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9399 PyObject
* obj0
= 0 ;
9401 (char *) "self", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= SWIG_PyObj_FromInt((int)result
);
9420 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9426 (char *) "self", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= SWIG_PyObj_FromInt((int)result
);
9445 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9470 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9477 (char *) "self",(char *) "viewStart", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9483 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->SetThumbPosition(arg2
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 Py_INCREF(Py_None
); resultobj
= Py_None
;
9500 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9507 bool arg6
= (bool) True
;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 PyObject
* obj2
= 0 ;
9511 PyObject
* obj3
= 0 ;
9512 PyObject
* obj4
= 0 ;
9513 PyObject
* obj5
= 0 ;
9515 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9521 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9525 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9529 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9533 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9538 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 Py_INCREF(Py_None
); resultobj
= Py_None
;
9556 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9559 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9561 return Py_BuildValue((char *)"");
9563 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9564 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9569 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9574 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9576 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9583 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9584 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9589 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9594 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9596 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9603 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxWindow
*arg1
= (wxWindow
*) 0 ;
9606 int arg2
= (int) -1 ;
9607 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9608 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9609 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9610 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9611 long arg5
= (long) wxSP_HORIZONTAL
;
9612 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9613 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9614 wxSpinButton
*result
;
9617 bool temp6
= False
;
9618 PyObject
* obj0
= 0 ;
9619 PyObject
* obj1
= 0 ;
9620 PyObject
* obj2
= 0 ;
9621 PyObject
* obj3
= 0 ;
9622 PyObject
* obj4
= 0 ;
9623 PyObject
* obj5
= 0 ;
9625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9632 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9639 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9645 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9650 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9656 arg6
= wxString_in_helper(obj5
);
9657 if (arg6
== NULL
) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9683 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxSpinButton
*result
;
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (wxSpinButton
*)new wxSpinButton();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9705 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9708 wxWindow
*arg2
= (wxWindow
*) 0 ;
9709 int arg3
= (int) -1 ;
9710 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9711 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9712 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9713 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9714 long arg6
= (long) wxSP_HORIZONTAL
;
9715 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9720 bool temp7
= False
;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9723 PyObject
* obj2
= 0 ;
9724 PyObject
* obj3
= 0 ;
9725 PyObject
* obj4
= 0 ;
9726 PyObject
* obj5
= 0 ;
9727 PyObject
* obj6
= 0 ;
9729 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9737 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9755 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9761 arg7
= wxString_in_helper(obj6
);
9762 if (arg7
== NULL
) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9788 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_PyObj_FromInt((int)result
);
9813 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9819 (char *) "self", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= SWIG_PyObj_FromInt((int)result
);
9838 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9844 (char *) "self", NULL
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_PyObj_FromInt((int)result
);
9863 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9868 PyObject
* obj1
= 0 ;
9870 (char *) "self",(char *) "val", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9876 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 (arg1
)->SetValue(arg2
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9898 PyObject
* obj1
= 0 ;
9900 (char *) "self",(char *) "minVal", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
9904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9906 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 (arg1
)->SetMin(arg2
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 Py_INCREF(Py_None
); resultobj
= Py_None
;
9923 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9930 (char *) "self",(char *) "maxVal", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
9934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9936 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 (arg1
)->SetMax(arg2
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 Py_INCREF(Py_None
); resultobj
= Py_None
;
9953 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9960 PyObject
* obj2
= 0 ;
9962 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9968 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9972 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 (arg1
)->SetRange(arg2
,arg3
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 Py_INCREF(Py_None
); resultobj
= Py_None
;
9989 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10014 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10017 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10019 return Py_BuildValue((char *)"");
10021 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxWindow
*arg1
= (wxWindow
*) 0 ;
10024 int arg2
= (int) -1 ;
10025 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10026 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10027 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10028 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10029 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10030 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10031 long arg6
= (long) wxSP_ARROW_KEYS
;
10032 int arg7
= (int) 0 ;
10033 int arg8
= (int) 100 ;
10034 int arg9
= (int) 0 ;
10035 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10036 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10037 wxSpinCtrl
*result
;
10038 bool temp3
= False
;
10041 bool temp10
= False
;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 PyObject
* obj2
= 0 ;
10045 PyObject
* obj3
= 0 ;
10046 PyObject
* obj4
= 0 ;
10047 PyObject
* obj5
= 0 ;
10048 PyObject
* obj6
= 0 ;
10049 PyObject
* obj7
= 0 ;
10050 PyObject
* obj8
= 0 ;
10051 PyObject
* obj9
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10066 arg3
= wxString_in_helper(obj2
);
10067 if (arg3
== NULL
) SWIG_fail
;
10074 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10080 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10085 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10091 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10097 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10103 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10109 arg10
= wxString_in_helper(obj9
);
10110 if (arg10
== NULL
) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10121 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10144 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxSpinCtrl
*result
;
10147 char *kwnames
[] = {
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10166 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10169 wxWindow
*arg2
= (wxWindow
*) 0 ;
10170 int arg3
= (int) -1 ;
10171 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10172 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10173 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10174 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10175 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10176 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10177 long arg7
= (long) wxSP_ARROW_KEYS
;
10178 int arg8
= (int) 0 ;
10179 int arg9
= (int) 100 ;
10180 int arg10
= (int) 0 ;
10181 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10182 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10184 bool temp4
= False
;
10187 bool temp11
= False
;
10188 PyObject
* obj0
= 0 ;
10189 PyObject
* obj1
= 0 ;
10190 PyObject
* obj2
= 0 ;
10191 PyObject
* obj3
= 0 ;
10192 PyObject
* obj4
= 0 ;
10193 PyObject
* obj5
= 0 ;
10194 PyObject
* obj6
= 0 ;
10195 PyObject
* obj7
= 0 ;
10196 PyObject
* obj8
= 0 ;
10197 PyObject
* obj9
= 0 ;
10198 PyObject
* obj10
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10208 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10214 arg4
= wxString_in_helper(obj3
);
10215 if (arg4
== NULL
) SWIG_fail
;
10222 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10228 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10233 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10239 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10245 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10251 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10257 arg11
= wxString_in_helper(obj10
);
10258 if (arg11
== NULL
) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10292 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10296 PyObject
* obj0
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_PyObj_FromInt((int)result
);
10317 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self",(char *) "value", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10330 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 (arg1
)->SetValue(arg2
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10347 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10350 wxString
*arg2
= 0 ;
10351 bool temp2
= False
;
10352 PyObject
* obj0
= 0 ;
10353 PyObject
* obj1
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self",(char *) "text", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10361 arg2
= wxString_in_helper(obj1
);
10362 if (arg2
== NULL
) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->SetValue((wxString
const &)*arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10387 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 PyObject
* obj2
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10402 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10406 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 (arg1
)->SetRange(arg2
,arg3
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 Py_INCREF(Py_None
); resultobj
= Py_None
;
10423 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10427 PyObject
* obj0
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_PyObj_FromInt((int)result
);
10448 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10452 PyObject
* obj0
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= SWIG_PyObj_FromInt((int)result
);
10473 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 PyObject
* obj1
= 0 ;
10480 PyObject
* obj2
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self",(char *) "from",(char *) "to", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10488 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10492 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 (arg1
)->SetSelection(arg2
,arg3
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 Py_INCREF(Py_None
); resultobj
= Py_None
;
10509 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10512 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10514 return Py_BuildValue((char *)"");
10516 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10519 int arg2
= (int) 0 ;
10520 wxSpinEvent
*result
;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "commandType",(char *) "winid", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10530 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10536 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10554 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10558 PyObject
* obj0
= 0 ;
10559 char *kwnames
[] = {
10560 (char *) "self", NULL
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_PyObj_FromInt((int)result
);
10579 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self",(char *) "pos", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10592 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 (arg1
)->SetPosition(arg2
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 Py_INCREF(Py_None
); resultobj
= Py_None
;
10609 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10612 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10614 return Py_BuildValue((char *)"");
10616 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10617 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10622 static PyObject
*_wrap_RadioBoxNameStr_get() {
10627 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10629 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10636 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10637 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10642 static PyObject
*_wrap_RadioButtonNameStr_get() {
10647 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10649 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10656 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
;
10658 wxWindow
*arg1
= (wxWindow
*) 0 ;
10660 wxString
*arg3
= 0 ;
10661 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10662 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10663 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10664 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10665 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10666 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10667 int arg7
= (int) 0 ;
10668 long arg8
= (long) wxRA_HORIZONTAL
;
10669 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10670 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10671 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10672 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10673 wxRadioBox
*result
;
10674 bool temp3
= False
;
10677 bool temp6
= False
;
10678 bool temp10
= False
;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 PyObject
* obj2
= 0 ;
10682 PyObject
* obj3
= 0 ;
10683 PyObject
* obj4
= 0 ;
10684 PyObject
* obj5
= 0 ;
10685 PyObject
* obj6
= 0 ;
10686 PyObject
* obj7
= 0 ;
10687 PyObject
* obj8
= 0 ;
10688 PyObject
* obj9
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10700 arg3
= wxString_in_helper(obj2
);
10701 if (arg3
== NULL
) SWIG_fail
;
10707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10718 if (! PySequence_Check(obj5
)) {
10719 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10722 arg6
= new wxArrayString
;
10724 int i
, len
=PySequence_Length(obj5
);
10725 for (i
=0; i
<len
; i
++) {
10726 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10728 PyObject
* str
= PyObject_Unicode(item
);
10730 PyObject
* str
= PyObject_Str(item
);
10732 arg6
->Add(Py2wxString(str
));
10740 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10746 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10751 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10752 if (arg9
== NULL
) {
10753 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10758 arg10
= wxString_in_helper(obj9
);
10759 if (arg10
== NULL
) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 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
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10776 if (temp6
) delete arg6
;
10789 if (temp6
) delete arg6
;
10799 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxRadioBox
*result
;
10802 char *kwnames
[] = {
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (wxRadioBox
*)new wxRadioBox();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10821 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10824 wxWindow
*arg2
= (wxWindow
*) 0 ;
10826 wxString
*arg4
= 0 ;
10827 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10828 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10829 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10830 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10831 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10832 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10833 int arg8
= (int) 0 ;
10834 long arg9
= (long) wxRA_HORIZONTAL
;
10835 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10836 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10837 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10838 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10840 bool temp4
= False
;
10843 bool temp7
= False
;
10844 bool temp11
= False
;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 PyObject
* obj2
= 0 ;
10848 PyObject
* obj3
= 0 ;
10849 PyObject
* obj4
= 0 ;
10850 PyObject
* obj5
= 0 ;
10851 PyObject
* obj6
= 0 ;
10852 PyObject
* obj7
= 0 ;
10853 PyObject
* obj8
= 0 ;
10854 PyObject
* obj9
= 0 ;
10855 PyObject
* obj10
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10864 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10868 arg4
= wxString_in_helper(obj3
);
10869 if (arg4
== NULL
) SWIG_fail
;
10875 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10881 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10886 if (! PySequence_Check(obj6
)) {
10887 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10890 arg7
= new wxArrayString
;
10892 int i
, len
=PySequence_Length(obj6
);
10893 for (i
=0; i
<len
; i
++) {
10894 PyObject
* item
= PySequence_GetItem(obj6
, i
);
10896 PyObject
* str
= PyObject_Unicode(item
);
10898 PyObject
* str
= PyObject_Str(item
);
10900 arg7
->Add(Py2wxString(str
));
10908 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10914 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10919 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10920 if (arg10
== NULL
) {
10921 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10926 arg11
= wxString_in_helper(obj10
);
10927 if (arg11
== NULL
) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 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
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10944 if (temp7
) delete arg7
;
10957 if (temp7
) delete arg7
;
10967 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 PyObject
* obj1
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self",(char *) "n", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10980 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 (arg1
)->SetSelection(arg2
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 Py_INCREF(Py_None
); resultobj
= Py_None
;
10997 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
;
10999 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11001 PyObject
* obj0
= 0 ;
11002 char *kwnames
[] = {
11003 (char *) "self", NULL
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= SWIG_PyObj_FromInt((int)result
);
11022 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11026 PyObject
* obj0
= 0 ;
11027 char *kwnames
[] = {
11028 (char *) "self", NULL
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11053 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11056 wxString
*arg2
= 0 ;
11058 bool temp2
= False
;
11059 PyObject
* obj0
= 0 ;
11060 PyObject
* obj1
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self",(char *) "s", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11068 arg2
= wxString_in_helper(obj1
);
11069 if (arg2
== NULL
) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11094 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= SWIG_PyObj_FromInt((int)result
);
11119 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11122 wxString
*arg2
= 0 ;
11124 bool temp2
= False
;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self",(char *) "s", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 arg2
= wxString_in_helper(obj1
);
11135 if (arg2
== NULL
) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= SWIG_PyObj_FromInt((int)result
);
11160 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 PyObject
* obj1
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self",(char *) "n", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11174 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11197 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11201 wxString
*arg3
= 0 ;
11202 bool temp3
= False
;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 PyObject
* obj2
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self",(char *) "n",(char *) "label", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11217 arg3
= wxString_in_helper(obj2
);
11218 if (arg3
== NULL
) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 Py_INCREF(Py_None
); resultobj
= Py_None
;
11243 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
;
11245 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11247 bool arg3
= (bool) True
;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 PyObject
* obj2
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self",(char *) "n",(char *) "enable", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11258 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11263 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 (arg1
)->Enable(arg2
,arg3
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 Py_INCREF(Py_None
); resultobj
= Py_None
;
11281 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11285 bool arg3
= (bool) True
;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 PyObject
* obj2
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self",(char *) "n",(char *) "show", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11296 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11301 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->Show(arg2
,arg3
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 Py_INCREF(Py_None
); resultobj
= Py_None
;
11319 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11323 PyObject
* obj0
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= SWIG_PyObj_FromInt((int)result
);
11344 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
;
11346 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 char *kwnames
[] = {
11350 (char *) "self", NULL
11353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_PyObj_FromInt((int)result
);
11369 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11376 PyObject
* obj0
= 0 ;
11377 PyObject
* obj1
= 0 ;
11378 PyObject
* obj2
= 0 ;
11379 PyObject
* obj3
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11387 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11391 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11395 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= SWIG_PyObj_FromInt((int)result
);
11412 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11415 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11417 return Py_BuildValue((char *)"");
11419 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxWindow
*arg1
= (wxWindow
*) 0 ;
11423 wxString
*arg3
= 0 ;
11424 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11425 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11426 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11427 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11428 long arg6
= (long) 0 ;
11429 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11430 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11431 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11432 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11433 wxRadioButton
*result
;
11434 bool temp3
= False
;
11437 bool temp8
= False
;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 PyObject
* obj2
= 0 ;
11441 PyObject
* obj3
= 0 ;
11442 PyObject
* obj4
= 0 ;
11443 PyObject
* obj5
= 0 ;
11444 PyObject
* obj6
= 0 ;
11445 PyObject
* obj7
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11453 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11457 arg3
= wxString_in_helper(obj2
);
11458 if (arg3
== NULL
) SWIG_fail
;
11464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11475 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11480 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11481 if (arg7
== NULL
) {
11482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11487 arg8
= wxString_in_helper(obj7
);
11488 if (arg8
== NULL
) SWIG_fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11522 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxRadioButton
*result
;
11525 char *kwnames
[] = {
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (wxRadioButton
*)new wxRadioButton();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11544 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11547 wxWindow
*arg2
= (wxWindow
*) 0 ;
11549 wxString
*arg4
= 0 ;
11550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11554 long arg7
= (long) 0 ;
11555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11557 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11560 bool temp4
= False
;
11563 bool temp9
= False
;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 PyObject
* obj2
= 0 ;
11567 PyObject
* obj3
= 0 ;
11568 PyObject
* obj4
= 0 ;
11569 PyObject
* obj5
= 0 ;
11570 PyObject
* obj6
= 0 ;
11571 PyObject
* obj7
= 0 ;
11572 PyObject
* obj8
= 0 ;
11573 char *kwnames
[] = {
11574 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11581 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11585 arg4
= wxString_in_helper(obj3
);
11586 if (arg4
== NULL
) SWIG_fail
;
11592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11603 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11608 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11609 if (arg8
== NULL
) {
11610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11615 arg9
= wxString_in_helper(obj8
);
11616 if (arg9
== NULL
) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11650 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11654 PyObject
* obj0
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (bool)(arg1
)->GetValue();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11675 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11679 PyObject
* obj0
= 0 ;
11680 PyObject
* obj1
= 0 ;
11681 char *kwnames
[] = {
11682 (char *) "self",(char *) "value", NULL
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11688 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 (arg1
)->SetValue(arg2
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11708 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11710 return Py_BuildValue((char *)"");
11712 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
11713 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11718 static PyObject
*_wrap_SliderNameStr_get() {
11723 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11725 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11732 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxWindow
*arg1
= (wxWindow
*) 0 ;
11739 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11740 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11741 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11742 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11743 long arg8
= (long) wxSL_HORIZONTAL
;
11744 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11745 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11746 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11747 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11751 bool temp10
= False
;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 PyObject
* obj2
= 0 ;
11755 PyObject
* obj3
= 0 ;
11756 PyObject
* obj4
= 0 ;
11757 PyObject
* obj5
= 0 ;
11758 PyObject
* obj6
= 0 ;
11759 PyObject
* obj7
= 0 ;
11760 PyObject
* obj8
= 0 ;
11761 PyObject
* obj9
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11769 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11781 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11787 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11793 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11798 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11803 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11804 if (arg9
== NULL
) {
11805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11810 arg10
= wxString_in_helper(obj9
);
11811 if (arg10
== NULL
) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11837 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
;
11840 char *kwnames
[] = {
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (wxSlider
*)new wxSlider();
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11859 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxSlider
*arg1
= (wxSlider
*) 0 ;
11862 wxWindow
*arg2
= (wxWindow
*) 0 ;
11867 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11868 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11869 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11870 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11871 long arg9
= (long) wxSL_HORIZONTAL
;
11872 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11873 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11874 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11875 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11879 bool temp11
= False
;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 PyObject
* obj2
= 0 ;
11883 PyObject
* obj3
= 0 ;
11884 PyObject
* obj4
= 0 ;
11885 PyObject
* obj5
= 0 ;
11886 PyObject
* obj6
= 0 ;
11887 PyObject
* obj7
= 0 ;
11888 PyObject
* obj8
= 0 ;
11889 PyObject
* obj9
= 0 ;
11890 PyObject
* obj10
= 0 ;
11891 char *kwnames
[] = {
11892 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11899 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11907 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11911 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11917 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11923 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
11928 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11933 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11934 if (arg10
== NULL
) {
11935 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11940 arg11
= wxString_in_helper(obj10
);
11941 if (arg11
== NULL
) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11967 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxSlider
*arg1
= (wxSlider
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (int)((wxSlider
const *)arg1
)->GetValue();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_PyObj_FromInt((int)result
);
11992 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxSlider
*arg1
= (wxSlider
*) 0 ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "value", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 (arg1
)->SetValue(arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 Py_INCREF(Py_None
); resultobj
= Py_None
;
12022 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxSlider
*arg1
= (wxSlider
*) 0 ;
12027 PyObject
* obj0
= 0 ;
12028 PyObject
* obj1
= 0 ;
12029 PyObject
* obj2
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12037 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 (arg1
)->SetRange(arg2
,arg3
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 Py_INCREF(Py_None
); resultobj
= Py_None
;
12058 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxSlider
*arg1
= (wxSlider
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_PyObj_FromInt((int)result
);
12083 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxSlider
*arg1
= (wxSlider
*) 0 ;
12087 PyObject
* obj0
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_PyObj_FromInt((int)result
);
12108 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxSlider
*arg1
= (wxSlider
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 PyObject
* obj1
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self",(char *) "minValue", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12121 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 (arg1
)->SetMin(arg2
);
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12131 Py_INCREF(Py_None
); resultobj
= Py_None
;
12138 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
;
12140 wxSlider
*arg1
= (wxSlider
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self",(char *) "maxValue", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12151 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->SetMax(arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 Py_INCREF(Py_None
); resultobj
= Py_None
;
12168 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxSlider
*arg1
= (wxSlider
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 PyObject
* obj1
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self",(char *) "lineSize", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12181 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 (arg1
)->SetLineSize(arg2
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 Py_INCREF(Py_None
); resultobj
= Py_None
;
12198 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxSlider
*arg1
= (wxSlider
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self",(char *) "pageSize", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12211 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 (arg1
)->SetPageSize(arg2
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 Py_INCREF(Py_None
); resultobj
= Py_None
;
12228 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxSlider
*arg1
= (wxSlider
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= SWIG_PyObj_FromInt((int)result
);
12253 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxSlider
*arg1
= (wxSlider
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= SWIG_PyObj_FromInt((int)result
);
12278 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
*resultobj
;
12280 wxSlider
*arg1
= (wxSlider
*) 0 ;
12282 PyObject
* obj0
= 0 ;
12283 PyObject
* obj1
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "self",(char *) "lenPixels", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12291 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 (arg1
)->SetThumbLength(arg2
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 Py_INCREF(Py_None
); resultobj
= Py_None
;
12308 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxSlider
*arg1
= (wxSlider
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_PyObj_FromInt((int)result
);
12333 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxSlider
*arg1
= (wxSlider
*) 0 ;
12337 int arg3
= (int) 1 ;
12338 PyObject
* obj0
= 0 ;
12339 PyObject
* obj1
= 0 ;
12340 PyObject
* obj2
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self",(char *) "n",(char *) "pos", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12348 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12353 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 (arg1
)->SetTickFreq(arg2
,arg3
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 Py_INCREF(Py_None
); resultobj
= Py_None
;
12371 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxSlider
*arg1
= (wxSlider
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_PyObj_FromInt((int)result
);
12396 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxSlider
*arg1
= (wxSlider
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 (arg1
)->ClearTicks();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 Py_INCREF(Py_None
); resultobj
= Py_None
;
12420 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxSlider
*arg1
= (wxSlider
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "tickPos", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12433 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 (arg1
)->SetTick(arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12450 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxSlider
*arg1
= (wxSlider
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->ClearSel();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 Py_INCREF(Py_None
); resultobj
= Py_None
;
12474 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxSlider
*arg1
= (wxSlider
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_PyObj_FromInt((int)result
);
12499 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxSlider
*arg1
= (wxSlider
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= SWIG_PyObj_FromInt((int)result
);
12524 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxSlider
*arg1
= (wxSlider
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 PyObject
* obj2
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "min",(char *) "max", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12539 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->SetSelection(arg2
,arg3
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12563 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12565 return Py_BuildValue((char *)"");
12567 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12568 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12573 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12578 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12580 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12587 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxWindow
*arg1
= (wxWindow
*) 0 ;
12591 wxString
*arg3
= 0 ;
12592 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12593 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12594 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12595 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12596 long arg6
= (long) 0 ;
12597 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12598 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12599 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12600 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12601 wxToggleButton
*result
;
12602 bool temp3
= False
;
12605 bool temp8
= False
;
12606 PyObject
* obj0
= 0 ;
12607 PyObject
* obj1
= 0 ;
12608 PyObject
* obj2
= 0 ;
12609 PyObject
* obj3
= 0 ;
12610 PyObject
* obj4
= 0 ;
12611 PyObject
* obj5
= 0 ;
12612 PyObject
* obj6
= 0 ;
12613 PyObject
* obj7
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12621 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 arg3
= wxString_in_helper(obj2
);
12626 if (arg3
== NULL
) SWIG_fail
;
12632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12643 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12648 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12649 if (arg7
== NULL
) {
12650 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12655 arg8
= wxString_in_helper(obj7
);
12656 if (arg8
== NULL
) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12690 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxToggleButton
*result
;
12693 char *kwnames
[] = {
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (wxToggleButton
*)new wxToggleButton();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12712 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12715 wxWindow
*arg2
= (wxWindow
*) 0 ;
12717 wxString
*arg4
= 0 ;
12718 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12719 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12720 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12721 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12722 long arg7
= (long) 0 ;
12723 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12724 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12725 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12726 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12728 bool temp4
= False
;
12731 bool temp9
= False
;
12732 PyObject
* obj0
= 0 ;
12733 PyObject
* obj1
= 0 ;
12734 PyObject
* obj2
= 0 ;
12735 PyObject
* obj3
= 0 ;
12736 PyObject
* obj4
= 0 ;
12737 PyObject
* obj5
= 0 ;
12738 PyObject
* obj6
= 0 ;
12739 PyObject
* obj7
= 0 ;
12740 PyObject
* obj8
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12749 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12753 arg4
= wxString_in_helper(obj3
);
12754 if (arg4
== NULL
) SWIG_fail
;
12760 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12766 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12771 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12776 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12777 if (arg8
== NULL
) {
12778 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12783 arg9
= wxString_in_helper(obj8
);
12784 if (arg9
== NULL
) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12818 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self",(char *) "value", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12831 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 (arg1
)->SetValue(arg2
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 Py_INCREF(Py_None
); resultobj
= Py_None
;
12848 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12852 PyObject
* obj0
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
12858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12873 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12876 wxString
*arg2
= 0 ;
12877 bool temp2
= False
;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self",(char *) "label", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12887 arg2
= wxString_in_helper(obj1
);
12888 if (arg2
== NULL
) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 (arg1
)->SetLabel((wxString
const &)*arg2
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 Py_INCREF(Py_None
); resultobj
= Py_None
;
12913 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
12915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12916 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12918 return Py_BuildValue((char *)"");
12920 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
12921 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12926 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12931 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12933 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12940 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
12965 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self",(char *) "n", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12979 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= wxPyMake_wxObject(result
);
12998 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_PyObj_FromInt((int)result
);
13023 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13027 wxString
*arg3
= 0 ;
13029 bool temp3
= False
;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 PyObject
* obj2
= 0 ;
13033 char *kwnames
[] = {
13034 (char *) "self",(char *) "n",(char *) "strText", NULL
13037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13040 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13044 arg3
= wxString_in_helper(obj2
);
13045 if (arg3
== NULL
) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13070 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self",(char *) "n", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13084 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13107 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13110 wxImageList
*arg2
= (wxImageList
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self",(char *) "imageList", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 (arg1
)->SetImageList(arg2
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 Py_INCREF(Py_None
); resultobj
= Py_None
;
13134 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
;
13136 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13137 wxImageList
*arg2
= (wxImageList
*) 0 ;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self",(char *) "imageList", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13146 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 (arg1
)->AssignImageList(arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 Py_INCREF(Py_None
); resultobj
= Py_None
;
13161 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13164 wxImageList
*result
;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= wxPyMake_wxObject(result
);
13188 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "n", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13202 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= SWIG_PyObj_FromInt((int)result
);
13219 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 PyObject
* obj2
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "n",(char *) "imageId", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13235 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13256 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "size", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13271 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 Py_INCREF(Py_None
); resultobj
= Py_None
;
13287 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "sizePage", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13303 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13313 wxSize
* resultptr
;
13314 resultptr
= new wxSize((wxSize
&) result
);
13315 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13323 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "n", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13337 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (bool)(arg1
)->DeletePage(arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13354 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "n", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13368 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)(arg1
)->RemovePage(arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13385 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (bool)(arg1
)->DeleteAllPages();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13410 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13413 wxWindow
*arg2
= (wxWindow
*) 0 ;
13414 wxString
*arg3
= 0 ;
13415 bool arg4
= (bool) False
;
13416 int arg5
= (int) -1 ;
13418 bool temp3
= False
;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 PyObject
* obj2
= 0 ;
13422 PyObject
* obj3
= 0 ;
13423 PyObject
* obj4
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13432 arg3
= wxString_in_helper(obj2
);
13433 if (arg3
== NULL
) SWIG_fail
;
13438 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13444 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13470 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13474 wxWindow
*arg3
= (wxWindow
*) 0 ;
13475 wxString
*arg4
= 0 ;
13476 bool arg5
= (bool) False
;
13477 int arg6
= (int) -1 ;
13479 bool temp4
= False
;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 PyObject
* obj2
= 0 ;
13483 PyObject
* obj3
= 0 ;
13484 PyObject
* obj4
= 0 ;
13485 PyObject
* obj5
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13493 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13498 arg4
= wxString_in_helper(obj3
);
13499 if (arg4
== NULL
) SWIG_fail
;
13504 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13510 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13536 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13541 PyObject
* obj0
= 0 ;
13542 PyObject
* obj1
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self",(char *) "n", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13550 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (int)(arg1
)->SetSelection(arg2
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= SWIG_PyObj_FromInt((int)result
);
13567 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
;
13569 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13570 bool arg2
= (bool) True
;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self",(char *) "forward", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13581 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 (arg1
)->AdvanceSelection(arg2
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 Py_INCREF(Py_None
); resultobj
= Py_None
;
13599 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13602 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13604 return Py_BuildValue((char *)"");
13606 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13609 int arg2
= (int) 0 ;
13610 int arg3
= (int) -1 ;
13611 int arg4
= (int) -1 ;
13612 wxBookCtrlEvent
*result
;
13613 PyObject
* obj0
= 0 ;
13614 PyObject
* obj1
= 0 ;
13615 PyObject
* obj2
= 0 ;
13616 PyObject
* obj3
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13624 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13630 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13636 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13642 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13660 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 resultobj
= SWIG_PyObj_FromInt((int)result
);
13685 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "self",(char *) "nSel", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13698 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 (arg1
)->SetSelection(arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 Py_INCREF(Py_None
); resultobj
= Py_None
;
13715 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13719 PyObject
* obj0
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= SWIG_PyObj_FromInt((int)result
);
13740 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "nOldSel", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13753 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 (arg1
)->SetOldSelection(arg2
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 Py_INCREF(Py_None
); resultobj
= Py_None
;
13770 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13773 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13775 return Py_BuildValue((char *)"");
13777 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxWindow
*arg1
= (wxWindow
*) 0 ;
13781 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13782 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13783 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13784 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13785 long arg5
= (long) 0 ;
13786 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13787 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13788 wxNotebook
*result
;
13791 bool temp6
= False
;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 PyObject
* obj2
= 0 ;
13795 PyObject
* obj3
= 0 ;
13796 PyObject
* obj4
= 0 ;
13797 PyObject
* obj5
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13805 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13817 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13822 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13828 arg6
= wxString_in_helper(obj5
);
13829 if (arg6
== NULL
) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= wxPyMake_wxObject(result
);
13857 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxNotebook
*result
;
13860 char *kwnames
[] = {
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 result
= (wxNotebook
*)new wxNotebook();
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= wxPyMake_wxObject(result
);
13881 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
;
13883 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13884 wxWindow
*arg2
= (wxWindow
*) 0 ;
13886 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13887 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13888 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13889 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13890 long arg6
= (long) 0 ;
13891 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13892 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13896 bool temp7
= False
;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 PyObject
* obj2
= 0 ;
13900 PyObject
* obj3
= 0 ;
13901 PyObject
* obj4
= 0 ;
13902 PyObject
* obj5
= 0 ;
13903 PyObject
* obj6
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13910 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13912 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13929 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13935 arg7
= wxString_in_helper(obj6
);
13936 if (arg7
== NULL
) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13962 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13966 PyObject
* obj0
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= SWIG_PyObj_FromInt((int)result
);
13987 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13992 PyObject
* obj0
= 0 ;
13993 PyObject
* obj1
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self",(char *) "padding", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14002 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 Py_INCREF(Py_None
); resultobj
= Py_None
;
14018 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self",(char *) "sz", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14033 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 Py_INCREF(Py_None
); resultobj
= Py_None
;
14049 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14052 wxPoint
*arg2
= 0 ;
14053 long *arg3
= (long *) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "pt", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= SWIG_PyObj_FromInt((int)result
);
14079 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14080 resultobj
= t_output_helper(resultobj
,o
);
14088 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "sizePage", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14104 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14114 wxSize
* resultptr
;
14115 resultptr
= new wxSize((wxSize
&) result
);
14116 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14124 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14127 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14129 return Py_BuildValue((char *)"");
14131 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14134 int arg2
= (int) 0 ;
14135 int arg3
= (int) -1 ;
14136 int arg4
= (int) -1 ;
14137 wxNotebookEvent
*result
;
14138 PyObject
* obj0
= 0 ;
14139 PyObject
* obj1
= 0 ;
14140 PyObject
* obj2
= 0 ;
14141 PyObject
* obj3
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14149 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14155 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14161 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14167 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14185 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14188 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14190 return Py_BuildValue((char *)"");
14192 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxWindow
*arg1
= (wxWindow
*) 0 ;
14196 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14197 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14198 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14199 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14200 long arg5
= (long) 0 ;
14201 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14202 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14203 wxListbook
*result
;
14206 bool temp6
= False
;
14207 PyObject
* obj0
= 0 ;
14208 PyObject
* obj1
= 0 ;
14209 PyObject
* obj2
= 0 ;
14210 PyObject
* obj3
= 0 ;
14211 PyObject
* obj4
= 0 ;
14212 PyObject
* obj5
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14220 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14226 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14232 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14237 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14243 arg6
= wxString_in_helper(obj5
);
14244 if (arg6
== NULL
) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14270 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxListbook
*result
;
14273 char *kwnames
[] = {
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (wxListbook
*)new wxListbook();
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14292 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxListbook
*arg1
= (wxListbook
*) 0 ;
14295 wxWindow
*arg2
= (wxWindow
*) 0 ;
14297 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14298 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14299 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14300 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14301 long arg6
= (long) 0 ;
14302 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14303 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14307 bool temp7
= False
;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 PyObject
* obj2
= 0 ;
14311 PyObject
* obj3
= 0 ;
14312 PyObject
* obj4
= 0 ;
14313 PyObject
* obj5
= 0 ;
14314 PyObject
* obj6
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14323 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14329 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14335 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14340 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14346 arg7
= wxString_in_helper(obj6
);
14347 if (arg7
== NULL
) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14373 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxListbook
*arg1
= (wxListbook
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14398 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14401 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14403 return Py_BuildValue((char *)"");
14405 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14408 int arg2
= (int) 0 ;
14409 int arg3
= (int) -1 ;
14410 int arg4
= (int) -1 ;
14411 wxListbookEvent
*result
;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 PyObject
* obj2
= 0 ;
14415 PyObject
* obj3
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14423 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14429 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14435 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14441 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14459 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14462 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14464 return Py_BuildValue((char *)"");
14466 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14469 wxBookCtrlSizer
*result
;
14470 PyObject
* obj0
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "nb", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14491 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 (arg1
)->RecalcSizes();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 Py_INCREF(Py_None
); resultobj
= Py_None
;
14515 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
;
14517 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (arg1
)->CalcMin();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14534 wxSize
* resultptr
;
14535 resultptr
= new wxSize((wxSize
&) result
);
14536 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14544 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14547 wxBookCtrl
*result
;
14548 PyObject
* obj0
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14569 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14572 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14574 return Py_BuildValue((char *)"");
14576 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14579 wxNotebookSizer
*result
;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "nb", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14601 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 (arg1
)->RecalcSizes();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 Py_INCREF(Py_None
); resultobj
= Py_None
;
14625 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (arg1
)->CalcMin();
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14644 wxSize
* resultptr
;
14645 resultptr
= new wxSize((wxSize
&) result
);
14646 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14654 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14657 wxNotebook
*result
;
14658 PyObject
* obj0
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "self", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= wxPyMake_wxObject(result
);
14681 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14684 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14686 return Py_BuildValue((char *)"");
14688 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (int)(arg1
)->GetId();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= SWIG_PyObj_FromInt((int)result
);
14713 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "self", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (wxControl
*)(arg1
)->GetControl();
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= wxPyMake_wxObject(result
);
14740 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14743 wxToolBarBase
*result
;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= wxPyMake_wxObject(result
);
14767 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (int)(arg1
)->IsButton();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_PyObj_FromInt((int)result
);
14792 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (int)(arg1
)->IsControl();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_PyObj_FromInt((int)result
);
14817 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(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_IsSeparator",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
)->IsSeparator();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_PyObj_FromInt((int)result
);
14842 static PyObject
*_wrap_ToolBarToolBase_GetStyle(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_GetStyle",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
= (int)(arg1
)->GetStyle();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_PyObj_FromInt((int)result
);
14867 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (int)(arg1
)->GetKind();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= SWIG_PyObj_FromInt((int)result
);
14892 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= (bool)(arg1
)->IsEnabled();
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14917 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (bool)(arg1
)->IsToggled();
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14942 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (bool)(arg1
)->CanBeToggled();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14967 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
14982 result
= (wxBitmap
*) &_result_ref
;
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14995 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15010 result
= (wxBitmap
*) &_result_ref
;
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15023 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15027 PyObject
* obj0
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (arg1
)->GetBitmap();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 wxBitmap
* resultptr
;
15043 resultptr
= new wxBitmap((wxBitmap
&) result
);
15044 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
15052 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (arg1
)->GetLabel();
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15083 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 char *kwnames
[] = {
15089 (char *) "self", NULL
15092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (arg1
)->GetShortHelp();
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15114 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (arg1
)->GetLongHelp();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15145 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "enable", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15159 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (bool)(arg1
)->Enable(arg2
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15176 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 Py_INCREF(Py_None
); resultobj
= Py_None
;
15200 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15205 PyObject
* obj0
= 0 ;
15206 PyObject
* obj1
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self",(char *) "toggle", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15214 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (bool)(arg1
)->SetToggle(arg2
);
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15231 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15234 wxString
*arg2
= 0 ;
15236 bool temp2
= False
;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "self",(char *) "help", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15246 arg2
= wxString_in_helper(obj1
);
15247 if (arg2
== NULL
) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15272 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15275 wxString
*arg2
= 0 ;
15277 bool temp2
= False
;
15278 PyObject
* obj0
= 0 ;
15279 PyObject
* obj1
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self",(char *) "help", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15287 arg2
= wxString_in_helper(obj1
);
15288 if (arg2
== NULL
) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15313 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15316 wxBitmap
*arg2
= 0 ;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "bmp", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15326 if (arg2
== NULL
) {
15327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 Py_INCREF(Py_None
); resultobj
= Py_None
;
15343 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
;
15345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15346 wxBitmap
*arg2
= 0 ;
15347 PyObject
* obj0
= 0 ;
15348 PyObject
* obj1
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self",(char *) "bmp", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15355 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15356 if (arg2
== NULL
) {
15357 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 Py_INCREF(Py_None
); resultobj
= Py_None
;
15373 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
;
15375 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15376 wxString
*arg2
= 0 ;
15377 bool temp2
= False
;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "label", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15387 arg2
= wxString_in_helper(obj1
);
15388 if (arg2
== NULL
) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 (arg1
)->SetLabel((wxString
const &)*arg2
);
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 Py_INCREF(Py_None
); resultobj
= Py_None
;
15413 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 Py_INCREF(Py_None
); resultobj
= Py_None
;
15437 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15440 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self",(char *) "tbar", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 (arg1
)->Attach(arg2
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 Py_INCREF(Py_None
); resultobj
= Py_None
;
15464 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= result
;
15489 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15492 PyObject
*arg2
= (PyObject
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self",(char *) "clientData", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15519 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15521 return Py_BuildValue((char *)"");
15523 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15527 wxString
*arg3
= 0 ;
15528 wxBitmap
*arg4
= 0 ;
15529 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15530 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15531 int arg6
= (int) wxITEM_NORMAL
;
15532 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15533 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15534 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15535 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15536 PyObject
*arg9
= (PyObject
*) NULL
;
15537 wxToolBarToolBase
*result
;
15538 bool temp3
= False
;
15539 bool temp7
= False
;
15540 bool temp8
= False
;
15541 PyObject
* obj0
= 0 ;
15542 PyObject
* obj1
= 0 ;
15543 PyObject
* obj2
= 0 ;
15544 PyObject
* obj3
= 0 ;
15545 PyObject
* obj4
= 0 ;
15546 PyObject
* obj5
= 0 ;
15547 PyObject
* obj6
= 0 ;
15548 PyObject
* obj7
= 0 ;
15549 PyObject
* obj8
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15557 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 arg3
= wxString_in_helper(obj2
);
15562 if (arg3
== NULL
) SWIG_fail
;
15565 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15566 if (arg4
== NULL
) {
15567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15570 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15571 if (arg5
== NULL
) {
15572 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15577 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15583 arg7
= wxString_in_helper(obj6
);
15584 if (arg7
== NULL
) SWIG_fail
;
15590 arg8
= wxString_in_helper(obj7
);
15591 if (arg8
== NULL
) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= wxPyMake_wxObject(result
);
15638 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15643 wxString
*arg4
= 0 ;
15644 wxBitmap
*arg5
= 0 ;
15645 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15646 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15647 int arg7
= (int) wxITEM_NORMAL
;
15648 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15649 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15650 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15651 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15652 PyObject
*arg10
= (PyObject
*) NULL
;
15653 wxToolBarToolBase
*result
;
15654 bool temp4
= False
;
15655 bool temp8
= False
;
15656 bool temp9
= False
;
15657 PyObject
* obj0
= 0 ;
15658 PyObject
* obj1
= 0 ;
15659 PyObject
* obj2
= 0 ;
15660 PyObject
* obj3
= 0 ;
15661 PyObject
* obj4
= 0 ;
15662 PyObject
* obj5
= 0 ;
15663 PyObject
* obj6
= 0 ;
15664 PyObject
* obj7
= 0 ;
15665 PyObject
* obj8
= 0 ;
15666 PyObject
* obj9
= 0 ;
15667 char *kwnames
[] = {
15668 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15674 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15678 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15682 arg4
= wxString_in_helper(obj3
);
15683 if (arg4
== NULL
) SWIG_fail
;
15686 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15687 if (arg5
== NULL
) {
15688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15691 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15692 if (arg6
== NULL
) {
15693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15698 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15704 arg8
= wxString_in_helper(obj7
);
15705 if (arg8
== NULL
) SWIG_fail
;
15711 arg9
= wxString_in_helper(obj8
);
15712 if (arg9
== NULL
) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 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
);
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= wxPyMake_wxObject(result
);
15759 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15762 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15763 wxToolBarToolBase
*result
;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "tool", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= wxPyMake_wxObject(result
);
15789 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15793 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15794 wxToolBarToolBase
*result
;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 PyObject
* obj2
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "self",(char *) "pos",(char *) "tool", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15805 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= wxPyMake_wxObject(result
);
15825 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15828 wxControl
*arg2
= (wxControl
*) 0 ;
15829 wxToolBarToolBase
*result
;
15830 PyObject
* obj0
= 0 ;
15831 PyObject
* obj1
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self",(char *) "control", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15838 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= wxPyMake_wxObject(result
);
15855 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15859 wxControl
*arg3
= (wxControl
*) 0 ;
15860 wxToolBarToolBase
*result
;
15861 PyObject
* obj0
= 0 ;
15862 PyObject
* obj1
= 0 ;
15863 PyObject
* obj2
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self",(char *) "pos",(char *) "control", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15871 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15874 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= wxPyMake_wxObject(result
);
15891 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self",(char *) "id", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15905 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= wxPyMake_wxObject(result
);
15924 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15927 wxToolBarToolBase
*result
;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= wxPyMake_wxObject(result
);
15951 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
;
15953 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15955 wxToolBarToolBase
*result
;
15956 PyObject
* obj0
= 0 ;
15957 PyObject
* obj1
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self",(char *) "pos", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15965 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= wxPyMake_wxObject(result
);
15984 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15988 wxToolBarToolBase
*result
;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self",(char *) "id", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15998 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16009 resultobj
= wxPyMake_wxObject(result
);
16017 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "pos", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16031 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16048 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self",(char *) "id", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16062 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (bool)(arg1
)->DeleteTool(arg2
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16079 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16082 PyObject
* obj0
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 (arg1
)->ClearTools();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 Py_INCREF(Py_None
); resultobj
= Py_None
;
16103 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 result
= (bool)(arg1
)->Realize();
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16128 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
;
16130 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16133 PyObject
* obj0
= 0 ;
16134 PyObject
* obj1
= 0 ;
16135 PyObject
* obj2
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self",(char *) "id",(char *) "enable", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16143 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16147 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 (arg1
)->EnableTool(arg2
,arg3
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 Py_INCREF(Py_None
); resultobj
= Py_None
;
16164 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16169 PyObject
* obj0
= 0 ;
16170 PyObject
* obj1
= 0 ;
16171 PyObject
* obj2
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self",(char *) "id",(char *) "toggle", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16179 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16183 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 (arg1
)->ToggleTool(arg2
,arg3
);
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 Py_INCREF(Py_None
); resultobj
= Py_None
;
16200 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 PyObject
* obj1
= 0 ;
16207 PyObject
* obj2
= 0 ;
16208 char *kwnames
[] = {
16209 (char *) "self",(char *) "id",(char *) "toggle", NULL
16212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16215 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 (arg1
)->SetToggle(arg2
,arg3
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self",(char *) "id", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16250 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= result
;
16267 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16271 PyObject
*arg3
= (PyObject
*) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 PyObject
* obj2
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self",(char *) "id",(char *) "clientData", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16282 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 Py_INCREF(Py_None
); resultobj
= Py_None
;
16300 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16305 PyObject
* obj0
= 0 ;
16306 PyObject
* obj1
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self",(char *) "id", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16314 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= SWIG_PyObj_FromInt((int)result
);
16331 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "id", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16345 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 result
= (bool)(arg1
)->GetToolState(arg2
);
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16362 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
;
16364 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "id", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16376 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16393 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16397 wxString
*arg3
= 0 ;
16398 bool temp3
= False
;
16399 PyObject
* obj0
= 0 ;
16400 PyObject
* obj1
= 0 ;
16401 PyObject
* obj2
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self",(char *) "id",(char *) "helpString", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16409 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16413 arg3
= wxString_in_helper(obj2
);
16414 if (arg3
== NULL
) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 Py_INCREF(Py_None
); resultobj
= Py_None
;
16439 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "id", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16453 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= (arg1
)->GetToolShortHelp(arg2
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16476 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16480 wxString
*arg3
= 0 ;
16481 bool temp3
= False
;
16482 PyObject
* obj0
= 0 ;
16483 PyObject
* obj1
= 0 ;
16484 PyObject
* obj2
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self",(char *) "id",(char *) "helpString", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16492 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16496 arg3
= wxString_in_helper(obj2
);
16497 if (arg3
== NULL
) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 Py_INCREF(Py_None
); resultobj
= Py_None
;
16522 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "id", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16536 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (arg1
)->GetToolLongHelp(arg2
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16559 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 PyObject
* obj1
= 0 ;
16566 PyObject
* obj2
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self",(char *) "x",(char *) "y", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16574 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16578 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 (arg1
)->SetMargins(arg2
,arg3
);
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 Py_INCREF(Py_None
); resultobj
= Py_None
;
16595 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 PyObject
* obj1
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self",(char *) "size", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16610 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 Py_INCREF(Py_None
); resultobj
= Py_None
;
16626 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self",(char *) "packing", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 (arg1
)->SetToolPacking(arg2
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 Py_INCREF(Py_None
); resultobj
= Py_None
;
16656 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self",(char *) "separation", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16669 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 (arg1
)->SetToolSeparation(arg2
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 Py_INCREF(Py_None
); resultobj
= Py_None
;
16686 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 result
= (arg1
)->GetToolMargins();
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 wxSize
* resultptr
;
16706 resultptr
= new wxSize((wxSize
&) result
);
16707 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16715 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (arg1
)->GetMargins();
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16734 wxSize
* resultptr
;
16735 resultptr
= new wxSize((wxSize
&) result
);
16736 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16744 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (int)(arg1
)->GetToolPacking();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_PyObj_FromInt((int)result
);
16769 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (int)(arg1
)->GetToolSeparation();
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= SWIG_PyObj_FromInt((int)result
);
16794 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 PyObject
* obj1
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self",(char *) "nRows", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 (arg1
)->SetRows(arg2
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 Py_INCREF(Py_None
); resultobj
= Py_None
;
16824 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 PyObject
* obj2
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self",(char *) "rows",(char *) "cols", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16839 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16843 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 Py_INCREF(Py_None
); resultobj
= Py_None
;
16860 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16864 PyObject
* obj0
= 0 ;
16865 char *kwnames
[] = {
16866 (char *) "self", NULL
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (int)(arg1
)->GetMaxRows();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= SWIG_PyObj_FromInt((int)result
);
16885 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (int)(arg1
)->GetMaxCols();
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_PyObj_FromInt((int)result
);
16910 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self",(char *) "size", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16925 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 Py_INCREF(Py_None
); resultobj
= Py_None
;
16941 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
16951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 result
= (arg1
)->GetToolBitmapSize();
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16960 wxSize
* resultptr
;
16961 resultptr
= new wxSize((wxSize
&) result
);
16962 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16970 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= (arg1
)->GetToolSize();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16989 wxSize
* resultptr
;
16990 resultptr
= new wxSize((wxSize
&) result
);
16991 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16999 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17004 wxToolBarToolBase
*result
;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 PyObject
* obj2
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "self",(char *) "x",(char *) "y", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17015 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= wxPyMake_wxObject(result
);
17038 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17042 wxToolBarToolBase
*result
;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self",(char *) "toolid", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17052 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= wxPyMake_wxObject(result
);
17071 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (bool)(arg1
)->IsVertical();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17096 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17099 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17101 return Py_BuildValue((char *)"");
17103 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxWindow
*arg1
= (wxWindow
*) 0 ;
17107 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17108 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17109 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17110 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17111 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17112 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17113 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17117 bool temp6
= False
;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 PyObject
* obj3
= 0 ;
17122 PyObject
* obj4
= 0 ;
17123 PyObject
* obj5
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17131 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17143 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17148 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17154 arg6
= wxString_in_helper(obj5
);
17155 if (arg6
== NULL
) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= wxPyMake_wxObject(result
);
17183 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17186 char *kwnames
[] = {
17190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= (wxToolBar
*)new wxToolBar();
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= wxPyMake_wxObject(result
);
17207 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17210 wxWindow
*arg2
= (wxWindow
*) 0 ;
17212 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17213 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17214 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17215 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17216 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17217 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17218 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17222 bool temp7
= False
;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 PyObject
* obj2
= 0 ;
17226 PyObject
* obj3
= 0 ;
17227 PyObject
* obj4
= 0 ;
17228 PyObject
* obj5
= 0 ;
17229 PyObject
* obj6
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17238 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17255 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17261 arg7
= wxString_in_helper(obj6
);
17262 if (arg7
== NULL
) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17288 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17293 wxToolBarToolBase
*result
;
17294 PyObject
* obj0
= 0 ;
17295 PyObject
* obj1
= 0 ;
17296 PyObject
* obj2
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self",(char *) "x",(char *) "y", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17304 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= wxPyMake_wxObject(result
);
17327 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17330 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17332 return Py_BuildValue((char *)"");
17334 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17335 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17340 static PyObject
*_wrap_ListCtrlNameStr_get() {
17345 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17347 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17354 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxColour
const &arg1_defvalue
= wxNullColour
;
17357 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17358 wxColour
const &arg2_defvalue
= wxNullColour
;
17359 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17360 wxFont
const &arg3_defvalue
= wxNullFont
;
17361 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17362 wxListItemAttr
*result
;
17365 PyObject
* obj0
= 0 ;
17366 PyObject
* obj1
= 0 ;
17367 PyObject
* obj2
= 0 ;
17368 char *kwnames
[] = {
17369 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17376 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17382 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17386 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17387 if (arg3
== NULL
) {
17388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17405 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17408 wxColour
*arg2
= 0 ;
17410 PyObject
* obj0
= 0 ;
17411 PyObject
* obj1
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self",(char *) "colText", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 Py_INCREF(Py_None
); resultobj
= Py_None
;
17436 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17438 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17439 wxColour
*arg2
= 0 ;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "colBack", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17451 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 Py_INCREF(Py_None
); resultobj
= Py_None
;
17467 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self",(char *) "font", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17480 if (arg2
== NULL
) {
17481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 (arg1
)->SetFont((wxFont
const &)*arg2
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 Py_INCREF(Py_None
); resultobj
= Py_None
;
17497 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17501 PyObject
* obj0
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (bool)(arg1
)->HasTextColour();
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17522 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17526 PyObject
* obj0
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (bool)(arg1
)->HasBackgroundColour();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17547 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "self", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 result
= (bool)(arg1
)->HasFont();
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17572 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17574 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 result
= (arg1
)->GetTextColour();
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17591 wxColour
* resultptr
;
17592 resultptr
= new wxColour((wxColour
&) result
);
17593 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17601 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17605 PyObject
* obj0
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= (arg1
)->GetBackgroundColour();
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 wxColour
* resultptr
;
17621 resultptr
= new wxColour((wxColour
&) result
);
17622 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17630 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17634 PyObject
* obj0
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (arg1
)->GetFont();
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 wxFont
* resultptr
;
17650 resultptr
= new wxFont((wxFont
&) result
);
17651 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17659 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "self", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 wxListItemAttr_Destroy(arg1
);
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 Py_INCREF(Py_None
); resultobj
= Py_None
;
17683 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17686 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17688 return Py_BuildValue((char *)"");
17690 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
;
17692 wxListItem
*result
;
17693 char *kwnames
[] = {
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (wxListItem
*)new wxListItem();
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= wxPyMake_wxObject(result
);
17714 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxListItem
*arg1
= (wxListItem
*) 0 ;
17717 PyObject
* obj0
= 0 ;
17718 char *kwnames
[] = {
17719 (char *) "self", NULL
17722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 Py_INCREF(Py_None
); resultobj
= Py_None
;
17738 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 wxListItem
*arg1
= (wxListItem
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 Py_INCREF(Py_None
); resultobj
= Py_None
;
17762 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxListItem
*arg1
= (wxListItem
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 (arg1
)->ClearAttributes();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 Py_INCREF(Py_None
); resultobj
= Py_None
;
17786 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxListItem
*arg1
= (wxListItem
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "mask", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17799 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 (arg1
)->SetMask(arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 Py_INCREF(Py_None
); resultobj
= Py_None
;
17816 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxListItem
*arg1
= (wxListItem
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self",(char *) "id", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17829 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 (arg1
)->SetId(arg2
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxListItem
*arg1
= (wxListItem
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self",(char *) "col", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17859 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 (arg1
)->SetColumn(arg2
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 Py_INCREF(Py_None
); resultobj
= Py_None
;
17876 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxListItem
*arg1
= (wxListItem
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self",(char *) "state", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17889 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 (arg1
)->SetState(arg2
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 Py_INCREF(Py_None
); resultobj
= Py_None
;
17906 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxListItem
*arg1
= (wxListItem
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self",(char *) "stateMask", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17919 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 (arg1
)->SetStateMask(arg2
);
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 Py_INCREF(Py_None
); resultobj
= Py_None
;
17936 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxListItem
*arg1
= (wxListItem
*) 0 ;
17939 wxString
*arg2
= 0 ;
17940 bool temp2
= False
;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "self",(char *) "text", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17950 arg2
= wxString_in_helper(obj1
);
17951 if (arg2
== NULL
) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 (arg1
)->SetText((wxString
const &)*arg2
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 Py_INCREF(Py_None
); resultobj
= Py_None
;
17976 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxListItem
*arg1
= (wxListItem
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 char *kwnames
[] = {
17983 (char *) "self",(char *) "image", NULL
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
17987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17989 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 (arg1
)->SetImage(arg2
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 Py_INCREF(Py_None
); resultobj
= Py_None
;
18006 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxListItem
*arg1
= (wxListItem
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "data", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18019 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 (arg1
)->SetData(arg2
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 Py_INCREF(Py_None
); resultobj
= Py_None
;
18036 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxListItem
*arg1
= (wxListItem
*) 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self",(char *) "width", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18049 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 (arg1
)->SetWidth(arg2
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 Py_INCREF(Py_None
); resultobj
= Py_None
;
18066 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxListItem
*arg1
= (wxListItem
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self",(char *) "align", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18079 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 Py_INCREF(Py_None
); resultobj
= Py_None
;
18096 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18098 wxListItem
*arg1
= (wxListItem
*) 0 ;
18099 wxColour
*arg2
= 0 ;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self",(char *) "colText", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18111 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 Py_INCREF(Py_None
); resultobj
= Py_None
;
18127 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxListItem
*arg1
= (wxListItem
*) 0 ;
18130 wxColour
*arg2
= 0 ;
18132 PyObject
* obj0
= 0 ;
18133 PyObject
* obj1
= 0 ;
18134 char *kwnames
[] = {
18135 (char *) "self",(char *) "colBack", NULL
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18142 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 Py_INCREF(Py_None
); resultobj
= Py_None
;
18158 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxListItem
*arg1
= (wxListItem
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self",(char *) "font", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18171 if (arg2
== NULL
) {
18172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 (arg1
)->SetFont((wxFont
const &)*arg2
);
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 Py_INCREF(Py_None
); resultobj
= Py_None
;
18188 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxListItem
*arg1
= (wxListItem
*) 0 ;
18192 PyObject
* obj0
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (long)(arg1
)->GetMask();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_PyObj_FromLong((long)result
);
18213 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxListItem
*arg1
= (wxListItem
*) 0 ;
18217 PyObject
* obj0
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (long)(arg1
)->GetId();
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= SWIG_PyObj_FromLong((long)result
);
18238 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxListItem
*arg1
= (wxListItem
*) 0 ;
18242 PyObject
* obj0
= 0 ;
18243 char *kwnames
[] = {
18244 (char *) "self", NULL
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (int)(arg1
)->GetColumn();
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= SWIG_PyObj_FromInt((int)result
);
18263 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxListItem
*arg1
= (wxListItem
*) 0 ;
18267 PyObject
* obj0
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= (long)(arg1
)->GetState();
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= SWIG_PyObj_FromLong((long)result
);
18288 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
;
18290 wxListItem
*arg1
= (wxListItem
*) 0 ;
18292 PyObject
* obj0
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 wxString
const &_result_ref
= (arg1
)->GetText();
18303 result
= (wxString
*) &_result_ref
;
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18313 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18322 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxListItem
*arg1
= (wxListItem
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (int)(arg1
)->GetImage();
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_PyObj_FromInt((int)result
);
18347 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxListItem
*arg1
= (wxListItem
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (long)(arg1
)->GetData();
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= SWIG_PyObj_FromLong((long)result
);
18372 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxListItem
*arg1
= (wxListItem
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (int)(arg1
)->GetWidth();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= SWIG_PyObj_FromInt((int)result
);
18397 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxListItem
*arg1
= (wxListItem
*) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (int)(arg1
)->GetAlign();
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= SWIG_PyObj_FromInt((int)result
);
18422 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxListItem
*arg1
= (wxListItem
*) 0 ;
18425 wxListItemAttr
*result
;
18426 PyObject
* obj0
= 0 ;
18427 char *kwnames
[] = {
18428 (char *) "self", NULL
18431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18447 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxListItem
*arg1
= (wxListItem
*) 0 ;
18451 PyObject
* obj0
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (bool)(arg1
)->HasAttributes();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18472 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
;
18474 wxListItem
*arg1
= (wxListItem
*) 0 ;
18476 PyObject
* obj0
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18491 wxColour
* resultptr
;
18492 resultptr
= new wxColour((wxColour
&) result
);
18493 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18501 static PyObject
*_wrap_ListItem_GetBackgroundColour(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_GetBackgroundColour",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
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18520 wxColour
* resultptr
;
18521 resultptr
= new wxColour((wxColour
&) result
);
18522 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18530 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxListItem
*arg1
= (wxListItem
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= ((wxListItem
const *)arg1
)->GetFont();
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18549 wxFont
* resultptr
;
18550 resultptr
= new wxFont((wxFont
&) result
);
18551 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18559 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxListItem
*arg1
= (wxListItem
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "m_mask", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18572 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 if (arg1
) (arg1
)->m_mask
= arg2
;
18577 Py_INCREF(Py_None
); resultobj
= Py_None
;
18584 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
;
18586 wxListItem
*arg1
= (wxListItem
*) 0 ;
18588 PyObject
* obj0
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18595 result
= (long) ((arg1
)->m_mask
);
18597 resultobj
= SWIG_PyObj_FromLong((long)result
);
18604 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxListItem
*arg1
= (wxListItem
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 PyObject
* obj1
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "m_itemId", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18617 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 if (arg1
) (arg1
)->m_itemId
= arg2
;
18622 Py_INCREF(Py_None
); resultobj
= Py_None
;
18629 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxListItem
*arg1
= (wxListItem
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18640 result
= (long) ((arg1
)->m_itemId
);
18642 resultobj
= SWIG_PyObj_FromLong((long)result
);
18649 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxListItem
*arg1
= (wxListItem
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 PyObject
* obj1
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self",(char *) "m_col", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18662 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 if (arg1
) (arg1
)->m_col
= arg2
;
18667 Py_INCREF(Py_None
); resultobj
= Py_None
;
18674 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxListItem
*arg1
= (wxListItem
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18685 result
= (int) ((arg1
)->m_col
);
18687 resultobj
= SWIG_PyObj_FromInt((int)result
);
18694 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxListItem
*arg1
= (wxListItem
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "m_state", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18707 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 if (arg1
) (arg1
)->m_state
= arg2
;
18712 Py_INCREF(Py_None
); resultobj
= Py_None
;
18719 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxListItem
*arg1
= (wxListItem
*) 0 ;
18723 PyObject
* obj0
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "self", NULL
18728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18730 result
= (long) ((arg1
)->m_state
);
18732 resultobj
= SWIG_PyObj_FromLong((long)result
);
18739 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxListItem
*arg1
= (wxListItem
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self",(char *) "m_stateMask", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18752 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18757 Py_INCREF(Py_None
); resultobj
= Py_None
;
18764 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxListItem
*arg1
= (wxListItem
*) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18775 result
= (long) ((arg1
)->m_stateMask
);
18777 resultobj
= SWIG_PyObj_FromLong((long)result
);
18784 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxListItem
*arg1
= (wxListItem
*) 0 ;
18787 wxString
*arg2
= (wxString
*) 0 ;
18788 bool temp2
= False
;
18789 PyObject
* obj0
= 0 ;
18790 PyObject
* obj1
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self",(char *) "m_text", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18798 arg2
= wxString_in_helper(obj1
);
18799 if (arg2
== NULL
) SWIG_fail
;
18802 if (arg1
) (arg1
)->m_text
= *arg2
;
18804 Py_INCREF(Py_None
); resultobj
= Py_None
;
18819 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
;
18821 wxListItem
*arg1
= (wxListItem
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18830 result
= (wxString
*)& ((arg1
)->m_text
);
18834 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18836 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18845 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxListItem
*arg1
= (wxListItem
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self",(char *) "m_image", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18858 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 if (arg1
) (arg1
)->m_image
= arg2
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxListItem
*arg1
= (wxListItem
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18881 result
= (int) ((arg1
)->m_image
);
18883 resultobj
= SWIG_PyObj_FromInt((int)result
);
18890 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxListItem
*arg1
= (wxListItem
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self",(char *) "m_data", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18903 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 if (arg1
) (arg1
)->m_data
= arg2
;
18908 Py_INCREF(Py_None
); resultobj
= Py_None
;
18915 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxListItem
*arg1
= (wxListItem
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18926 result
= (long) ((arg1
)->m_data
);
18928 resultobj
= SWIG_PyObj_FromLong((long)result
);
18935 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
;
18937 wxListItem
*arg1
= (wxListItem
*) 0 ;
18939 PyObject
* obj0
= 0 ;
18940 PyObject
* obj1
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "self",(char *) "m_format", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18948 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 if (arg1
) (arg1
)->m_format
= arg2
;
18953 Py_INCREF(Py_None
); resultobj
= Py_None
;
18960 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxListItem
*arg1
= (wxListItem
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18971 result
= (int) ((arg1
)->m_format
);
18973 resultobj
= SWIG_PyObj_FromInt((int)result
);
18980 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxListItem
*arg1
= (wxListItem
*) 0 ;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self",(char *) "m_width", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18993 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18996 if (arg1
) (arg1
)->m_width
= arg2
;
18998 Py_INCREF(Py_None
); resultobj
= Py_None
;
19005 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxListItem
*arg1
= (wxListItem
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "self", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19016 result
= (int) ((arg1
)->m_width
);
19018 resultobj
= SWIG_PyObj_FromInt((int)result
);
19025 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19028 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19030 return Py_BuildValue((char *)"");
19032 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19035 int arg2
= (int) 0 ;
19036 wxListEvent
*result
;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 char *kwnames
[] = {
19040 (char *) "commandType",(char *) "id", NULL
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19052 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
19070 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "m_code", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 if (arg1
) (arg1
)->m_code
= arg2
;
19088 Py_INCREF(Py_None
); resultobj
= Py_None
;
19095 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19106 result
= (int) ((arg1
)->m_code
);
19108 resultobj
= SWIG_PyObj_FromInt((int)result
);
19115 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
;
19117 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self",(char *) "m_oldItemIndex", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19128 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19133 Py_INCREF(Py_None
); resultobj
= Py_None
;
19140 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19151 result
= (long) ((arg1
)->m_oldItemIndex
);
19153 resultobj
= SWIG_PyObj_FromLong((long)result
);
19160 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self",(char *) "m_itemIndex", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19173 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19178 Py_INCREF(Py_None
); resultobj
= Py_None
;
19185 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19196 result
= (long) ((arg1
)->m_itemIndex
);
19198 resultobj
= SWIG_PyObj_FromLong((long)result
);
19205 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19209 PyObject
* obj0
= 0 ;
19210 PyObject
* obj1
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self",(char *) "m_col", NULL
19215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 if (arg1
) (arg1
)->m_col
= arg2
;
19223 Py_INCREF(Py_None
); resultobj
= Py_None
;
19230 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19234 PyObject
* obj0
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19241 result
= (int) ((arg1
)->m_col
);
19243 resultobj
= SWIG_PyObj_FromInt((int)result
);
19250 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19253 wxPoint
*arg2
= (wxPoint
*) 0 ;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 char *kwnames
[] = {
19257 (char *) "self",(char *) "m_pointDrag", NULL
19260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19263 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19265 Py_INCREF(Py_None
); resultobj
= Py_None
;
19272 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19283 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19285 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19292 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19295 wxListItem
*result
;
19296 PyObject
* obj0
= 0 ;
19297 char *kwnames
[] = {
19298 (char *) "self", NULL
19301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19303 result
= (wxListItem
*)& ((arg1
)->m_item
);
19306 resultobj
= wxPyMake_wxObject(result
);
19314 static PyObject
*_wrap_ListEvent_GetKeyCode(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_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (int)(arg1
)->GetKeyCode();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= SWIG_PyObj_FromInt((int)result
);
19339 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19343 PyObject
* obj0
= 0 ;
19344 char *kwnames
[] = {
19345 (char *) "self", NULL
19348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= (long)(arg1
)->GetIndex();
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= SWIG_PyObj_FromLong((long)result
);
19364 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (int)(arg1
)->GetColumn();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 resultobj
= SWIG_PyObj_FromInt((int)result
);
19389 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "self", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= (arg1
)->GetPoint();
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19408 wxPoint
* resultptr
;
19409 resultptr
= new wxPoint((wxPoint
&) result
);
19410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19418 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 wxString
const &_result_ref
= (arg1
)->GetLabel();
19433 result
= (wxString
*) &_result_ref
;
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19443 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19452 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 wxString
const &_result_ref
= (arg1
)->GetText();
19467 result
= (wxString
*) &_result_ref
;
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19477 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19486 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 result
= (int)(arg1
)->GetImage();
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 resultobj
= SWIG_PyObj_FromInt((int)result
);
19511 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19515 PyObject
* obj0
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= (long)(arg1
)->GetData();
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= SWIG_PyObj_FromLong((long)result
);
19536 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 result
= (long)(arg1
)->GetMask();
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_PyObj_FromLong((long)result
);
19561 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19564 wxListItem
*result
;
19565 PyObject
* obj0
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19576 result
= (wxListItem
*) &_result_ref
;
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19589 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19593 PyObject
* obj0
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (long)(arg1
)->GetCacheFrom();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_PyObj_FromLong((long)result
);
19614 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "self", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (long)(arg1
)->GetCacheTo();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_PyObj_FromLong((long)result
);
19639 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19664 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self",(char *) "editCancelled", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19677 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->SetEditCanceled(arg2
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 Py_INCREF(Py_None
); resultobj
= Py_None
;
19694 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19697 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19699 return Py_BuildValue((char *)"");
19701 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxWindow
*arg1
= (wxWindow
*) 0 ;
19704 int arg2
= (int) -1 ;
19705 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19706 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19707 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19708 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19709 long arg5
= (long) wxLC_ICON
;
19710 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19711 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19712 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19714 wxPyListCtrl
*result
;
19717 bool temp7
= False
;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 PyObject
* obj2
= 0 ;
19721 PyObject
* obj3
= 0 ;
19722 PyObject
* obj4
= 0 ;
19723 PyObject
* obj5
= 0 ;
19724 PyObject
* obj6
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19740 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19746 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19751 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19756 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19757 if (arg6
== NULL
) {
19758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19763 arg7
= wxString_in_helper(obj6
);
19764 if (arg7
== NULL
) SWIG_fail
;
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19790 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPyListCtrl
*result
;
19793 char *kwnames
[] = {
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19812 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19815 wxWindow
*arg2
= (wxWindow
*) 0 ;
19816 int arg3
= (int) -1 ;
19817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19821 long arg6
= (long) wxLC_ICON
;
19822 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19823 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19824 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19829 bool temp8
= False
;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 PyObject
* obj2
= 0 ;
19833 PyObject
* obj3
= 0 ;
19834 PyObject
* obj4
= 0 ;
19835 PyObject
* obj5
= 0 ;
19836 PyObject
* obj6
= 0 ;
19837 PyObject
* obj7
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19847 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19865 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19870 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19871 if (arg7
== NULL
) {
19872 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19877 arg8
= wxString_in_helper(obj7
);
19878 if (arg8
== NULL
) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19904 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19907 PyObject
*arg2
= (PyObject
*) 0 ;
19908 PyObject
*arg3
= (PyObject
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 PyObject
* obj2
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self",(char *) "self",(char *) "_class", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 Py_INCREF(Py_None
); resultobj
= Py_None
;
19934 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19937 wxColour
*arg2
= 0 ;
19940 PyObject
* obj0
= 0 ;
19941 PyObject
* obj1
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self",(char *) "col", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19950 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19966 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19969 wxColour
*arg2
= 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "col", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19982 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19998 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20002 wxListItem
*result
;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self",(char *) "col", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20012 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= wxPyMake_wxObject(result
);
20031 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
;
20033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20035 wxListItem
*arg3
= 0 ;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 PyObject
* obj2
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "col",(char *) "item", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20047 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20050 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20051 if (arg3
== NULL
) {
20052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20068 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self",(char *) "col", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20082 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= SWIG_PyObj_FromInt((int)result
);
20099 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
;
20101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 PyObject
* obj2
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self",(char *) "col",(char *) "width", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20115 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20119 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20136 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
;
20138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_PyObj_FromInt((int)result
);
20161 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 wxRect
* resultptr
;
20181 resultptr
= new wxRect((wxRect
&) result
);
20182 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20190 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20194 int arg3
= (int) 0 ;
20195 wxListItem
*result
;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 PyObject
* obj2
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "itemId",(char *) "col", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20206 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20211 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20223 resultobj
= wxPyMake_wxObject(result
);
20231 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20234 wxListItem
*arg2
= 0 ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self",(char *) "info", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20245 if (arg2
== NULL
) {
20246 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (bool)(arg1
)->SetItem(*arg2
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20262 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
;
20264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20267 wxString
*arg4
= 0 ;
20268 int arg5
= (int) -1 ;
20270 bool temp4
= False
;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20273 PyObject
* obj2
= 0 ;
20274 PyObject
* obj3
= 0 ;
20275 PyObject
* obj4
= 0 ;
20276 char *kwnames
[] = {
20277 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20283 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20287 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20291 arg4
= wxString_in_helper(obj3
);
20292 if (arg4
== NULL
) SWIG_fail
;
20297 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_PyObj_FromLong((long)result
);
20323 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 PyObject
* obj2
= 0 ;
20332 char *kwnames
[] = {
20333 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20339 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20343 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20353 resultobj
= SWIG_PyObj_FromInt((int)result
);
20360 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20361 PyObject
*resultobj
;
20362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 PyObject
* obj2
= 0 ;
20370 PyObject
* obj3
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20378 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20386 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20403 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20412 PyObject
* obj2
= 0 ;
20413 PyObject
* obj3
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20421 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20425 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20429 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20446 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "self",(char *) "item", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20460 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20483 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20487 wxString
*arg3
= 0 ;
20488 bool temp3
= False
;
20489 PyObject
* obj0
= 0 ;
20490 PyObject
* obj1
= 0 ;
20491 PyObject
* obj2
= 0 ;
20492 char *kwnames
[] = {
20493 (char *) "self",(char *) "item",(char *) "str", NULL
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20499 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20503 arg3
= wxString_in_helper(obj2
);
20504 if (arg3
== NULL
) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 Py_INCREF(Py_None
); resultobj
= Py_None
;
20529 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self",(char *) "item", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20543 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_PyObj_FromLong((long)result
);
20560 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 PyObject
* obj2
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self",(char *) "item",(char *) "data", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20576 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20597 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self",(char *) "item", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20611 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20622 wxPoint
* resultptr
;
20623 resultptr
= new wxPoint((wxPoint
&) result
);
20624 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20632 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20636 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 PyObject
* obj2
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "self",(char *) "item",(char *) "code", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20648 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20653 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20665 wxRect
* resultptr
;
20666 resultptr
= new wxRect((wxRect
&) result
);
20667 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20675 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20679 wxPoint
*arg3
= 0 ;
20682 PyObject
* obj0
= 0 ;
20683 PyObject
* obj1
= 0 ;
20684 PyObject
* obj2
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self",(char *) "item",(char *) "pos", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20692 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20697 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20713 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20726 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_PyObj_FromInt((int)result
);
20738 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20742 PyObject
* obj0
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_PyObj_FromInt((int)result
);
20763 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20782 wxSize
* resultptr
;
20783 resultptr
= new wxSize((wxSize
&) result
);
20784 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20792 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20796 bool arg3
= (bool) False
;
20797 PyObject
* obj0
= 0 ;
20798 PyObject
* obj1
= 0 ;
20799 PyObject
* obj2
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20812 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 (arg1
)->SetItemSpacing(arg2
,arg3
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 Py_INCREF(Py_None
); resultobj
= Py_None
;
20830 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20834 PyObject
* obj0
= 0 ;
20835 char *kwnames
[] = {
20836 (char *) "self", NULL
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_PyObj_FromInt((int)result
);
20855 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20874 wxColour
* resultptr
;
20875 resultptr
= new wxColour((wxColour
&) result
);
20876 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20884 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20887 wxColour
*arg2
= 0 ;
20889 PyObject
* obj0
= 0 ;
20890 PyObject
* obj1
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "self",(char *) "col", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20899 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 Py_INCREF(Py_None
); resultobj
= Py_None
;
20915 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20919 PyObject
* obj0
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "self", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= SWIG_PyObj_FromLong((long)result
);
20940 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20944 bool arg3
= (bool) True
;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 PyObject
* obj2
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "self",(char *) "style",(char *) "add", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20955 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20960 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 (arg1
)->SetSingleStyle(arg2
,arg3
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 Py_INCREF(Py_None
); resultobj
= Py_None
;
20978 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self",(char *) "style", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
20989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20991 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 (arg1
)->SetWindowStyleFlag(arg2
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 Py_INCREF(Py_None
); resultobj
= Py_None
;
21008 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21012 int arg3
= (int) wxLIST_NEXT_ALL
;
21013 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 PyObject
* obj2
= 0 ;
21018 PyObject
* obj3
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21026 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21031 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21037 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_PyObj_FromLong((long)result
);
21055 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21059 wxImageList
*result
;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self",(char *) "which", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21069 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21080 resultobj
= wxPyMake_wxObject(result
);
21088 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21091 wxImageList
*arg2
= (wxImageList
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 PyObject
* obj1
= 0 ;
21095 PyObject
* obj2
= 0 ;
21096 char *kwnames
[] = {
21097 (char *) "self",(char *) "imageList",(char *) "which", NULL
21100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21104 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 (arg1
)->SetImageList(arg2
,arg3
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 Py_INCREF(Py_None
); resultobj
= Py_None
;
21121 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21124 wxImageList
*arg2
= (wxImageList
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 PyObject
* obj2
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "self",(char *) "imageList",(char *) "which", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21137 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 (arg1
)->AssignImageList(arg2
,arg3
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 Py_INCREF(Py_None
); resultobj
= Py_None
;
21154 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21158 PyObject
* obj0
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21179 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
;
21181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self",(char *) "item", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21192 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 (arg1
)->RefreshItem(arg2
);
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 Py_INCREF(Py_None
); resultobj
= Py_None
;
21209 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21214 PyObject
* obj0
= 0 ;
21215 PyObject
* obj1
= 0 ;
21216 PyObject
* obj2
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21224 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21228 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 (arg1
)->RefreshItems(arg2
,arg3
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 Py_INCREF(Py_None
); resultobj
= Py_None
;
21245 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21248 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21250 PyObject
* obj0
= 0 ;
21251 PyObject
* obj1
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "self",(char *) "flag", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21260 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (bool)(arg1
)->Arrange(arg2
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21278 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self",(char *) "item", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21292 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= (bool)(arg1
)->DeleteItem(arg2
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21309 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= (bool)(arg1
)->DeleteAllItems();
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21334 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self",(char *) "col", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21348 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21365 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (bool)(arg1
)->DeleteAllColumns();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21390 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21393 PyObject
* obj0
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 (arg1
)->ClearAll();
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21407 Py_INCREF(Py_None
); resultobj
= Py_None
;
21414 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "self",(char *) "item", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21427 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 (arg1
)->EditLabel(arg2
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 Py_INCREF(Py_None
); resultobj
= Py_None
;
21444 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self",(char *) "item", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21458 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21475 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21479 wxString
*arg3
= 0 ;
21480 bool arg4
= (bool) False
;
21482 bool temp3
= False
;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 PyObject
* obj2
= 0 ;
21486 PyObject
* obj3
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21494 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21498 arg3
= wxString_in_helper(obj2
);
21499 if (arg3
== NULL
) SWIG_fail
;
21504 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_PyObj_FromLong((long)result
);
21530 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21538 PyObject
* obj2
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "start",(char *) "data", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= SWIG_PyObj_FromLong((long)result
);
21567 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21571 wxPoint
*arg3
= 0 ;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 PyObject
* obj2
= 0 ;
21578 PyObject
* obj3
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21586 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21594 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_PyObj_FromLong((long)result
);
21611 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21614 wxPoint
*arg2
= 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "point", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_PyObj_FromLong((long)result
);
21641 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21642 resultobj
= t_output_helper(resultobj
,o
);
21650 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21653 wxListItem
*arg2
= 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 char *kwnames
[] = {
21658 (char *) "self",(char *) "info", NULL
21661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21664 if (arg2
== NULL
) {
21665 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (long)(arg1
)->InsertItem(*arg2
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= SWIG_PyObj_FromLong((long)result
);
21681 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21685 wxString
*arg3
= 0 ;
21687 bool temp3
= False
;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 PyObject
* obj2
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self",(char *) "index",(char *) "label", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",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
= wxString_in_helper(obj2
);
21703 if (arg3
== NULL
) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= SWIG_PyObj_FromLong((long)result
);
21728 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21734 PyObject
* obj0
= 0 ;
21735 PyObject
* obj1
= 0 ;
21736 PyObject
* obj2
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21744 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21748 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= SWIG_PyObj_FromLong((long)result
);
21765 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21769 wxString
*arg3
= 0 ;
21772 bool temp3
= False
;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 PyObject
* obj2
= 0 ;
21776 PyObject
* obj3
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21784 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21788 arg3
= wxString_in_helper(obj2
);
21789 if (arg3
== NULL
) SWIG_fail
;
21793 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= SWIG_PyObj_FromLong((long)result
);
21818 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21822 wxListItem
*arg3
= 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 PyObject
* obj2
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self",(char *) "col",(char *) "info", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21834 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21838 if (arg3
== NULL
) {
21839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_PyObj_FromLong((long)result
);
21855 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21859 wxString
*arg3
= 0 ;
21860 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21861 int arg5
= (int) -1 ;
21863 bool temp3
= False
;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 PyObject
* obj2
= 0 ;
21867 PyObject
* obj3
= 0 ;
21868 PyObject
* obj4
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21876 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21880 arg3
= wxString_in_helper(obj2
);
21881 if (arg3
== NULL
) SWIG_fail
;
21886 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21892 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= SWIG_PyObj_FromLong((long)result
);
21918 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self",(char *) "count", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
21929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21931 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 (arg1
)->SetItemCount(arg2
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 Py_INCREF(Py_None
); resultobj
= Py_None
;
21948 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 PyObject
* obj2
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "dx",(char *) "dy", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21964 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21985 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21989 wxColour
*arg3
= 0 ;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 PyObject
* obj2
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self",(char *) "item",(char *) "col", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22001 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22006 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 Py_INCREF(Py_None
); resultobj
= Py_None
;
22022 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "item", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22036 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 wxColour
* resultptr
;
22048 resultptr
= new wxColour((wxColour
&) result
);
22049 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22057 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22061 wxColour
*arg3
= 0 ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 PyObject
* obj2
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self",(char *) "item",(char *) "col", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22073 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22078 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 Py_INCREF(Py_None
); resultobj
= Py_None
;
22094 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "item", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22108 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22119 wxColour
* resultptr
;
22120 resultptr
= new wxColour((wxColour
&) result
);
22121 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22129 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22131 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22132 PyObject
*arg2
= (PyObject
*) 0 ;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 char *kwnames
[] = {
22137 (char *) "self",(char *) "func", NULL
22140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22157 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22158 PyObject
*resultobj
;
22159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22161 PyObject
* obj0
= 0 ;
22162 char *kwnames
[] = {
22163 (char *) "self", NULL
22166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= wxPyMake_wxObject(result
);
22184 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22187 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22189 return Py_BuildValue((char *)"");
22191 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxWindow
*arg1
= (wxWindow
*) 0 ;
22194 int arg2
= (int) -1 ;
22195 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22196 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22197 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22198 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22199 long arg5
= (long) wxLC_REPORT
;
22200 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22201 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22202 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22203 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22204 wxListView
*result
;
22207 bool temp7
= False
;
22208 PyObject
* obj0
= 0 ;
22209 PyObject
* obj1
= 0 ;
22210 PyObject
* obj2
= 0 ;
22211 PyObject
* obj3
= 0 ;
22212 PyObject
* obj4
= 0 ;
22213 PyObject
* obj5
= 0 ;
22214 PyObject
* obj6
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22223 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22230 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22236 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22241 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22246 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22247 if (arg6
== NULL
) {
22248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22253 arg7
= wxString_in_helper(obj6
);
22254 if (arg7
== NULL
) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22280 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxListView
*result
;
22283 char *kwnames
[] = {
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (wxListView
*)new wxListView();
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22302 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxListView
*arg1
= (wxListView
*) 0 ;
22305 wxWindow
*arg2
= (wxWindow
*) 0 ;
22306 int arg3
= (int) -1 ;
22307 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22308 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22309 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22310 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22311 long arg6
= (long) wxLC_REPORT
;
22312 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22313 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22314 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22315 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22319 bool temp8
= False
;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 PyObject
* obj2
= 0 ;
22323 PyObject
* obj3
= 0 ;
22324 PyObject
* obj4
= 0 ;
22325 PyObject
* obj5
= 0 ;
22326 PyObject
* obj6
= 0 ;
22327 PyObject
* obj7
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22337 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22350 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22355 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22360 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22361 if (arg7
== NULL
) {
22362 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22367 arg8
= wxString_in_helper(obj7
);
22368 if (arg8
== NULL
) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22394 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxListView
*arg1
= (wxListView
*) 0 ;
22398 bool arg3
= (bool) True
;
22399 PyObject
* obj0
= 0 ;
22400 PyObject
* obj1
= 0 ;
22401 PyObject
* obj2
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self",(char *) "n",(char *) "on", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22409 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22414 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 (arg1
)->Select(arg2
,arg3
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 Py_INCREF(Py_None
); resultobj
= Py_None
;
22432 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxListView
*arg1
= (wxListView
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 PyObject
* obj1
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self",(char *) "index", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22445 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 (arg1
)->Focus(arg2
);
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 Py_INCREF(Py_None
); resultobj
= Py_None
;
22462 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxListView
*arg1
= (wxListView
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_PyObj_FromLong((long)result
);
22487 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxListView
*arg1
= (wxListView
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "item", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22501 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_PyObj_FromLong((long)result
);
22518 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxListView
*arg1
= (wxListView
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= SWIG_PyObj_FromLong((long)result
);
22543 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22545 wxListView
*arg1
= (wxListView
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22550 char *kwnames
[] = {
22551 (char *) "self",(char *) "index", NULL
22554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22557 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (bool)(arg1
)->IsSelected(arg2
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22574 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22576 wxListView
*arg1
= (wxListView
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 PyObject
* obj2
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self",(char *) "col",(char *) "image", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22589 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22593 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 (arg1
)->SetColumnImage(arg2
,arg3
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 Py_INCREF(Py_None
); resultobj
= Py_None
;
22610 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxListView
*arg1
= (wxListView
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self",(char *) "col", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22623 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 (arg1
)->ClearColumnImage(arg2
);
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 Py_INCREF(Py_None
); resultobj
= Py_None
;
22640 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22643 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22645 return Py_BuildValue((char *)"");
22647 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
22648 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22653 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22658 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22660 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22667 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxTreeItemId
*result
;
22670 char *kwnames
[] = {
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (wxTreeItemId
*)new wxTreeItemId();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22689 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 Py_INCREF(Py_None
); resultobj
= Py_None
;
22713 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22715 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22717 PyObject
* obj0
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "self", NULL
22722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22738 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22741 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self",(char *) "other", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22766 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22769 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22771 PyObject
* obj0
= 0 ;
22772 PyObject
* obj1
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self",(char *) "other", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22794 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22797 void *arg2
= (void *) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "m_pItem", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22807 if (arg1
) (arg1
)->m_pItem
= arg2
;
22809 Py_INCREF(Py_None
); resultobj
= Py_None
;
22816 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22820 PyObject
* obj0
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22827 result
= (void *) ((arg1
)->m_pItem
);
22829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22836 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22839 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22841 return Py_BuildValue((char *)"");
22843 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 PyObject
*arg1
= (PyObject
*) NULL
;
22846 wxPyTreeItemData
*result
;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "obj", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
22870 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (PyObject
*)(arg1
)->GetData();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= result
;
22895 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22898 PyObject
*arg2
= (PyObject
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "obj", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 (arg1
)->SetData(arg2
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 Py_INCREF(Py_None
); resultobj
= Py_None
;
22922 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22925 wxTreeItemId
*result
;
22926 PyObject
* obj0
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
22937 result
= (wxTreeItemId
*) &_result_ref
;
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
22950 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22953 wxTreeItemId
*arg2
= 0 ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self",(char *) "id", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22963 if (arg2
== NULL
) {
22964 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 Py_INCREF(Py_None
); resultobj
= Py_None
;
22980 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 wxPyTreeItemData_Destroy(arg1
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23007 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23009 return Py_BuildValue((char *)"");
23011 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23014 int arg2
= (int) 0 ;
23015 wxTreeEvent
*result
;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "commandType",(char *) "id", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23025 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23031 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
23049 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23052 wxTreeItemId result
;
23053 PyObject
* obj0
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23068 wxTreeItemId
* resultptr
;
23069 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23070 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23078 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23081 wxTreeItemId
*arg2
= 0 ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self",(char *) "item", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23091 if (arg2
== NULL
) {
23092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 Py_INCREF(Py_None
); resultobj
= Py_None
;
23108 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23111 wxTreeItemId result
;
23112 PyObject
* obj0
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23127 wxTreeItemId
* resultptr
;
23128 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23129 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23137 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23140 wxTreeItemId
*arg2
= 0 ;
23141 PyObject
* obj0
= 0 ;
23142 PyObject
* obj1
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self",(char *) "item", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23150 if (arg2
== NULL
) {
23151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 Py_INCREF(Py_None
); resultobj
= Py_None
;
23167 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
;
23169 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23171 PyObject
* obj0
= 0 ;
23172 char *kwnames
[] = {
23173 (char *) "self", NULL
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 wxPoint
* resultptr
;
23187 resultptr
= new wxPoint((wxPoint
&) result
);
23188 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23196 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23199 wxPoint
*arg2
= 0 ;
23201 PyObject
* obj0
= 0 ;
23202 PyObject
* obj1
= 0 ;
23203 char *kwnames
[] = {
23204 (char *) "self",(char *) "pt", NULL
23207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23211 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 Py_INCREF(Py_None
); resultobj
= Py_None
;
23227 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23230 wxKeyEvent
*result
;
23231 PyObject
* obj0
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self", NULL
23236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23242 result
= (wxKeyEvent
*) &_result_ref
;
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23255 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23259 PyObject
* obj0
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_PyObj_FromInt((int)result
);
23280 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23283 wxKeyEvent
*arg2
= 0 ;
23284 PyObject
* obj0
= 0 ;
23285 PyObject
* obj1
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self",(char *) "evt", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23293 if (arg2
== NULL
) {
23294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 Py_INCREF(Py_None
); resultobj
= Py_None
;
23310 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23325 result
= (wxString
*) &_result_ref
;
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23335 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23344 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23347 wxString
*arg2
= 0 ;
23348 bool temp2
= False
;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self",(char *) "label", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23358 arg2
= wxString_in_helper(obj1
);
23359 if (arg2
== NULL
) SWIG_fail
;
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 (arg1
)->SetLabel((wxString
const &)*arg2
);
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 Py_INCREF(Py_None
); resultobj
= Py_None
;
23384 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23388 PyObject
* obj0
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23409 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
;
23411 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self",(char *) "editCancelled", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23422 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 (arg1
)->SetEditCanceled(arg2
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 Py_INCREF(Py_None
); resultobj
= Py_None
;
23439 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23442 wxString
*arg2
= 0 ;
23443 bool temp2
= False
;
23444 PyObject
* obj0
= 0 ;
23445 PyObject
* obj1
= 0 ;
23446 char *kwnames
[] = {
23447 (char *) "self",(char *) "toolTip", NULL
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23453 arg2
= wxString_in_helper(obj1
);
23454 if (arg2
== NULL
) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23464 Py_INCREF(Py_None
); resultobj
= Py_None
;
23479 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23482 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23484 return Py_BuildValue((char *)"");
23486 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
;
23488 wxWindow
*arg1
= (wxWindow
*) 0 ;
23489 int arg2
= (int) -1 ;
23490 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23491 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23492 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23493 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23494 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23495 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23496 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23497 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23498 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23499 wxPyTreeCtrl
*result
;
23502 bool temp7
= False
;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 PyObject
* obj2
= 0 ;
23506 PyObject
* obj3
= 0 ;
23507 PyObject
* obj4
= 0 ;
23508 PyObject
* obj5
= 0 ;
23509 PyObject
* obj6
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23518 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23531 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23536 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23541 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23542 if (arg6
== NULL
) {
23543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23548 arg7
= wxString_in_helper(obj6
);
23549 if (arg7
== NULL
) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= wxPyMake_wxObject(result
);
23577 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
;
23579 wxPyTreeCtrl
*result
;
23580 char *kwnames
[] = {
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= wxPyMake_wxObject(result
);
23601 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23604 wxWindow
*arg2
= (wxWindow
*) 0 ;
23605 int arg3
= (int) -1 ;
23606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23610 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23611 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23612 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23613 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23614 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23618 bool temp8
= False
;
23619 PyObject
* obj0
= 0 ;
23620 PyObject
* obj1
= 0 ;
23621 PyObject
* obj2
= 0 ;
23622 PyObject
* obj3
= 0 ;
23623 PyObject
* obj4
= 0 ;
23624 PyObject
* obj5
= 0 ;
23625 PyObject
* obj6
= 0 ;
23626 PyObject
* obj7
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23636 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23654 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23659 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23660 if (arg7
== NULL
) {
23661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23666 arg8
= wxString_in_helper(obj7
);
23667 if (arg8
== NULL
) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23693 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23696 PyObject
*arg2
= (PyObject
*) 0 ;
23697 PyObject
*arg3
= (PyObject
*) 0 ;
23698 PyObject
* obj0
= 0 ;
23699 PyObject
* obj1
= 0 ;
23700 PyObject
* obj2
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self",(char *) "self",(char *) "_class", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 Py_INCREF(Py_None
); resultobj
= Py_None
;
23723 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23748 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23751 unsigned int result
;
23752 PyObject
* obj0
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "self", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23773 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23776 unsigned int arg2
;
23777 PyObject
* obj0
= 0 ;
23778 PyObject
* obj1
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self",(char *) "indent", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23786 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 (arg1
)->SetIndent(arg2
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 Py_INCREF(Py_None
); resultobj
= Py_None
;
23803 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23806 unsigned int result
;
23807 PyObject
* obj0
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23828 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23831 unsigned int arg2
;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "spacing", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23841 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 (arg1
)->SetSpacing(arg2
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 Py_INCREF(Py_None
); resultobj
= Py_None
;
23858 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23861 wxImageList
*result
;
23862 PyObject
* obj0
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= wxPyMake_wxObject(result
);
23885 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23888 wxImageList
*result
;
23889 PyObject
* obj0
= 0 ;
23890 char *kwnames
[] = {
23891 (char *) "self", NULL
23894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= wxPyMake_wxObject(result
);
23912 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
;
23914 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23915 wxImageList
*arg2
= (wxImageList
*) 0 ;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23918 char *kwnames
[] = {
23919 (char *) "self",(char *) "imageList", NULL
23922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23924 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 (arg1
)->SetImageList(arg2
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 Py_INCREF(Py_None
); resultobj
= Py_None
;
23939 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23942 wxImageList
*arg2
= (wxImageList
*) 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self",(char *) "imageList", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 (arg1
)->SetStateImageList(arg2
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 Py_INCREF(Py_None
); resultobj
= Py_None
;
23966 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23969 wxImageList
*arg2
= (wxImageList
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "imageList", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23978 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 (arg1
)->AssignImageList(arg2
);
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23986 Py_INCREF(Py_None
); resultobj
= Py_None
;
23993 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
;
23995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23996 wxImageList
*arg2
= (wxImageList
*) 0 ;
23997 PyObject
* obj0
= 0 ;
23998 PyObject
* obj1
= 0 ;
23999 char *kwnames
[] = {
24000 (char *) "self",(char *) "imageList", NULL
24003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 (arg1
)->AssignStateImageList(arg2
);
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 Py_INCREF(Py_None
); resultobj
= Py_None
;
24020 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24023 wxTreeItemId
*arg2
= 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self",(char *) "item", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24034 if (arg2
== NULL
) {
24035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24057 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24060 wxTreeItemId
*arg2
= 0 ;
24061 int arg3
= (int) wxTreeItemIcon_Normal
;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 PyObject
* obj2
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "item",(char *) "which", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24073 if (arg2
== NULL
) {
24074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24078 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_PyObj_FromInt((int)result
);
24096 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24099 wxTreeItemId
*arg2
= 0 ;
24100 wxPyTreeItemData
*result
;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self",(char *) "item", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24110 if (arg2
== NULL
) {
24111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
24127 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24130 wxTreeItemId
*arg2
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self",(char *) "item", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24141 if (arg2
== NULL
) {
24142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= result
;
24158 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
;
24160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24161 wxTreeItemId
*arg2
= 0 ;
24163 PyObject
* obj0
= 0 ;
24164 PyObject
* obj1
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self",(char *) "item", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24172 if (arg2
== NULL
) {
24173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 wxColour
* resultptr
;
24184 resultptr
= new wxColour((wxColour
&) result
);
24185 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24193 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24196 wxTreeItemId
*arg2
= 0 ;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self",(char *) "item", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24207 if (arg2
== NULL
) {
24208 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24218 wxColour
* resultptr
;
24219 resultptr
= new wxColour((wxColour
&) result
);
24220 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24228 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
;
24230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24231 wxTreeItemId
*arg2
= 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "self",(char *) "item", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24242 if (arg2
== NULL
) {
24243 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24253 wxFont
* resultptr
;
24254 resultptr
= new wxFont((wxFont
&) result
);
24255 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24263 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24266 wxTreeItemId
*arg2
= 0 ;
24267 wxString
*arg3
= 0 ;
24268 bool temp3
= False
;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 PyObject
* obj2
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self",(char *) "item",(char *) "text", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24279 if (arg2
== NULL
) {
24280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24283 arg3
= wxString_in_helper(obj2
);
24284 if (arg3
== NULL
) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 Py_INCREF(Py_None
); resultobj
= Py_None
;
24309 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24312 wxTreeItemId
*arg2
= 0 ;
24314 int arg4
= (int) wxTreeItemIcon_Normal
;
24315 PyObject
* obj0
= 0 ;
24316 PyObject
* obj1
= 0 ;
24317 PyObject
* obj2
= 0 ;
24318 PyObject
* obj3
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24326 if (arg2
== NULL
) {
24327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24330 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24335 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 Py_INCREF(Py_None
); resultobj
= Py_None
;
24353 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24356 wxTreeItemId
*arg2
= 0 ;
24357 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 PyObject
* obj1
= 0 ;
24360 PyObject
* obj2
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self",(char *) "item",(char *) "data", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24368 if (arg2
== NULL
) {
24369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24371 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 Py_INCREF(Py_None
); resultobj
= Py_None
;
24386 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24389 wxTreeItemId
*arg2
= 0 ;
24390 PyObject
*arg3
= (PyObject
*) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 PyObject
* obj2
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self",(char *) "item",(char *) "obj", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24401 if (arg2
== NULL
) {
24402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 Py_INCREF(Py_None
); resultobj
= Py_None
;
24419 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24422 wxTreeItemId
*arg2
= 0 ;
24423 bool arg3
= (bool) True
;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 PyObject
* obj2
= 0 ;
24427 char *kwnames
[] = {
24428 (char *) "self",(char *) "item",(char *) "has", NULL
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24433 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24434 if (arg2
== NULL
) {
24435 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24439 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 Py_INCREF(Py_None
); resultobj
= Py_None
;
24457 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24460 wxTreeItemId
*arg2
= 0 ;
24461 bool arg3
= (bool) True
;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 PyObject
* obj2
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self",(char *) "item",(char *) "bold", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24472 if (arg2
== NULL
) {
24473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24477 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 Py_INCREF(Py_None
); resultobj
= Py_None
;
24495 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24498 wxTreeItemId
*arg2
= 0 ;
24499 wxColour
*arg3
= 0 ;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 PyObject
* obj2
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self",(char *) "item",(char *) "col", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24511 if (arg2
== NULL
) {
24512 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24516 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 Py_INCREF(Py_None
); resultobj
= Py_None
;
24532 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
;
24534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24535 wxTreeItemId
*arg2
= 0 ;
24536 wxColour
*arg3
= 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 PyObject
* obj2
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "item",(char *) "col", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24548 if (arg2
== NULL
) {
24549 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24553 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 Py_INCREF(Py_None
); resultobj
= Py_None
;
24569 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24572 wxTreeItemId
*arg2
= 0 ;
24574 PyObject
* obj0
= 0 ;
24575 PyObject
* obj1
= 0 ;
24576 PyObject
* obj2
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "self",(char *) "item",(char *) "font", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24584 if (arg2
== NULL
) {
24585 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24587 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24588 if (arg3
== NULL
) {
24589 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 Py_INCREF(Py_None
); resultobj
= Py_None
;
24605 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24608 wxTreeItemId
*arg2
= 0 ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self",(char *) "item", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24619 if (arg2
== NULL
) {
24620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24636 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24639 wxTreeItemId
*arg2
= 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self",(char *) "item", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24650 if (arg2
== NULL
) {
24651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24667 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24670 wxTreeItemId
*arg2
= 0 ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "self",(char *) "item", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24681 if (arg2
== NULL
) {
24682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24698 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24701 wxTreeItemId
*arg2
= 0 ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self",(char *) "item", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24712 if (arg2
== NULL
) {
24713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24729 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
;
24731 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24732 wxTreeItemId
*arg2
= 0 ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 char *kwnames
[] = {
24737 (char *) "self",(char *) "item", NULL
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24742 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24743 if (arg2
== NULL
) {
24744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24760 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
;
24762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24763 wxTreeItemId
*arg2
= 0 ;
24764 bool arg3
= (bool) True
;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 PyObject
* obj2
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self",(char *) "item",(char *) "recursively", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24775 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24776 if (arg2
== NULL
) {
24777 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24781 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24799 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24802 wxTreeItemId result
;
24803 PyObject
* obj0
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 wxTreeItemId
* resultptr
;
24819 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24820 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24828 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
;
24830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24831 wxTreeItemId result
;
24832 PyObject
* obj0
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24847 wxTreeItemId
* resultptr
;
24848 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24849 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24857 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24861 PyObject
* obj0
= 0 ;
24862 char *kwnames
[] = {
24863 (char *) "self", NULL
24866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= result
;
24882 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24885 wxTreeItemId
*arg2
= 0 ;
24886 wxTreeItemId result
;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "item", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24896 if (arg2
== NULL
) {
24897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24907 wxTreeItemId
* resultptr
;
24908 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24909 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24917 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
;
24919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24920 wxTreeItemId
*arg2
= 0 ;
24922 PyObject
* obj0
= 0 ;
24923 PyObject
* obj1
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self",(char *) "item", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24931 if (arg2
== NULL
) {
24932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= result
;
24948 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24951 wxTreeItemId
*arg2
= 0 ;
24952 void *arg3
= (void *) 0 ;
24954 PyObject
* obj0
= 0 ;
24955 PyObject
* obj1
= 0 ;
24956 PyObject
* obj2
= 0 ;
24957 char *kwnames
[] = {
24958 (char *) "self",(char *) "item",(char *) "cookie", NULL
24961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24963 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24964 if (arg2
== NULL
) {
24965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24967 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= result
;
24982 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24985 wxTreeItemId
*arg2
= 0 ;
24986 wxTreeItemId result
;
24987 PyObject
* obj0
= 0 ;
24988 PyObject
* obj1
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self",(char *) "item", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24996 if (arg2
== NULL
) {
24997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 wxTreeItemId
* resultptr
;
25008 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25009 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25017 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25020 wxTreeItemId
*arg2
= 0 ;
25021 wxTreeItemId result
;
25022 PyObject
* obj0
= 0 ;
25023 PyObject
* obj1
= 0 ;
25024 char *kwnames
[] = {
25025 (char *) "self",(char *) "item", NULL
25028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25031 if (arg2
== NULL
) {
25032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 wxTreeItemId
* resultptr
;
25043 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25044 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25052 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25055 wxTreeItemId
*arg2
= 0 ;
25056 wxTreeItemId result
;
25057 PyObject
* obj0
= 0 ;
25058 PyObject
* obj1
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "self",(char *) "item", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25066 if (arg2
== NULL
) {
25067 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25077 wxTreeItemId
* resultptr
;
25078 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25079 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25087 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25090 wxTreeItemId result
;
25091 PyObject
* obj0
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25106 wxTreeItemId
* resultptr
;
25107 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25108 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25116 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25119 wxTreeItemId
*arg2
= 0 ;
25120 wxTreeItemId result
;
25121 PyObject
* obj0
= 0 ;
25122 PyObject
* obj1
= 0 ;
25123 char *kwnames
[] = {
25124 (char *) "self",(char *) "item", NULL
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25130 if (arg2
== NULL
) {
25131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25141 wxTreeItemId
* resultptr
;
25142 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25143 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25151 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
;
25153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25154 wxTreeItemId
*arg2
= 0 ;
25155 wxTreeItemId result
;
25156 PyObject
* obj0
= 0 ;
25157 PyObject
* obj1
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self",(char *) "item", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25165 if (arg2
== NULL
) {
25166 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25176 wxTreeItemId
* resultptr
;
25177 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25178 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25186 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25189 wxString
*arg2
= 0 ;
25190 int arg3
= (int) -1 ;
25191 int arg4
= (int) -1 ;
25192 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25193 wxTreeItemId result
;
25194 bool temp2
= False
;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 PyObject
* obj2
= 0 ;
25198 PyObject
* obj3
= 0 ;
25199 PyObject
* obj4
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25207 arg2
= wxString_in_helper(obj1
);
25208 if (arg2
== NULL
) SWIG_fail
;
25213 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25219 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25224 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25234 wxTreeItemId
* resultptr
;
25235 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25236 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25252 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25255 wxTreeItemId
*arg2
= 0 ;
25256 wxString
*arg3
= 0 ;
25257 int arg4
= (int) -1 ;
25258 int arg5
= (int) -1 ;
25259 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25260 wxTreeItemId result
;
25261 bool temp3
= False
;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 PyObject
* obj2
= 0 ;
25265 PyObject
* obj3
= 0 ;
25266 PyObject
* obj4
= 0 ;
25267 PyObject
* obj5
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25275 if (arg2
== NULL
) {
25276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25279 arg3
= wxString_in_helper(obj2
);
25280 if (arg3
== NULL
) SWIG_fail
;
25285 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25291 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25296 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25306 wxTreeItemId
* resultptr
;
25307 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25308 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25324 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
;
25326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25327 wxTreeItemId
*arg2
= 0 ;
25328 wxTreeItemId
*arg3
= 0 ;
25329 wxString
*arg4
= 0 ;
25330 int arg5
= (int) -1 ;
25331 int arg6
= (int) -1 ;
25332 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25333 wxTreeItemId result
;
25334 bool temp4
= False
;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 PyObject
* obj2
= 0 ;
25338 PyObject
* obj3
= 0 ;
25339 PyObject
* obj4
= 0 ;
25340 PyObject
* obj5
= 0 ;
25341 PyObject
* obj6
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25349 if (arg2
== NULL
) {
25350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25352 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25353 if (arg3
== NULL
) {
25354 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25357 arg4
= wxString_in_helper(obj3
);
25358 if (arg4
== NULL
) SWIG_fail
;
25363 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25369 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25374 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25384 wxTreeItemId
* resultptr
;
25385 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25386 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25402 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25405 wxTreeItemId
*arg2
= 0 ;
25407 wxString
*arg4
= 0 ;
25408 int arg5
= (int) -1 ;
25409 int arg6
= (int) -1 ;
25410 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25411 wxTreeItemId result
;
25412 bool temp4
= False
;
25413 PyObject
* obj0
= 0 ;
25414 PyObject
* obj1
= 0 ;
25415 PyObject
* obj2
= 0 ;
25416 PyObject
* obj3
= 0 ;
25417 PyObject
* obj4
= 0 ;
25418 PyObject
* obj5
= 0 ;
25419 PyObject
* obj6
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25427 if (arg2
== NULL
) {
25428 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25431 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 arg4
= wxString_in_helper(obj3
);
25436 if (arg4
== NULL
) SWIG_fail
;
25441 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25447 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25452 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25462 wxTreeItemId
* resultptr
;
25463 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25464 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25480 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25483 wxTreeItemId
*arg2
= 0 ;
25484 wxString
*arg3
= 0 ;
25485 int arg4
= (int) -1 ;
25486 int arg5
= (int) -1 ;
25487 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25488 wxTreeItemId result
;
25489 bool temp3
= False
;
25490 PyObject
* obj0
= 0 ;
25491 PyObject
* obj1
= 0 ;
25492 PyObject
* obj2
= 0 ;
25493 PyObject
* obj3
= 0 ;
25494 PyObject
* obj4
= 0 ;
25495 PyObject
* obj5
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25503 if (arg2
== NULL
) {
25504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25507 arg3
= wxString_in_helper(obj2
);
25508 if (arg3
== NULL
) SWIG_fail
;
25513 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25519 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25524 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25534 wxTreeItemId
* resultptr
;
25535 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25536 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25552 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
;
25554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25555 wxTreeItemId
*arg2
= 0 ;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self",(char *) "item", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25565 if (arg2
== NULL
) {
25566 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 Py_INCREF(Py_None
); resultobj
= Py_None
;
25582 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25585 wxTreeItemId
*arg2
= 0 ;
25586 PyObject
* obj0
= 0 ;
25587 PyObject
* obj1
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self",(char *) "item", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25594 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25595 if (arg2
== NULL
) {
25596 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 Py_INCREF(Py_None
); resultobj
= Py_None
;
25612 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25615 PyObject
* obj0
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "self", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 (arg1
)->DeleteAllItems();
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 Py_INCREF(Py_None
); resultobj
= Py_None
;
25636 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25639 wxTreeItemId
*arg2
= 0 ;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self",(char *) "item", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25649 if (arg2
== NULL
) {
25650 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 Py_INCREF(Py_None
); resultobj
= Py_None
;
25666 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25669 wxTreeItemId
*arg2
= 0 ;
25670 PyObject
* obj0
= 0 ;
25671 PyObject
* obj1
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "self",(char *) "item", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25679 if (arg2
== NULL
) {
25680 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 Py_INCREF(Py_None
); resultobj
= Py_None
;
25696 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25699 wxTreeItemId
*arg2
= 0 ;
25700 PyObject
* obj0
= 0 ;
25701 PyObject
* obj1
= 0 ;
25702 char *kwnames
[] = {
25703 (char *) "self",(char *) "item", NULL
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25709 if (arg2
== NULL
) {
25710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 Py_INCREF(Py_None
); resultobj
= Py_None
;
25726 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
;
25728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25729 wxTreeItemId
*arg2
= 0 ;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self",(char *) "item", NULL
25736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25738 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25739 if (arg2
== NULL
) {
25740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 Py_INCREF(Py_None
); resultobj
= Py_None
;
25756 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
;
25758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25759 PyObject
* obj0
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 (arg1
)->Unselect();
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 Py_INCREF(Py_None
); resultobj
= Py_None
;
25780 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25783 wxTreeItemId
*arg2
= 0 ;
25784 PyObject
* obj0
= 0 ;
25785 PyObject
* obj1
= 0 ;
25786 char *kwnames
[] = {
25787 (char *) "self",(char *) "item", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25793 if (arg2
== NULL
) {
25794 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 Py_INCREF(Py_None
); resultobj
= Py_None
;
25810 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25813 PyObject
* obj0
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self", NULL
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 (arg1
)->UnselectAll();
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 Py_INCREF(Py_None
); resultobj
= Py_None
;
25834 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25837 wxTreeItemId
*arg2
= 0 ;
25838 bool arg3
= (bool) True
;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 PyObject
* obj2
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "item",(char *) "select", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25848 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25849 if (arg2
== NULL
) {
25850 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25854 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 Py_INCREF(Py_None
); resultobj
= Py_None
;
25872 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
;
25874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25875 wxTreeItemId
*arg2
= 0 ;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25878 char *kwnames
[] = {
25879 (char *) "self",(char *) "item", NULL
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
25883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25885 if (arg2
== NULL
) {
25886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 Py_INCREF(Py_None
); resultobj
= Py_None
;
25902 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
;
25904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25905 wxTreeItemId
*arg2
= 0 ;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 char *kwnames
[] = {
25909 (char *) "self",(char *) "item", NULL
25912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25915 if (arg2
== NULL
) {
25916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 Py_INCREF(Py_None
); resultobj
= Py_None
;
25932 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25935 wxTreeItemId
*arg2
= 0 ;
25936 PyObject
* obj0
= 0 ;
25937 PyObject
* obj1
= 0 ;
25938 char *kwnames
[] = {
25939 (char *) "self",(char *) "item", NULL
25942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25945 if (arg2
== NULL
) {
25946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 Py_INCREF(Py_None
); resultobj
= Py_None
;
25962 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25965 wxTreeItemId
*arg2
= 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self",(char *) "item", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25975 if (arg2
== NULL
) {
25976 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 Py_INCREF(Py_None
); resultobj
= Py_None
;
25992 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
;
25994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25995 wxTextCtrl
*result
;
25996 PyObject
* obj0
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= wxPyMake_wxObject(result
);
26019 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26022 wxTreeItemId
*arg2
= 0 ;
26023 PyObject
* obj0
= 0 ;
26024 PyObject
* obj1
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "item", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26032 if (arg2
== NULL
) {
26033 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 Py_INCREF(Py_None
); resultobj
= Py_None
;
26049 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26052 wxPoint
*arg2
= 0 ;
26054 wxTreeItemId result
;
26057 PyObject
* obj0
= 0 ;
26058 PyObject
* obj1
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self",(char *) "point", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26078 wxTreeItemId
* resultptr
;
26079 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26080 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26083 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26084 resultobj
= t_output_helper(resultobj
,o
);
26092 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26095 wxTreeItemId
*arg2
= 0 ;
26096 bool arg3
= (bool) False
;
26098 PyObject
* obj0
= 0 ;
26099 PyObject
* obj1
= 0 ;
26100 PyObject
* obj2
= 0 ;
26101 char *kwnames
[] = {
26102 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26108 if (arg2
== NULL
) {
26109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26113 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= result
;
26131 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26134 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26136 return Py_BuildValue((char *)"");
26138 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26139 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26144 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26149 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26151 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26158 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxWindow
*arg1
= (wxWindow
*) 0 ;
26161 int arg2
= (int) (int)-1 ;
26162 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26163 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26168 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26169 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26170 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26171 int arg8
= (int) 0 ;
26172 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26173 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26174 wxGenericDirCtrl
*result
;
26175 bool temp3
= False
;
26178 bool temp7
= False
;
26179 bool temp9
= False
;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 PyObject
* obj2
= 0 ;
26183 PyObject
* obj3
= 0 ;
26184 PyObject
* obj4
= 0 ;
26185 PyObject
* obj5
= 0 ;
26186 PyObject
* obj6
= 0 ;
26187 PyObject
* obj7
= 0 ;
26188 PyObject
* obj8
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26197 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26203 arg3
= wxString_in_helper(obj2
);
26204 if (arg3
== NULL
) SWIG_fail
;
26211 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26217 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26222 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26228 arg7
= wxString_in_helper(obj6
);
26229 if (arg7
== NULL
) SWIG_fail
;
26235 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26241 arg9
= wxString_in_helper(obj8
);
26242 if (arg9
== NULL
) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26284 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 wxGenericDirCtrl
*result
;
26287 char *kwnames
[] = {
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26306 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26309 wxWindow
*arg2
= (wxWindow
*) 0 ;
26310 int arg3
= (int) (int)-1 ;
26311 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26312 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26313 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26314 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26315 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26316 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26317 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26318 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26319 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26320 int arg9
= (int) 0 ;
26321 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26322 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26324 bool temp4
= False
;
26327 bool temp8
= False
;
26328 bool temp10
= False
;
26329 PyObject
* obj0
= 0 ;
26330 PyObject
* obj1
= 0 ;
26331 PyObject
* obj2
= 0 ;
26332 PyObject
* obj3
= 0 ;
26333 PyObject
* obj4
= 0 ;
26334 PyObject
* obj5
= 0 ;
26335 PyObject
* obj6
= 0 ;
26336 PyObject
* obj7
= 0 ;
26337 PyObject
* obj8
= 0 ;
26338 PyObject
* obj9
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26348 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26354 arg4
= wxString_in_helper(obj3
);
26355 if (arg4
== NULL
) SWIG_fail
;
26362 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26368 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26373 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26379 arg8
= wxString_in_helper(obj7
);
26380 if (arg8
== NULL
) SWIG_fail
;
26386 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26392 arg10
= wxString_in_helper(obj9
);
26393 if (arg10
== NULL
) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26435 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26438 wxString
*arg2
= 0 ;
26440 bool temp2
= False
;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "path", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26450 arg2
= wxString_in_helper(obj1
);
26451 if (arg2
== NULL
) SWIG_fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26476 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
;
26478 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26480 PyObject
* obj0
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26507 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26508 PyObject
*resultobj
;
26509 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26510 wxString
*arg2
= 0 ;
26511 bool temp2
= False
;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self",(char *) "path", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26521 arg2
= wxString_in_helper(obj1
);
26522 if (arg2
== NULL
) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 Py_INCREF(Py_None
); resultobj
= Py_None
;
26547 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26578 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26582 PyObject
* obj0
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26609 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26612 wxString
*arg2
= 0 ;
26613 bool temp2
= False
;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self",(char *) "path", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26623 arg2
= wxString_in_helper(obj1
);
26624 if (arg2
== NULL
) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 (arg1
)->SetPath((wxString
const &)*arg2
);
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 Py_INCREF(Py_None
); resultobj
= Py_None
;
26649 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
;
26651 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self",(char *) "show", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26662 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 (arg1
)->ShowHidden(arg2
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 Py_INCREF(Py_None
); resultobj
= Py_None
;
26679 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 char *kwnames
[] = {
26685 (char *) "self", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 result
= (bool)(arg1
)->GetShowHidden();
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26704 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
;
26706 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26708 PyObject
* obj0
= 0 ;
26709 char *kwnames
[] = {
26710 (char *) "self", NULL
26713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26735 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26738 wxString
*arg2
= 0 ;
26739 bool temp2
= False
;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "self",(char *) "filter", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26749 arg2
= wxString_in_helper(obj1
);
26750 if (arg2
== NULL
) SWIG_fail
;
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 (arg1
)->SetFilter((wxString
const &)*arg2
);
26757 wxPyEndAllowThreads(__tstate
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26760 Py_INCREF(Py_None
); resultobj
= Py_None
;
26775 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26779 PyObject
* obj0
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 resultobj
= SWIG_PyObj_FromInt((int)result
);
26800 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self",(char *) "n", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26813 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 (arg1
)->SetFilterIndex(arg2
);
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 Py_INCREF(Py_None
); resultobj
= Py_None
;
26830 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
;
26832 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26833 wxTreeItemId result
;
26834 PyObject
* obj0
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "self", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= (arg1
)->GetRootId();
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26849 wxTreeItemId
* resultptr
;
26850 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26851 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26859 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26862 wxPyTreeCtrl
*result
;
26863 PyObject
* obj0
= 0 ;
26864 char *kwnames
[] = {
26865 (char *) "self", NULL
26868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
26869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= wxPyMake_wxObject(result
);
26886 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
;
26888 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26889 wxDirFilterListCtrl
*result
;
26890 PyObject
* obj0
= 0 ;
26891 char *kwnames
[] = {
26892 (char *) "self", NULL
26895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
26896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
26911 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26914 wxTreeItemId arg2
;
26915 wxString
*arg3
= 0 ;
26917 wxTreeItemId result
;
26918 wxTreeItemId
*argp2
;
26919 bool temp3
= False
;
26921 PyObject
* obj0
= 0 ;
26922 PyObject
* obj1
= 0 ;
26923 PyObject
* obj2
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "parentId",(char *) "path", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26931 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
26934 arg3
= wxString_in_helper(obj2
);
26935 if (arg3
== NULL
) SWIG_fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26946 wxTreeItemId
* resultptr
;
26947 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26948 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26951 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26952 resultobj
= t_output_helper(resultobj
,o
);
26968 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26971 PyObject
* obj0
= 0 ;
26972 char *kwnames
[] = {
26973 (char *) "self", NULL
26976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
26977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 (arg1
)->DoResize();
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26985 Py_INCREF(Py_None
); resultobj
= Py_None
;
26992 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26993 PyObject
*resultobj
;
26994 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26995 PyObject
* obj0
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 (arg1
)->ReCreateTree();
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 Py_INCREF(Py_None
); resultobj
= Py_None
;
27016 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27019 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27021 return Py_BuildValue((char *)"");
27023 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27026 int arg2
= (int) (int)-1 ;
27027 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27028 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27029 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27030 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27031 long arg5
= (long) 0 ;
27032 wxDirFilterListCtrl
*result
;
27035 PyObject
* obj0
= 0 ;
27036 PyObject
* obj1
= 0 ;
27037 PyObject
* obj2
= 0 ;
27038 PyObject
* obj3
= 0 ;
27039 PyObject
* obj4
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27048 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27055 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27061 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27066 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27084 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxDirFilterListCtrl
*result
;
27087 char *kwnames
[] = {
27091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27106 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
;
27108 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27109 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27110 int arg3
= (int) (int)-1 ;
27111 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27112 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27113 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27114 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27115 long arg6
= (long) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 PyObject
* obj1
= 0 ;
27121 PyObject
* obj2
= 0 ;
27122 PyObject
* obj3
= 0 ;
27123 PyObject
* obj4
= 0 ;
27124 PyObject
* obj5
= 0 ;
27125 char *kwnames
[] = {
27126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27131 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27134 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27152 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27170 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27173 wxString
*arg2
= 0 ;
27175 bool temp2
= False
;
27176 PyObject
* obj0
= 0 ;
27177 PyObject
* obj1
= 0 ;
27178 PyObject
* obj2
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27186 arg2
= wxString_in_helper(obj1
);
27187 if (arg2
== NULL
) SWIG_fail
;
27191 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27198 wxPyEndAllowThreads(__tstate
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 Py_INCREF(Py_None
); resultobj
= Py_None
;
27216 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27219 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27221 return Py_BuildValue((char *)"");
27223 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxWindow
*arg1
= (wxWindow
*) 0 ;
27227 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27228 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27229 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27230 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27231 long arg5
= (long) 0 ;
27232 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27233 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27234 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27235 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27236 wxPyControl
*result
;
27239 bool temp7
= False
;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 PyObject
* obj2
= 0 ;
27243 PyObject
* obj3
= 0 ;
27244 PyObject
* obj4
= 0 ;
27245 PyObject
* obj5
= 0 ;
27246 PyObject
* obj6
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27254 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27260 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27266 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27271 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27276 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27277 if (arg6
== NULL
) {
27278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27283 arg7
= wxString_in_helper(obj6
);
27284 if (arg7
== NULL
) SWIG_fail
;
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27310 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27313 PyObject
*arg2
= (PyObject
*) 0 ;
27314 PyObject
*arg3
= (PyObject
*) 0 ;
27315 PyObject
* obj0
= 0 ;
27316 PyObject
* obj1
= 0 ;
27317 PyObject
* obj2
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "self",(char *) "self",(char *) "_class", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27330 wxPyEndAllowThreads(__tstate
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 Py_INCREF(Py_None
); resultobj
= Py_None
;
27340 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
;
27342 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27347 PyObject
* obj0
= 0 ;
27348 PyObject
* obj1
= 0 ;
27349 PyObject
* obj2
= 0 ;
27350 PyObject
* obj3
= 0 ;
27351 PyObject
* obj4
= 0 ;
27352 char *kwnames
[] = {
27353 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27359 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27363 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27367 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27371 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 Py_INCREF(Py_None
); resultobj
= Py_None
;
27388 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27395 int arg6
= (int) wxSIZE_AUTO
;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 PyObject
* obj2
= 0 ;
27399 PyObject
* obj3
= 0 ;
27400 PyObject
* obj4
= 0 ;
27401 PyObject
* obj5
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27409 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27413 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27417 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27421 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27426 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27437 Py_INCREF(Py_None
); resultobj
= Py_None
;
27444 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
;
27446 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27449 PyObject
* obj0
= 0 ;
27450 PyObject
* obj1
= 0 ;
27451 PyObject
* obj2
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self",(char *) "width",(char *) "height", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27463 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 Py_INCREF(Py_None
); resultobj
= Py_None
;
27480 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27485 PyObject
* obj0
= 0 ;
27486 PyObject
* obj1
= 0 ;
27487 PyObject
* obj2
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "x",(char *) "y", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27495 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27499 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 Py_INCREF(Py_None
); resultobj
= Py_None
;
27516 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27519 int *arg2
= (int *) 0 ;
27520 int *arg3
= (int *) 0 ;
27523 PyObject
* obj0
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self", NULL
27530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 Py_INCREF(Py_None
); resultobj
= Py_None
;
27541 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27542 resultobj
= t_output_helper(resultobj
,o
);
27545 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27546 resultobj
= t_output_helper(resultobj
,o
);
27554 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27557 int *arg2
= (int *) 0 ;
27558 int *arg3
= (int *) 0 ;
27561 PyObject
* obj0
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "self", NULL
27568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 Py_INCREF(Py_None
); resultobj
= Py_None
;
27579 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27580 resultobj
= t_output_helper(resultobj
,o
);
27583 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27584 resultobj
= t_output_helper(resultobj
,o
);
27592 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27595 int *arg2
= (int *) 0 ;
27596 int *arg3
= (int *) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 char *kwnames
[] = {
27601 (char *) "self", NULL
27606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 Py_INCREF(Py_None
); resultobj
= Py_None
;
27617 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27618 resultobj
= t_output_helper(resultobj
,o
);
27621 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27622 resultobj
= t_output_helper(resultobj
,o
);
27630 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27634 PyObject
* obj0
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27649 wxSize
* resultptr
;
27650 resultptr
= new wxSize((wxSize
&) result
);
27651 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27659 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
;
27661 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27663 PyObject
* obj0
= 0 ;
27664 char *kwnames
[] = {
27665 (char *) "self", NULL
27668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27678 wxSize
* resultptr
;
27679 resultptr
= new wxSize((wxSize
&) result
);
27680 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27688 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
;
27690 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27691 PyObject
* obj0
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 (arg1
)->base_InitDialog();
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27705 Py_INCREF(Py_None
); resultobj
= Py_None
;
27712 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
;
27714 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27716 PyObject
* obj0
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 result
= (bool)(arg1
)->base_TransferDataToWindow();
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27737 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
;
27739 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27741 PyObject
* obj0
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "self", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27762 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
;
27764 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 char *kwnames
[] = {
27768 (char *) "self", NULL
27771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 result
= (bool)(arg1
)->base_Validate();
27777 wxPyEndAllowThreads(__tstate
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27787 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27791 PyObject
* obj0
= 0 ;
27792 char *kwnames
[] = {
27793 (char *) "self", NULL
27796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27812 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
;
27814 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27837 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27838 PyObject
*resultobj
;
27839 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27841 PyObject
* obj0
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27856 wxSize
* resultptr
;
27857 resultptr
= new wxSize((wxSize
&) result
);
27858 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27866 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27869 wxWindow
*arg2
= (wxWindow
*) 0 ;
27870 PyObject
* obj0
= 0 ;
27871 PyObject
* obj1
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self",(char *) "child", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 (arg1
)->base_AddChild(arg2
);
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 Py_INCREF(Py_None
); resultobj
= Py_None
;
27893 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
;
27895 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27896 wxWindow
*arg2
= (wxWindow
*) 0 ;
27897 PyObject
* obj0
= 0 ;
27898 PyObject
* obj1
= 0 ;
27899 char *kwnames
[] = {
27900 (char *) "self",(char *) "child", NULL
27903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27905 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27908 (arg1
)->base_RemoveChild(arg2
);
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 Py_INCREF(Py_None
); resultobj
= Py_None
;
27920 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
27922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27923 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
27925 return Py_BuildValue((char *)"");
27927 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
;
27929 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27930 int arg2
= (int) 0 ;
27931 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27932 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27933 wxHelpEvent
*result
;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 PyObject
* obj2
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "type",(char *) "winid",(char *) "pt", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27945 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27958 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
27975 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27976 PyObject
*resultobj
;
27977 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27979 PyObject
* obj0
= 0 ;
27980 char *kwnames
[] = {
27981 (char *) "self", NULL
27984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
27985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
27990 result
= (wxPoint
*) &_result_ref
;
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
28003 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
;
28005 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28006 wxPoint
*arg2
= 0 ;
28008 PyObject
* obj0
= 0 ;
28009 PyObject
* obj1
= 0 ;
28010 char *kwnames
[] = {
28011 (char *) "self",(char *) "pos", NULL
28014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28022 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28024 wxPyEndAllowThreads(__tstate
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28027 Py_INCREF(Py_None
); resultobj
= Py_None
;
28034 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28038 PyObject
* obj0
= 0 ;
28039 char *kwnames
[] = {
28040 (char *) "self", NULL
28043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28049 result
= (wxString
*) &_result_ref
;
28052 wxPyEndAllowThreads(__tstate
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28059 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28068 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28069 PyObject
*resultobj
;
28070 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28071 wxString
*arg2
= 0 ;
28072 bool temp2
= False
;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self",(char *) "link", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28082 arg2
= wxString_in_helper(obj1
);
28083 if (arg2
== NULL
) SWIG_fail
;
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 (arg1
)->SetLink((wxString
const &)*arg2
);
28090 wxPyEndAllowThreads(__tstate
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 Py_INCREF(Py_None
); resultobj
= Py_None
;
28108 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
;
28110 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28112 PyObject
* obj0
= 0 ;
28113 char *kwnames
[] = {
28114 (char *) "self", NULL
28117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28123 result
= (wxString
*) &_result_ref
;
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28131 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28133 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28142 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
;
28144 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28145 wxString
*arg2
= 0 ;
28146 bool temp2
= False
;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self",(char *) "target", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28156 arg2
= wxString_in_helper(obj1
);
28157 if (arg2
== NULL
) SWIG_fail
;
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 (arg1
)->SetTarget((wxString
const &)*arg2
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 Py_INCREF(Py_None
); resultobj
= Py_None
;
28182 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28185 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28187 return Py_BuildValue((char *)"");
28189 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28190 PyObject
*resultobj
;
28191 wxWindow
*arg1
= (wxWindow
*) NULL
;
28192 bool arg2
= (bool) True
;
28193 wxContextHelp
*result
;
28194 PyObject
* obj0
= 0 ;
28195 PyObject
* obj1
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "window",(char *) "doNow", NULL
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28206 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28224 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
;
28226 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28227 PyObject
* obj0
= 0 ;
28228 char *kwnames
[] = {
28229 (char *) "self", NULL
28232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 Py_INCREF(Py_None
); resultobj
= Py_None
;
28248 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
;
28250 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28251 wxWindow
*arg2
= (wxWindow
*) NULL
;
28253 PyObject
* obj0
= 0 ;
28254 PyObject
* obj1
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "self",(char *) "window", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28278 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
;
28280 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28282 PyObject
* obj0
= 0 ;
28283 char *kwnames
[] = {
28284 (char *) "self", NULL
28287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 result
= (bool)(arg1
)->EndContextHelp();
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28303 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28306 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28308 return Py_BuildValue((char *)"");
28310 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxWindow
*arg1
= (wxWindow
*) 0 ;
28313 int arg2
= (int) wxID_CONTEXT_HELP
;
28314 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28315 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28316 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28317 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28318 long arg5
= (long) wxBU_AUTODRAW
;
28319 wxContextHelpButton
*result
;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 PyObject
* obj2
= 0 ;
28325 PyObject
* obj3
= 0 ;
28326 PyObject
* obj4
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28335 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28348 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28353 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28371 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28374 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28376 return Py_BuildValue((char *)"");
28378 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28381 wxHelpProvider
*result
;
28382 PyObject
* obj0
= 0 ;
28383 char *kwnames
[] = {
28384 (char *) "helpProvider", NULL
28387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28403 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxHelpProvider
*result
;
28406 char *kwnames
[] = {
28410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28425 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28426 PyObject
*resultobj
;
28427 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28428 wxWindow
*arg2
= (wxWindow
*) 0 ;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char *kwnames
[] = {
28433 (char *) "self",(char *) "window", NULL
28436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28441 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28443 wxPyEndAllowThreads(__tstate
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28459 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
;
28461 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28462 wxWindow
*arg2
= (wxWindow
*) 0 ;
28464 PyObject
* obj0
= 0 ;
28465 PyObject
* obj1
= 0 ;
28466 char *kwnames
[] = {
28467 (char *) "self",(char *) "window", NULL
28470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= (bool)(arg1
)->ShowHelp(arg2
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28487 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
;
28489 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28490 wxWindow
*arg2
= (wxWindow
*) 0 ;
28491 wxString
*arg3
= 0 ;
28492 bool temp3
= False
;
28493 PyObject
* obj0
= 0 ;
28494 PyObject
* obj1
= 0 ;
28495 PyObject
* obj2
= 0 ;
28496 char *kwnames
[] = {
28497 (char *) "self",(char *) "window",(char *) "text", NULL
28500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28504 arg3
= wxString_in_helper(obj2
);
28505 if (arg3
== NULL
) SWIG_fail
;
28509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28515 Py_INCREF(Py_None
); resultobj
= Py_None
;
28530 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28534 wxString
*arg3
= 0 ;
28535 bool temp3
= False
;
28536 PyObject
* obj0
= 0 ;
28537 PyObject
* obj1
= 0 ;
28538 PyObject
* obj2
= 0 ;
28539 char *kwnames
[] = {
28540 (char *) "self",(char *) "id",(char *) "text", NULL
28543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28546 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28550 arg3
= wxString_in_helper(obj2
);
28551 if (arg3
== NULL
) SWIG_fail
;
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28558 wxPyEndAllowThreads(__tstate
);
28559 if (PyErr_Occurred()) SWIG_fail
;
28561 Py_INCREF(Py_None
); resultobj
= Py_None
;
28576 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28577 PyObject
*resultobj
;
28578 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28579 PyObject
* obj0
= 0 ;
28580 char *kwnames
[] = {
28581 (char *) "self", NULL
28584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 wxHelpProvider_Destroy(arg1
);
28590 wxPyEndAllowThreads(__tstate
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28593 Py_INCREF(Py_None
); resultobj
= Py_None
;
28600 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28603 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28605 return Py_BuildValue((char *)"");
28607 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
;
28609 wxSimpleHelpProvider
*result
;
28610 char *kwnames
[] = {
28614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28622 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28629 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28632 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28634 return Py_BuildValue((char *)"");
28636 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28637 PyObject
*resultobj
;
28638 wxBitmap
*arg1
= 0 ;
28639 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28640 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28641 wxGenericDragImage
*result
;
28642 PyObject
* obj0
= 0 ;
28643 PyObject
* obj1
= 0 ;
28644 char *kwnames
[] = {
28645 (char *) "image",(char *) "cursor", NULL
28648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28650 if (arg1
== NULL
) {
28651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28655 if (arg2
== NULL
) {
28656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28673 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28676 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28677 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28678 wxGenericDragImage
*result
;
28679 PyObject
* obj0
= 0 ;
28680 PyObject
* obj1
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "image",(char *) "cursor", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28687 if (arg1
== NULL
) {
28688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28692 if (arg2
== NULL
) {
28693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28710 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxString
*arg1
= 0 ;
28713 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28714 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28715 wxGenericDragImage
*result
;
28716 bool temp1
= False
;
28717 PyObject
* obj0
= 0 ;
28718 PyObject
* obj1
= 0 ;
28719 char *kwnames
[] = {
28720 (char *) "str",(char *) "cursor", NULL
28723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28725 arg1
= wxString_in_helper(obj0
);
28726 if (arg1
== NULL
) SWIG_fail
;
28730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28731 if (arg2
== NULL
) {
28732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28757 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28758 PyObject
*resultobj
;
28759 wxPyTreeCtrl
*arg1
= 0 ;
28760 wxTreeItemId
*arg2
= 0 ;
28761 wxGenericDragImage
*result
;
28762 PyObject
* obj0
= 0 ;
28763 PyObject
* obj1
= 0 ;
28764 char *kwnames
[] = {
28765 (char *) "treeCtrl",(char *) "id", NULL
28768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28770 if (arg1
== NULL
) {
28771 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28774 if (arg2
== NULL
) {
28775 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28781 wxPyEndAllowThreads(__tstate
);
28782 if (PyErr_Occurred()) SWIG_fail
;
28784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28791 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
;
28793 wxPyListCtrl
*arg1
= 0 ;
28795 wxGenericDragImage
*result
;
28796 PyObject
* obj0
= 0 ;
28797 PyObject
* obj1
= 0 ;
28798 char *kwnames
[] = {
28799 (char *) "listCtrl",(char *) "id", NULL
28802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28804 if (arg1
== NULL
) {
28805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28808 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28825 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
;
28827 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28828 PyObject
* obj0
= 0 ;
28829 char *kwnames
[] = {
28830 (char *) "self", NULL
28833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28842 Py_INCREF(Py_None
); resultobj
= Py_None
;
28849 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28850 PyObject
*resultobj
;
28851 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28852 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
28853 PyObject
* obj0
= 0 ;
28854 PyObject
* obj1
= 0 ;
28855 char *kwnames
[] = {
28856 (char *) "self",(char *) "bitmap", NULL
28859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 (arg1
)->SetBackingBitmap(arg2
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 Py_INCREF(Py_None
); resultobj
= Py_None
;
28876 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
;
28878 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28879 wxPoint
*arg2
= 0 ;
28880 wxWindow
*arg3
= (wxWindow
*) 0 ;
28881 bool arg4
= (bool) False
;
28882 wxRect
*arg5
= (wxRect
*) NULL
;
28885 PyObject
* obj0
= 0 ;
28886 PyObject
* obj1
= 0 ;
28887 PyObject
* obj2
= 0 ;
28888 PyObject
* obj3
= 0 ;
28889 PyObject
* obj4
= 0 ;
28890 char *kwnames
[] = {
28891 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28900 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28903 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28908 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28924 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
;
28926 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28927 wxPoint
*arg2
= 0 ;
28928 wxWindow
*arg3
= (wxWindow
*) 0 ;
28929 wxWindow
*arg4
= (wxWindow
*) 0 ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 PyObject
* obj2
= 0 ;
28935 PyObject
* obj3
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28946 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28947 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28962 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28966 PyObject
* obj0
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
28972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 result
= (bool)(arg1
)->EndDrag();
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28987 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28990 wxPoint
*arg2
= 0 ;
28993 PyObject
* obj0
= 0 ;
28994 PyObject
* obj1
= 0 ;
28995 char *kwnames
[] = {
28996 (char *) "self",(char *) "pt", NULL
28999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29009 wxPyEndAllowThreads(__tstate
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29019 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
;
29021 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29023 PyObject
* obj0
= 0 ;
29024 char *kwnames
[] = {
29025 (char *) "self", NULL
29028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 result
= (bool)(arg1
)->Show();
29034 wxPyEndAllowThreads(__tstate
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29044 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
;
29046 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29048 PyObject
* obj0
= 0 ;
29049 char *kwnames
[] = {
29050 (char *) "self", NULL
29053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 result
= (bool)(arg1
)->Hide();
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29069 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29072 wxPoint
*arg2
= 0 ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 char *kwnames
[] = {
29078 (char *) "self",(char *) "pos", NULL
29081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29095 wxRect
* resultptr
;
29096 resultptr
= new wxRect((wxRect
&) result
);
29097 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
29105 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29106 PyObject
*resultobj
;
29107 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29109 wxPoint
*arg3
= 0 ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 PyObject
* obj2
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self",(char *) "dc",(char *) "pos", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29122 if (arg2
== NULL
) {
29123 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29127 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29143 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
;
29145 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29147 wxMemoryDC
*arg3
= 0 ;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 PyObject
* obj2
= 0 ;
29156 PyObject
* obj3
= 0 ;
29157 PyObject
* obj4
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29165 if (arg2
== NULL
) {
29166 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29168 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29169 if (arg3
== NULL
) {
29170 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29174 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29178 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29194 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
;
29196 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29197 wxPoint
*arg2
= 0 ;
29198 wxPoint
*arg3
= 0 ;
29204 PyObject
* obj0
= 0 ;
29205 PyObject
* obj1
= 0 ;
29206 PyObject
* obj2
= 0 ;
29207 PyObject
* obj3
= 0 ;
29208 PyObject
* obj4
= 0 ;
29209 char *kwnames
[] = {
29210 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29224 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29228 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29245 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29248 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29250 return Py_BuildValue((char *)"");
29252 static PyMethodDef SwigMethods
[] = {
29253 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29254 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29255 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29256 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29257 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29258 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29259 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29260 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29261 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29262 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29263 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29264 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29265 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29266 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29267 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29268 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29269 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29270 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29271 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29272 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29273 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29274 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29275 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29276 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29277 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29278 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29279 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29280 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29281 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29282 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29283 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29284 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29285 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29286 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29287 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29288 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29289 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29290 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29291 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29292 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29293 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29294 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29295 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29296 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29297 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29298 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29299 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29300 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29301 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29302 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29303 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29304 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29305 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29306 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29307 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29308 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29309 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29310 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29311 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29312 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29313 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29314 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29315 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29316 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29317 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29318 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29319 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29320 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29321 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29322 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29323 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29324 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29325 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29326 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29327 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29328 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29329 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29330 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29331 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29332 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29333 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29334 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29335 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29336 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29337 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29338 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29339 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29340 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29341 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29342 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29343 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29344 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29345 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29346 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29347 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29348 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29349 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29350 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29351 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29352 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29353 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29354 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29355 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29356 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29357 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29358 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29359 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29360 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29361 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29362 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29363 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29364 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29365 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29366 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29367 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29368 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29369 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29370 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29371 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29372 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29373 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29374 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29375 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29376 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29377 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29378 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29379 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29380 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29381 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29382 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29383 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29384 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29385 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29386 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29387 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29388 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29389 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29390 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29391 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29392 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29393 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29394 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29395 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29396 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29397 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29398 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29399 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29400 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29401 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29402 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29403 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29404 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29405 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29406 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29407 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29408 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29409 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29410 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29411 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29412 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29413 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29414 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29415 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29419 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29420 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29421 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29422 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29423 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29425 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29426 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29427 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29429 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29430 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29431 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29432 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29436 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29437 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29438 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29440 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29442 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29443 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29446 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29447 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29448 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29450 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29453 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29456 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29457 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29458 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29463 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29467 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29472 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29473 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29474 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29476 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29478 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29479 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29483 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29486 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29487 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29488 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29490 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29491 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29495 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29496 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29497 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29501 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29502 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29504 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29505 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29506 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29518 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29524 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29549 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29556 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29576 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29582 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29586 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29591 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29593 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29598 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29600 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29605 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29610 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29628 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29640 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29685 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29690 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29702 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29754 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29763 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29781 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29805 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
29850 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
29862 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
29870 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
29877 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
29893 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
29942 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29965 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
29967 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29981 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
29989 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
29994 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30015 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30023 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30028 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30030 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30038 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30040 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30062 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30064 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30065 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30067 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30068 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30070 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30071 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30073 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30074 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30076 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30077 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30079 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30080 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30082 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30083 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30085 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30086 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30088 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30089 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30091 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30092 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30094 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30095 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30097 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30098 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30100 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30101 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30103 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30104 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30106 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30107 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30109 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30110 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30112 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30113 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30115 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30116 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30118 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30119 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30121 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30122 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30124 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30125 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30127 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30128 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30130 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30131 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30133 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30134 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30136 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30137 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30139 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30140 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30142 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30143 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30145 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30146 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30148 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30149 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30151 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30152 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30154 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30155 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30157 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30158 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30160 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30161 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30163 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30164 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30166 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30167 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30169 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30170 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30172 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30173 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30175 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30176 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30178 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30179 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30181 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30182 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30184 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30185 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30187 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30188 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30190 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30191 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30193 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30194 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30196 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30199 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30200 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30202 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30203 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30205 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30206 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30208 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30209 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30211 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30212 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30214 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30215 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30217 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30218 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30220 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30221 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30223 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30224 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30226 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30227 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30229 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30230 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30232 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30233 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30235 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30236 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30238 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30239 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30241 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30242 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30244 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30245 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30247 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30248 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30250 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30251 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30253 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30254 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30256 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30257 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30259 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30260 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30262 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30263 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30265 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30266 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30268 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30269 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30271 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30272 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30274 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30275 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30277 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30278 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30280 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30281 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30283 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30284 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30286 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30287 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30289 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30290 return (void *)((wxControl
*) ((wxGauge
*) x
));
30292 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30293 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30295 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30296 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30298 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30299 return (void *)((wxControl
*) ((wxButton
*) x
));
30301 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30302 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30304 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30305 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30307 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30308 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30310 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30311 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30313 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30314 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30316 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30317 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30319 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30320 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30322 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30323 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30325 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30326 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30328 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30329 return (void *)((wxControl
*) ((wxSlider
*) x
));
30331 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30332 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30334 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30335 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30337 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30338 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30340 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30341 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30343 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30344 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30346 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30347 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30349 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30350 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30352 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30353 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30355 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30356 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30358 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30359 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30361 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30362 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30364 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30365 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30367 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30370 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30371 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30373 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30374 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30376 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30377 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30379 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30382 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30383 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30385 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30388 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30391 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30392 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30394 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30395 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30397 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30400 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30403 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30406 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30409 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30412 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30413 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30415 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30418 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30421 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30424 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30427 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30430 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30433 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30436 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30439 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30442 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30445 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30448 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30451 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30454 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30457 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30460 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30463 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30466 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30469 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30472 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30475 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30478 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30481 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30484 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30487 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30488 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30490 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30491 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30493 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30494 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30496 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30497 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30499 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30500 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30502 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30503 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30505 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30506 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30508 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30509 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30511 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30512 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30514 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30515 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30517 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30520 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30521 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30523 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30526 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30529 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30530 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30532 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30533 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30535 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30536 return (void *)((wxObject
*) ((wxSizer
*) x
));
30538 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30539 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30541 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30544 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30547 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30550 static void *_p_wxEventTo_p_wxObject(void *x
) {
30551 return (void *)((wxObject
*) ((wxEvent
*) x
));
30553 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30554 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30556 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30557 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30559 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30560 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30562 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30565 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30568 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30571 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30572 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30574 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30575 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30577 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30578 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30580 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30581 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30583 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30584 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30586 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30587 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30589 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30592 static void *_p_wxControlTo_p_wxObject(void *x
) {
30593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30595 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30598 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30601 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30604 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30607 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30610 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30611 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30613 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30616 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30617 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30619 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30620 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30622 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30625 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30628 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30631 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30632 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30634 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30635 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30637 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30640 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30641 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30643 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30646 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30649 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30650 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30652 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30653 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30655 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30656 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30658 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30659 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30661 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30662 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30664 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30665 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30667 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30668 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30670 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30671 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30673 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30674 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30676 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30679 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30680 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30682 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30685 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30686 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30688 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30689 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30691 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30692 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30694 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30697 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30698 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30700 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30701 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30703 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30704 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30706 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30707 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30709 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30710 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30712 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30713 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30715 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30716 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30718 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30719 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30721 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30722 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30724 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30727 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30730 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30733 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30736 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30739 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30742 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30745 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30746 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30748 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30751 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30754 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30757 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30760 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30761 return (void *)((wxObject
*) ((wxListItem
*) x
));
30763 static void *_p_wxImageTo_p_wxObject(void *x
) {
30764 return (void *)((wxObject
*) ((wxImage
*) x
));
30766 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30767 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30769 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30770 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30772 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30775 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30776 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30778 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30781 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30784 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30787 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30790 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30791 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30793 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30794 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30796 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30797 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30799 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30800 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30802 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30805 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30806 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30808 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30811 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30812 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30814 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30815 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30817 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30818 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30820 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30821 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30823 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30824 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30826 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30829 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30832 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30833 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30835 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
30836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30838 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30839 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30841 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30842 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30844 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30847 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30850 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
30851 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
30853 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
30854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30856 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30859 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30860 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30862 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
30863 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
30865 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
30866 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
30868 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30869 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30871 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
30872 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30874 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
30875 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
30877 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
30878 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
30880 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
30881 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
30883 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30884 return (void *)((wxWindow
*) ((wxControl
*) x
));
30886 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
30887 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
30889 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
30890 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30892 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
30893 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
30895 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
30896 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
30898 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
30899 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
30901 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
30902 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
30904 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30905 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30907 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
30908 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
30910 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
30911 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
30913 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
30914 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30916 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
30917 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
30919 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
30920 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
30922 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
30923 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
30925 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
30926 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30928 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
30929 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30931 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
30932 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30934 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
30935 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30937 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
30938 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30940 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
30941 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
30943 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
30944 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
30946 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
30947 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
30949 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
30950 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
30952 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
30953 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
30955 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
30956 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
30958 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
30959 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
30961 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
30962 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30964 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
30965 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30967 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
30968 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
30970 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
30971 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30973 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
30974 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30976 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
30977 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30979 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
30980 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
30982 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
30983 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30985 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
30986 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30988 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
30989 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30991 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
30992 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30994 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
30995 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30997 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
30998 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31000 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31001 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31003 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31004 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31006 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31007 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31009 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31010 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31012 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31013 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31015 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31016 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31018 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31019 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31021 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31022 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31024 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31025 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31027 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31028 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31030 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31031 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31033 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31034 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}};
31035 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}};
31036 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31037 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31038 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}};
31039 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31040 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31041 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31042 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}};
31043 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31044 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
31045 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31046 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}};
31047 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31048 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31049 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
31050 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31051 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31052 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31053 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
31054 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31055 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31056 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31057 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31058 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31059 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31060 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31061 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31062 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31063 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31064 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}};
31065 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31066 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31067 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31068 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31069 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31070 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31071 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31072 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31073 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}};
31074 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31075 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
31076 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31077 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}};
31078 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31079 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}};
31080 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
31081 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31082 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31083 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31084 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31085 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31086 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31087 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31088 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31089 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31090 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31091 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31092 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31093 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31094 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31095 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
31096 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31097 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31098 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31099 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31100 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31101 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}};
31102 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31103 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31104 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}};
31105 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31106 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31107 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31108 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31109 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}};
31110 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31111 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
31112 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31113 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31114 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31115 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31116 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
31118 static swig_type_info
*swig_types_initial
[] = {
31119 _swigt__p_wxTextUrlEvent
,
31120 _swigt__p_wxBookCtrlEvent
,
31122 _swigt__p_wxCheckBox
,
31123 _swigt__p_wxPyTreeCtrl
,
31125 _swigt__p_wxGenericDirCtrl
,
31127 _swigt__p_wxPyTreeItemData
,
31128 _swigt__p_wxItemContainer
,
31129 _swigt__p_wxDirFilterListCtrl
,
31130 _swigt__p_wxPyListCtrl
,
31131 _swigt__p_wxStaticLine
,
31132 _swigt__p_wxControl
,
31133 _swigt__p_wxPyControl
,
31135 _swigt__p_wxToolBarBase
,
31137 _swigt__p_wxToggleButton
,
31138 _swigt__p_wxRadioButton
,
31139 _swigt__p_wxChoice
,
31140 _swigt__p_wxMemoryDC
,
31141 _swigt__p_wxListItemAttr
,
31146 _swigt__p_wxListView
,
31148 _swigt__p_wxTextCtrl
,
31149 _swigt__p_wxNotebook
,
31150 _swigt__p_wxNotifyEvent
,
31151 _swigt__p_wxArrayString
,
31152 _swigt__p_wxListbook
,
31153 _swigt__p_wxStaticBitmap
,
31154 _swigt__p_wxSlider
,
31155 _swigt__p_wxStaticBox
,
31156 _swigt__p_wxArrayInt
,
31157 _swigt__p_wxContextHelp
,
31159 _swigt__p_wxEvtHandler
,
31160 _swigt__p_wxListEvent
,
31161 _swigt__p_wxListBox
,
31162 _swigt__p_wxCheckListBox
,
31163 _swigt__p_wxBookCtrl
,
31164 _swigt__p_wxSpinButton
,
31165 _swigt__p_wxButton
,
31166 _swigt__p_wxBitmapButton
,
31168 _swigt__p_wxContextHelpButton
,
31169 _swigt__p_wxRadioBox
,
31170 _swigt__p_wxScrollBar
,
31172 _swigt__p_wxTreeItemId
,
31173 _swigt__p_wxComboBox
,
31174 _swigt__p_wxHelpEvent
,
31175 _swigt__p_wxListItem
,
31176 _swigt__p_wxNotebookSizer
,
31177 _swigt__p_wxSpinEvent
,
31178 _swigt__p_wxGenericDragImage
,
31179 _swigt__p_wxSpinCtrl
,
31180 _swigt__p_wxImageList
,
31181 _swigt__p_wxHelpProvider
,
31182 _swigt__p_wxTextAttr
,
31183 _swigt__p_wxSimpleHelpProvider
,
31185 _swigt__p_wxListbookEvent
,
31186 _swigt__p_wxNotebookEvent
,
31187 _swigt__p_wxObject
,
31188 _swigt__p_wxCursor
,
31189 _swigt__p_wxKeyEvent
,
31190 _swigt__p_wxWindow
,
31191 _swigt__p_wxString
,
31192 _swigt__p_wxBitmap
,
31193 _swigt__p_wxTreeEvent
,
31194 _swigt__p_wxMouseEvent
,
31195 _swigt__p_wxCommandEvent
,
31196 _swigt__p_wxStaticText
,
31197 _swigt__p_wxControlWithItems
,
31198 _swigt__p_wxToolBarToolBase
,
31199 _swigt__p_wxColour
,
31200 _swigt__p_wxToolBar
,
31201 _swigt__p_wxBookCtrlSizer
,
31202 _swigt__p_wxValidator
,
31207 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31209 static swig_const_info swig_const_table
[] = {
31219 SWIGEXPORT(void) SWIG_init(void) {
31220 static PyObject
*SWIG_globals
= 0;
31221 static int typeinit
= 0;
31224 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31225 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31226 d
= PyModule_GetDict(m
);
31229 for (i
= 0; swig_types_initial
[i
]; i
++) {
31230 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31234 SWIG_InstallConstants(d
,swig_const_table
);
31236 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31237 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31238 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31239 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31240 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31241 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31242 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31243 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31244 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31245 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31246 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31247 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31248 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31249 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31250 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31251 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31252 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31253 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31254 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31255 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31256 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31257 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31258 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31259 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31260 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31261 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31262 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31263 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31264 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31265 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31266 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31267 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31268 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31269 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31270 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31271 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31272 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31273 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31274 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31275 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31276 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31277 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31278 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31279 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31280 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31281 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31282 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31283 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31284 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31285 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31286 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31287 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31288 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31289 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31290 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31291 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31292 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31293 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31294 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31295 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31296 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31297 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31298 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31299 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31300 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31301 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31302 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31303 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31308 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31309 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31310 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31311 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31312 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31313 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31314 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31315 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31316 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31317 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31318 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31319 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31320 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31321 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31322 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31323 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31324 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31325 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31326 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31327 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31328 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31329 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31330 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31331 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31332 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31333 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31334 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31335 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31336 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31337 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31338 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31339 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31340 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31341 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31342 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31343 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31344 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31345 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31346 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31347 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31348 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31349 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31350 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31351 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31352 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31353 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31354 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31355 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31356 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31357 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31358 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31359 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31360 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31361 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31362 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31363 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31364 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31365 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31366 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31367 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31368 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31369 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31370 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31371 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31372 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31373 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31374 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31375 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31376 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31377 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31378 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31379 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31380 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31381 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31382 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31383 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31384 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31385 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31386 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31387 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31388 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31389 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31390 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31391 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31392 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31393 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31394 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31395 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31396 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31397 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31398 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31399 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31400 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31401 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31402 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31403 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31404 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31405 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31406 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31407 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31408 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31409 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31410 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31411 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31412 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31413 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31414 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31415 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31416 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31417 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31418 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31419 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31420 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31421 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31422 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31423 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31424 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31425 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31426 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31427 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31428 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31429 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31430 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31431 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31432 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31433 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31434 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31435 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31436 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31437 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31438 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31439 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31440 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31441 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31442 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31443 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31444 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31445 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31446 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31448 // Map renamed classes back to their common name for OOR
31449 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31451 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31452 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31453 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31454 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31455 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31456 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31457 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31458 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31459 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31460 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31461 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31462 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31463 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31464 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31465 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31466 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31467 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31468 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31469 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31470 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31471 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31472 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31473 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31474 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31475 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31476 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31477 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31478 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31479 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31480 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31481 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31482 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31483 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31484 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31485 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31486 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31487 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31488 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31489 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31490 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31491 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31493 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31494 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31495 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31496 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31497 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31498 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31499 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31500 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31501 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31502 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31503 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31504 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31505 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31506 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31508 // Map renamed classes back to their common name for OOR
31509 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31510 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31512 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31513 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31514 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31515 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31516 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31517 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31518 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31519 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31520 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31521 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31523 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");