1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
327 #define SWIG_name "_controls"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
371 static const wxString
wxPyEmptyString(wxEmptyString
);
372 static const wxString
wxPyControlNameStr(wxControlNameStr
);
374 const wxArrayString wxPyEmptyStringArray
;
376 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
379 SWIG_PyObj_AsInt(PyObject
*obj
)
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
387 SWIG_PyObj_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
395 SWIG_PyObj_AsBool(PyObject
*obj
)
397 return PyObject_IsTrue(obj
) ? true : false;
400 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
401 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
402 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
403 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
404 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
405 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
407 #include <wx/checklst.h>
410 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
411 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
413 wxPyClientData
* data
= new wxPyClientData(clientData
);
414 self
->Insert(item
, pos
, data
);
416 self
->Insert(item
, pos
);
418 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
420 self
->GetSelections(lst
);
421 PyObject
*tup
= PyTuple_New(lst
.GetCount());
422 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
423 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
427 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
429 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
435 } else if (target
== Py_None
) {
439 if (!PyTuple_Check(target
)) {
441 target
= PyTuple_New(1);
442 PyTuple_SetItem(target
, 0, o2
);
445 PyTuple_SetItem(o3
, 0, o
);
448 target
= PySequence_Concat(o2
, o3
);
455 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
456 self
->AppendText(text
);
458 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
459 return self
->GetValue().Mid(from
, to
- from
);
461 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
462 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
463 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
464 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
465 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
467 #include <wx/slider.h>
470 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
471 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
473 #if defined(__WXMAC__) || defined(__WXX11__)
474 // implement dummy classes and such for wxMac
476 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
478 class wxToggleButton
: public wxControl
481 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
482 const wxPoint
&, const wxSize
&, long,
483 const wxValidator
&, const wxString
&)
484 { wxPyRaiseNotImplemented(); }
487 { wxPyRaiseNotImplemented(); }
491 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
493 SWIGSTATIC(PyObject
* )
494 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
496 return (value
> (unsigned long)(LONG_MAX
)) ?
497 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
500 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
501 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
502 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
504 Py_INCREF(udata
->m_obj
);
511 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
512 self
->SetClientData(new wxPyUserData(clientData
));
514 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
515 wxPyUserData
* udata
= NULL
;
516 if (clientData
&& clientData
!= Py_None
)
517 udata
= new wxPyUserData(clientData
);
518 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
519 shortHelp
, longHelp
, udata
);
521 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
522 wxPyUserData
* udata
= NULL
;
523 if (clientData
&& clientData
!= Py_None
)
524 udata
= new wxPyUserData(clientData
);
525 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
526 shortHelp
, longHelp
, udata
);
528 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
529 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
531 Py_INCREF(udata
->m_obj
);
538 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
539 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
542 #include <wx/listctrl.h>
545 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
546 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
547 // Python aware sorting function for wxPyListCtrl
548 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
550 PyObject
* func
= (PyObject
*)funcPtr
;
551 wxPyBeginBlockThreads();
553 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
554 PyObject
* result
= PyEval_CallObject(func
, args
);
557 retval
= PyInt_AsLong(result
);
561 wxPyEndBlockThreads();
565 // C++ Version of a Python aware class
566 class wxPyListCtrl
: public wxListCtrl
{
567 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
569 wxPyListCtrl() : wxListCtrl() {}
570 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
574 const wxValidator
& validator
,
575 const wxString
& name
) :
576 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
578 bool Create(wxWindow
* parent
, wxWindowID id
,
582 const wxValidator
& validator
,
583 const wxString
& name
) {
584 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
587 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
588 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
589 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
594 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
596 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
597 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
598 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
600 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
602 item
.SetMask( wxLIST_MASK_STATE
|
610 if (self
->GetColumn(col
, item
))
611 return new wxListItem(item
);
615 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
616 wxListItem
* info
= new wxListItem
;
617 info
->m_itemId
= itemId
;
619 info
->m_mask
= 0xFFFF;
620 self
->GetItem(*info
);
623 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
625 self
->GetItemPosition(item
, pos
);
628 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
630 self
->GetItemRect(item
, rect
, code
);
633 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
634 if (!PyCallable_Check(func
))
636 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
638 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
642 return (wxWindow
*)self
->m_mainWin
;
646 #include <wx/treectrl.h>
647 #include "wx/wxPython/pytree.h"
649 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
650 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
651 if (!other
) return False
;
652 return *self
== *other
;
654 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
655 if (!other
) return True
;
656 return *self
!= *other
;
658 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
659 // C++ version of Python aware wxTreeCtrl
660 class wxPyTreeCtrl
: public wxTreeCtrl
{
661 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
663 wxPyTreeCtrl() : wxTreeCtrl() {}
664 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
668 const wxValidator
& validator
,
669 const wxString
& name
) :
670 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
672 bool Create(wxWindow
*parent
, wxWindowID id
,
676 const wxValidator
& validator
,
677 const wxString
& name
) {
678 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
682 int OnCompareItems(const wxTreeItemId
& item1
,
683 const wxTreeItemId
& item2
) {
686 wxPyBeginBlockThreads();
687 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
688 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
689 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
690 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
694 wxPyEndBlockThreads();
696 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
702 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
706 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
709 SWIGSTATIC(unsigned int)
710 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
712 return numeric_cast(unsigned int,
713 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
716 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
717 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
719 data
= new wxPyTreeItemData();
720 data
->SetId(item
); // set the id
721 self
->SetItemData(item
, data
);
725 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
726 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
728 data
= new wxPyTreeItemData();
729 data
->SetId(item
); // set the id
730 self
->SetItemData(item
, data
);
732 return data
->GetData();
734 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
735 data
->SetId(item
); // set the id
736 self
->SetItemData(item
, data
);
738 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
739 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
741 data
= new wxPyTreeItemData(obj
);
742 data
->SetId(item
); // set the id
743 self
->SetItemData(item
, data
);
747 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
748 wxPyBeginBlockThreads();
749 PyObject
* rval
= PyList_New(0);
750 wxArrayTreeItemIds array
;
752 num
= self
->GetSelections(array
);
753 for (x
=0; x
< num
; x
++) {
754 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
755 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
756 PyList_Append(rval
, item
);
758 wxPyEndBlockThreads();
761 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
763 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
764 wxPyBeginBlockThreads();
765 PyObject
* tup
= PyTuple_New(2);
766 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
767 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
768 wxPyEndBlockThreads();
771 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
772 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
773 wxPyBeginBlockThreads();
774 PyObject
* tup
= PyTuple_New(2);
775 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
776 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
777 wxPyEndBlockThreads();
780 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
782 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
783 wxPyBeginBlockThreads();
784 wxRect
* r
= new wxRect(rect
);
785 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
786 wxPyEndBlockThreads();
792 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
793 // C++ version of Python aware wxControl
794 class wxPyControl
: public wxControl
796 DECLARE_DYNAMIC_CLASS(wxPyControl
)
798 wxPyControl() : wxControl() {}
799 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
800 const wxPoint
& pos
= wxDefaultPosition
,
801 const wxSize
& size
= wxDefaultSize
,
803 const wxValidator
& validator
=wxDefaultValidator
,
804 const wxString
& name
= wxPyControlNameStr
)
805 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
808 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
809 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
810 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
811 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
813 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
814 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
815 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
817 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
818 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
820 DEC_PYCALLBACK__(InitDialog
);
821 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
822 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
823 DEC_PYCALLBACK_BOOL_(Validate
);
825 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
826 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
827 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
829 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
830 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
835 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
837 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
838 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
839 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
840 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
842 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
843 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
844 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
846 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
847 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
849 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
850 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
851 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
852 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
854 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
855 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
856 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
858 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
859 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
864 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
866 #include <wx/generic/dragimgg.h>
871 static int _wrap_ButtonNameStr_set(PyObject
*) {
872 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
877 static PyObject
*_wrap_ButtonNameStr_get() {
882 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
884 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
891 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 wxWindow
*arg1
= (wxWindow
*) 0 ;
896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
900 long arg6
= (long) 0 ;
901 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
902 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
903 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
910 PyObject
* obj0
= 0 ;
911 PyObject
* obj1
= 0 ;
912 PyObject
* obj2
= 0 ;
913 PyObject
* obj3
= 0 ;
914 PyObject
* obj4
= 0 ;
915 PyObject
* obj5
= 0 ;
916 PyObject
* obj6
= 0 ;
917 PyObject
* obj7
= 0 ;
919 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
925 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
926 if (PyErr_Occurred()) SWIG_fail
;
929 arg3
= wxString_in_helper(obj2
);
930 if (arg3
== NULL
) SWIG_fail
;
936 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
942 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
947 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
948 if (PyErr_Occurred()) SWIG_fail
;
952 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
954 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
959 arg8
= wxString_in_helper(obj7
);
960 if (arg8
== NULL
) SWIG_fail
;
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) SWIG_fail
;
972 resultobj
= wxPyMake_wxObject(result
);
996 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1006 result
= (wxButton
*)new wxButton();
1008 wxPyEndAllowThreads(__tstate
);
1009 if (PyErr_Occurred()) SWIG_fail
;
1012 resultobj
= wxPyMake_wxObject(result
);
1020 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
*resultobj
;
1022 wxButton
*arg1
= (wxButton
*) 0 ;
1023 wxWindow
*arg2
= (wxWindow
*) 0 ;
1025 wxString
*arg4
= 0 ;
1026 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1027 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1028 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1029 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1030 long arg7
= (long) 0 ;
1031 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1032 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1033 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1034 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1036 bool temp4
= False
;
1039 bool temp9
= False
;
1040 PyObject
* obj0
= 0 ;
1041 PyObject
* obj1
= 0 ;
1042 PyObject
* obj2
= 0 ;
1043 PyObject
* obj3
= 0 ;
1044 PyObject
* obj4
= 0 ;
1045 PyObject
* obj5
= 0 ;
1046 PyObject
* obj6
= 0 ;
1047 PyObject
* obj7
= 0 ;
1048 PyObject
* obj8
= 0 ;
1050 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1057 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1061 arg4
= wxString_in_helper(obj3
);
1062 if (arg4
== NULL
) SWIG_fail
;
1068 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1074 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1079 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1080 if (PyErr_Occurred()) SWIG_fail
;
1084 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1086 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1091 arg9
= wxString_in_helper(obj8
);
1092 if (arg9
== NULL
) SWIG_fail
;
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) SWIG_fail
;
1103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1126 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
*resultobj
;
1128 wxButton
*arg1
= (wxButton
*) 0 ;
1129 PyObject
* obj0
= 0 ;
1131 (char *) "self", NULL
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1138 (arg1
)->SetDefault();
1140 wxPyEndAllowThreads(__tstate
);
1141 if (PyErr_Occurred()) SWIG_fail
;
1143 Py_INCREF(Py_None
); resultobj
= Py_None
;
1150 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
*resultobj
;
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 result
= wxButton::GetDefaultSize();
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1167 resultptr
= new wxSize((wxSize
&) result
);
1168 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1176 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1179 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1181 return Py_BuildValue((char *)"");
1183 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
*resultobj
;
1185 wxWindow
*arg1
= (wxWindow
*) 0 ;
1187 wxBitmap
*arg3
= 0 ;
1188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1192 long arg6
= (long) wxBU_AUTODRAW
;
1193 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1194 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1195 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1196 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1197 wxBitmapButton
*result
;
1200 bool temp8
= False
;
1201 PyObject
* obj0
= 0 ;
1202 PyObject
* obj1
= 0 ;
1203 PyObject
* obj2
= 0 ;
1204 PyObject
* obj3
= 0 ;
1205 PyObject
* obj4
= 0 ;
1206 PyObject
* obj5
= 0 ;
1207 PyObject
* obj6
= 0 ;
1208 PyObject
* obj7
= 0 ;
1210 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1216 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1217 if (PyErr_Occurred()) SWIG_fail
;
1219 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1226 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1232 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1237 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1242 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1249 arg8
= wxString_in_helper(obj7
);
1250 if (arg8
== NULL
) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= wxPyMake_wxObject(result
);
1278 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxBitmapButton
*result
;
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 result
= (wxBitmapButton
*)new wxBitmapButton();
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1294 resultobj
= wxPyMake_wxObject(result
);
1302 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
*resultobj
;
1304 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1305 wxWindow
*arg2
= (wxWindow
*) 0 ;
1307 wxBitmap
*arg4
= 0 ;
1308 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1309 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1310 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1311 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1312 long arg7
= (long) wxBU_AUTODRAW
;
1313 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1314 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1315 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1316 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1320 bool temp9
= False
;
1321 PyObject
* obj0
= 0 ;
1322 PyObject
* obj1
= 0 ;
1323 PyObject
* obj2
= 0 ;
1324 PyObject
* obj3
= 0 ;
1325 PyObject
* obj4
= 0 ;
1326 PyObject
* obj5
= 0 ;
1327 PyObject
* obj6
= 0 ;
1328 PyObject
* obj7
= 0 ;
1329 PyObject
* obj8
= 0 ;
1331 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1338 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1339 if (PyErr_Occurred()) SWIG_fail
;
1341 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1343 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1348 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1354 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1359 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1360 if (PyErr_Occurred()) SWIG_fail
;
1364 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1371 arg9
= wxString_in_helper(obj8
);
1372 if (arg9
== NULL
) SWIG_fail
;
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) SWIG_fail
;
1383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1398 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
*resultobj
;
1400 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1402 PyObject
* obj0
= 0 ;
1404 (char *) "self", NULL
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 result
= (arg1
)->GetBitmapLabel();
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1417 wxBitmap
* resultptr
;
1418 resultptr
= new wxBitmap((wxBitmap
&) result
);
1419 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1427 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1431 PyObject
* obj0
= 0 ;
1433 (char *) "self", NULL
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 result
= (arg1
)->GetBitmapDisabled();
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1446 wxBitmap
* resultptr
;
1447 resultptr
= new wxBitmap((wxBitmap
&) result
);
1448 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1456 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
*resultobj
;
1458 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1460 PyObject
* obj0
= 0 ;
1462 (char *) "self", NULL
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 result
= (arg1
)->GetBitmapFocus();
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) SWIG_fail
;
1475 wxBitmap
* resultptr
;
1476 resultptr
= new wxBitmap((wxBitmap
&) result
);
1477 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1485 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1489 PyObject
* obj0
= 0 ;
1491 (char *) "self", NULL
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 result
= (arg1
)->GetBitmapSelected();
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1504 wxBitmap
* resultptr
;
1505 resultptr
= new wxBitmap((wxBitmap
&) result
);
1506 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1514 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
*resultobj
;
1516 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1517 wxBitmap
*arg2
= 0 ;
1518 PyObject
* obj0
= 0 ;
1519 PyObject
* obj1
= 0 ;
1521 (char *) "self",(char *) "bitmap", NULL
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1526 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1528 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1532 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1534 wxPyEndAllowThreads(__tstate
);
1535 if (PyErr_Occurred()) SWIG_fail
;
1537 Py_INCREF(Py_None
); resultobj
= Py_None
;
1544 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
*resultobj
;
1546 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1547 wxBitmap
*arg2
= 0 ;
1548 PyObject
* obj0
= 0 ;
1549 PyObject
* obj1
= 0 ;
1551 (char *) "self",(char *) "bitmap", NULL
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1558 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) SWIG_fail
;
1567 Py_INCREF(Py_None
); resultobj
= Py_None
;
1574 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
*resultobj
;
1576 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1577 wxBitmap
*arg2
= 0 ;
1578 PyObject
* obj0
= 0 ;
1579 PyObject
* obj1
= 0 ;
1581 (char *) "self",(char *) "bitmap", NULL
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1586 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1588 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1597 Py_INCREF(Py_None
); resultobj
= Py_None
;
1604 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
*resultobj
;
1606 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1607 wxBitmap
*arg2
= 0 ;
1608 PyObject
* obj0
= 0 ;
1609 PyObject
* obj1
= 0 ;
1611 (char *) "self",(char *) "bitmap", NULL
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1627 Py_INCREF(Py_None
); resultobj
= Py_None
;
1634 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1639 PyObject
* obj0
= 0 ;
1640 PyObject
* obj1
= 0 ;
1641 PyObject
* obj2
= 0 ;
1643 (char *) "self",(char *) "x",(char *) "y", NULL
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1649 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1653 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 (arg1
)->SetMargins(arg2
,arg3
);
1660 wxPyEndAllowThreads(__tstate
);
1661 if (PyErr_Occurred()) SWIG_fail
;
1663 Py_INCREF(Py_None
); resultobj
= Py_None
;
1670 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
*resultobj
;
1672 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1674 PyObject
* obj0
= 0 ;
1676 (char *) "self", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1688 resultobj
= SWIG_PyObj_FromInt((int)result
);
1695 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
*resultobj
;
1697 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1699 PyObject
* obj0
= 0 ;
1701 (char *) "self", NULL
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1713 resultobj
= SWIG_PyObj_FromInt((int)result
);
1720 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1723 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1725 return Py_BuildValue((char *)"");
1727 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1728 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1733 static PyObject
*_wrap_CheckBoxNameStr_get() {
1738 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1740 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1747 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
*resultobj
;
1749 wxWindow
*arg1
= (wxWindow
*) 0 ;
1751 wxString
*arg3
= 0 ;
1752 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1753 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1754 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1755 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1756 long arg6
= (long) 0 ;
1757 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1758 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1759 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1760 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1762 bool temp3
= False
;
1765 bool temp8
= False
;
1766 PyObject
* obj0
= 0 ;
1767 PyObject
* obj1
= 0 ;
1768 PyObject
* obj2
= 0 ;
1769 PyObject
* obj3
= 0 ;
1770 PyObject
* obj4
= 0 ;
1771 PyObject
* obj5
= 0 ;
1772 PyObject
* obj6
= 0 ;
1773 PyObject
* obj7
= 0 ;
1775 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1781 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1785 arg3
= wxString_in_helper(obj2
);
1786 if (arg3
== NULL
) SWIG_fail
;
1792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1803 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1808 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1815 arg8
= wxString_in_helper(obj7
);
1816 if (arg8
== NULL
) SWIG_fail
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1850 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 result
= (wxCheckBox
*)new wxCheckBox();
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1872 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1875 wxWindow
*arg2
= (wxWindow
*) 0 ;
1877 wxString
*arg4
= 0 ;
1878 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1879 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1880 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1881 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1882 long arg7
= (long) 0 ;
1883 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1884 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1885 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1886 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1888 bool temp4
= False
;
1891 bool temp9
= False
;
1892 PyObject
* obj0
= 0 ;
1893 PyObject
* obj1
= 0 ;
1894 PyObject
* obj2
= 0 ;
1895 PyObject
* obj3
= 0 ;
1896 PyObject
* obj4
= 0 ;
1897 PyObject
* obj5
= 0 ;
1898 PyObject
* obj6
= 0 ;
1899 PyObject
* obj7
= 0 ;
1900 PyObject
* obj8
= 0 ;
1902 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1909 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1913 arg4
= wxString_in_helper(obj3
);
1914 if (arg4
== NULL
) SWIG_fail
;
1920 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1926 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1931 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1936 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1938 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1943 arg9
= wxString_in_helper(obj8
);
1944 if (arg9
== NULL
) SWIG_fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1978 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1982 PyObject
* obj0
= 0 ;
1984 (char *) "self", NULL
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (bool)(arg1
)->GetValue();
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2003 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2007 PyObject
* obj0
= 0 ;
2009 (char *) "self", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 result
= (bool)(arg1
)->IsChecked();
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2028 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2030 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2032 PyObject
* obj0
= 0 ;
2033 PyObject
* obj1
= 0 ;
2035 (char *) "self",(char *) "state", NULL
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2041 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 (arg1
)->SetValue(arg2
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 Py_INCREF(Py_None
); resultobj
= Py_None
;
2058 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
*resultobj
;
2060 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2062 PyObject
* obj0
= 0 ;
2064 (char *) "self", NULL
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2076 resultobj
= SWIG_PyObj_FromInt((int)result
);
2083 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
*resultobj
;
2085 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2087 PyObject
* obj0
= 0 ;
2088 PyObject
* obj1
= 0 ;
2090 (char *) "self",(char *) "state", NULL
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2096 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2106 Py_INCREF(Py_None
); resultobj
= Py_None
;
2113 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
*resultobj
;
2115 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2117 PyObject
* obj0
= 0 ;
2119 (char *) "self", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2138 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2142 PyObject
* obj0
= 0 ;
2144 (char *) "self", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2153 wxPyEndAllowThreads(__tstate
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2163 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2166 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2168 return Py_BuildValue((char *)"");
2170 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2171 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2176 static PyObject
*_wrap_ChoiceNameStr_get() {
2181 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2183 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2190 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxWindow
*arg1
= (wxWindow
*) 0 ;
2194 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2195 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2196 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2197 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2198 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2199 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2200 long arg6
= (long) 0 ;
2201 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2202 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2203 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2208 bool temp8
= False
;
2209 PyObject
* obj0
= 0 ;
2210 PyObject
* obj1
= 0 ;
2211 PyObject
* obj2
= 0 ;
2212 PyObject
* obj3
= 0 ;
2213 PyObject
* obj4
= 0 ;
2214 PyObject
* obj5
= 0 ;
2215 PyObject
* obj6
= 0 ;
2216 PyObject
* obj7
= 0 ;
2218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2224 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2230 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2236 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2241 if (! PySequence_Check(obj4
)) {
2242 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2245 arg5
= new wxArrayString
;
2246 int i
, len
=PySequence_Length(obj4
);
2247 for (i
=0; i
<len
; i
++) {
2248 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2250 PyObject
* str
= PyObject_Unicode(item
);
2252 PyObject
* str
= PyObject_Str(item
);
2254 arg5
->Add(Py2wxString(str
));
2262 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2263 if (PyErr_Occurred()) SWIG_fail
;
2267 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2269 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2274 arg8
= wxString_in_helper(obj7
);
2275 if (arg8
== NULL
) SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2288 if (arg5
) delete arg5
;
2297 if (arg5
) delete arg5
;
2307 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 result
= (wxChoice
*)new wxChoice();
2319 wxPyEndAllowThreads(__tstate
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2322 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2329 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
*resultobj
;
2331 wxChoice
*arg1
= (wxChoice
*) 0 ;
2332 wxWindow
*arg2
= (wxWindow
*) 0 ;
2334 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2335 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2336 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2337 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2338 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2339 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2340 long arg7
= (long) 0 ;
2341 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2342 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2343 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2344 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2348 bool temp9
= False
;
2349 PyObject
* obj0
= 0 ;
2350 PyObject
* obj1
= 0 ;
2351 PyObject
* obj2
= 0 ;
2352 PyObject
* obj3
= 0 ;
2353 PyObject
* obj4
= 0 ;
2354 PyObject
* obj5
= 0 ;
2355 PyObject
* obj6
= 0 ;
2356 PyObject
* obj7
= 0 ;
2357 PyObject
* obj8
= 0 ;
2359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2366 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2383 if (! PySequence_Check(obj5
)) {
2384 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2387 arg6
= new wxArrayString
;
2388 int i
, len
=PySequence_Length(obj5
);
2389 for (i
=0; i
<len
; i
++) {
2390 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2392 PyObject
* str
= PyObject_Unicode(item
);
2394 PyObject
* str
= PyObject_Str(item
);
2396 arg6
->Add(Py2wxString(str
));
2404 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2409 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2411 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2416 arg9
= wxString_in_helper(obj8
);
2417 if (arg9
== NULL
) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2430 if (arg6
) delete arg6
;
2439 if (arg6
) delete arg6
;
2449 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxChoice
*arg1
= (wxChoice
*) 0 ;
2453 PyObject
* obj0
= 0 ;
2455 (char *) "self", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 result
= (int)(arg1
)->GetColumns();
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2467 resultobj
= SWIG_PyObj_FromInt((int)result
);
2474 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 wxChoice
*arg1
= (wxChoice
*) 0 ;
2477 int arg2
= (int) (int)1 ;
2478 PyObject
* obj0
= 0 ;
2479 PyObject
* obj1
= 0 ;
2481 (char *) "self",(char *) "n", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Choice_SetColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
2485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2488 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 (arg1
)->SetColumns(arg2
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 Py_INCREF(Py_None
); resultobj
= Py_None
;
2506 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2508 wxChoice
*arg1
= (wxChoice
*) 0 ;
2510 PyObject
* obj0
= 0 ;
2511 PyObject
* obj1
= 0 ;
2513 (char *) "self",(char *) "n", NULL
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2519 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 (arg1
)->SetSelection(arg2
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxChoice
*arg1
= (wxChoice
*) 0 ;
2539 wxString
*arg2
= 0 ;
2540 bool temp2
= False
;
2541 PyObject
* obj0
= 0 ;
2542 PyObject
* obj1
= 0 ;
2544 (char *) "self",(char *) "string", NULL
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2550 arg2
= wxString_in_helper(obj1
);
2551 if (arg2
== NULL
) SWIG_fail
;
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2561 Py_INCREF(Py_None
); resultobj
= Py_None
;
2576 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
*resultobj
;
2578 wxChoice
*arg1
= (wxChoice
*) 0 ;
2580 wxString
*arg3
= 0 ;
2581 bool temp3
= False
;
2582 PyObject
* obj0
= 0 ;
2583 PyObject
* obj1
= 0 ;
2584 PyObject
* obj2
= 0 ;
2586 (char *) "self",(char *) "n",(char *) "s", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2592 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2596 arg3
= wxString_in_helper(obj2
);
2597 if (arg3
== NULL
) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 Py_INCREF(Py_None
); resultobj
= Py_None
;
2622 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2625 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2627 return Py_BuildValue((char *)"");
2629 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2630 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2635 static PyObject
*_wrap_ComboBoxNameStr_get() {
2640 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2642 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2649 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxWindow
*arg1
= (wxWindow
*) 0 ;
2653 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2654 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2655 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2656 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2657 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2658 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2659 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2660 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2661 long arg7
= (long) 0 ;
2662 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2663 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2664 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2665 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2667 bool temp3
= False
;
2670 bool temp9
= False
;
2671 PyObject
* obj0
= 0 ;
2672 PyObject
* obj1
= 0 ;
2673 PyObject
* obj2
= 0 ;
2674 PyObject
* obj3
= 0 ;
2675 PyObject
* obj4
= 0 ;
2676 PyObject
* obj5
= 0 ;
2677 PyObject
* obj6
= 0 ;
2678 PyObject
* obj7
= 0 ;
2679 PyObject
* obj8
= 0 ;
2681 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2687 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2692 arg3
= wxString_in_helper(obj2
);
2693 if (arg3
== NULL
) SWIG_fail
;
2700 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2706 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2711 if (! PySequence_Check(obj5
)) {
2712 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2715 arg6
= new wxArrayString
;
2716 int i
, len
=PySequence_Length(obj5
);
2717 for (i
=0; i
<len
; i
++) {
2718 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2720 PyObject
* str
= PyObject_Unicode(item
);
2722 PyObject
* str
= PyObject_Str(item
);
2724 arg6
->Add(Py2wxString(str
));
2732 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2737 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2739 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2744 arg9
= wxString_in_helper(obj8
);
2745 if (arg9
== NULL
) SWIG_fail
;
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 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
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2762 if (arg6
) delete arg6
;
2775 if (arg6
) delete arg6
;
2785 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
*resultobj
;
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2795 result
= (wxComboBox
*)new wxComboBox();
2797 wxPyEndAllowThreads(__tstate
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2800 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2807 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2810 wxWindow
*arg2
= (wxWindow
*) 0 ;
2812 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2813 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2814 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2815 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2816 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2817 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2818 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2819 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2820 long arg8
= (long) 0 ;
2821 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2822 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2823 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2824 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2826 bool temp4
= False
;
2829 bool temp10
= False
;
2830 PyObject
* obj0
= 0 ;
2831 PyObject
* obj1
= 0 ;
2832 PyObject
* obj2
= 0 ;
2833 PyObject
* obj3
= 0 ;
2834 PyObject
* obj4
= 0 ;
2835 PyObject
* obj5
= 0 ;
2836 PyObject
* obj6
= 0 ;
2837 PyObject
* obj7
= 0 ;
2838 PyObject
* obj8
= 0 ;
2839 PyObject
* obj9
= 0 ;
2841 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2848 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2853 arg4
= wxString_in_helper(obj3
);
2854 if (arg4
== NULL
) SWIG_fail
;
2861 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2867 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2872 if (! PySequence_Check(obj6
)) {
2873 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2876 arg7
= new wxArrayString
;
2877 int i
, len
=PySequence_Length(obj6
);
2878 for (i
=0; i
<len
; i
++) {
2879 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2881 PyObject
* str
= PyObject_Unicode(item
);
2883 PyObject
* str
= PyObject_Str(item
);
2885 arg7
->Add(Py2wxString(str
));
2893 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2898 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2900 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2905 arg10
= wxString_in_helper(obj9
);
2906 if (arg10
== NULL
) SWIG_fail
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 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
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2923 if (arg7
) delete arg7
;
2936 if (arg7
) delete arg7
;
2946 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
*resultobj
;
2948 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2950 PyObject
* obj0
= 0 ;
2952 (char *) "self", NULL
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 result
= ((wxComboBox
const *)arg1
)->GetValue();
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2977 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
;
2979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2980 wxString
*arg2
= 0 ;
2981 bool temp2
= False
;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "value", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2991 arg2
= wxString_in_helper(obj1
);
2992 if (arg2
== NULL
) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 (arg1
)->SetValue((wxString
const &)*arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 Py_INCREF(Py_None
); resultobj
= Py_None
;
3017 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3020 PyObject
* obj0
= 0 ;
3022 (char *) "self", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3034 Py_INCREF(Py_None
); resultobj
= Py_None
;
3041 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
*resultobj
;
3043 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3046 (char *) "self", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3058 Py_INCREF(Py_None
); resultobj
= Py_None
;
3065 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3068 PyObject
* obj0
= 0 ;
3070 (char *) "self", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3082 Py_INCREF(Py_None
); resultobj
= Py_None
;
3089 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3093 PyObject
* obj0
= 0 ;
3094 PyObject
* obj1
= 0 ;
3096 (char *) "self",(char *) "pos", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3102 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 (arg1
)->SetInsertionPoint(arg2
);
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3112 Py_INCREF(Py_None
); resultobj
= Py_None
;
3119 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
*resultobj
;
3121 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3123 PyObject
* obj0
= 0 ;
3125 (char *) "self", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= SWIG_PyObj_FromLong((long)result
);
3144 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3162 resultobj
= SWIG_PyObj_FromLong((long)result
);
3169 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3174 wxString
*arg4
= 0 ;
3175 bool temp4
= False
;
3176 PyObject
* obj0
= 0 ;
3177 PyObject
* obj1
= 0 ;
3178 PyObject
* obj2
= 0 ;
3179 PyObject
* obj3
= 0 ;
3181 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3187 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3195 arg4
= wxString_in_helper(obj3
);
3196 if (arg4
== NULL
) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 Py_INCREF(Py_None
); resultobj
= Py_None
;
3221 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3228 (char *) "self",(char *) "n", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 (arg1
)->SetSelection(arg2
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 Py_INCREF(Py_None
); resultobj
= Py_None
;
3251 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3256 PyObject
* obj0
= 0 ;
3257 PyObject
* obj1
= 0 ;
3258 PyObject
* obj2
= 0 ;
3260 (char *) "self",(char *) "from",(char *) "to", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3266 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3270 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 (arg1
)->SetSelection(arg2
,arg3
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 Py_INCREF(Py_None
); resultobj
= Py_None
;
3287 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3291 PyObject
* obj0
= 0 ;
3292 PyObject
* obj1
= 0 ;
3294 (char *) "self",(char *) "editable", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3300 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 (arg1
)->SetEditable(arg2
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3320 PyObject
* obj0
= 0 ;
3322 (char *) "self", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 (arg1
)->SetInsertionPointEnd();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 Py_INCREF(Py_None
); resultobj
= Py_None
;
3341 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3346 PyObject
* obj0
= 0 ;
3347 PyObject
* obj1
= 0 ;
3348 PyObject
* obj2
= 0 ;
3350 (char *) "self",(char *) "from",(char *) "to", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3356 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 (arg1
)->Remove(arg2
,arg3
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3380 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3382 return Py_BuildValue((char *)"");
3384 static int _wrap_GaugeNameStr_set(PyObject
*) {
3385 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3390 static PyObject
*_wrap_GaugeNameStr_get() {
3395 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3397 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3404 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
;
3406 wxWindow
*arg1
= (wxWindow
*) 0 ;
3409 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3410 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3411 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3412 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3413 long arg6
= (long) wxGA_HORIZONTAL
;
3414 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3415 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3416 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3417 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3421 bool temp8
= False
;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3424 PyObject
* obj2
= 0 ;
3425 PyObject
* obj3
= 0 ;
3426 PyObject
* obj4
= 0 ;
3427 PyObject
* obj5
= 0 ;
3428 PyObject
* obj6
= 0 ;
3429 PyObject
* obj7
= 0 ;
3431 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3437 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3441 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3447 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3453 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3458 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3463 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3465 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3470 arg8
= wxString_in_helper(obj7
);
3471 if (arg8
== NULL
) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3497 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 result
= (wxGauge
*)new wxGauge();
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3519 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxGauge
*arg1
= (wxGauge
*) 0 ;
3522 wxWindow
*arg2
= (wxWindow
*) 0 ;
3525 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3526 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3527 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3528 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3529 long arg7
= (long) wxGA_HORIZONTAL
;
3530 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3531 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3532 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3533 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3537 bool temp9
= False
;
3538 PyObject
* obj0
= 0 ;
3539 PyObject
* obj1
= 0 ;
3540 PyObject
* obj2
= 0 ;
3541 PyObject
* obj3
= 0 ;
3542 PyObject
* obj4
= 0 ;
3543 PyObject
* obj5
= 0 ;
3544 PyObject
* obj6
= 0 ;
3545 PyObject
* obj7
= 0 ;
3546 PyObject
* obj8
= 0 ;
3548 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3555 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3559 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3565 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3571 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3576 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3581 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3588 arg9
= wxString_in_helper(obj8
);
3589 if (arg9
== NULL
) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3615 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
*resultobj
;
3617 wxGauge
*arg1
= (wxGauge
*) 0 ;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 (char *) "self",(char *) "range", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 (arg1
)->SetRange(arg2
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3638 Py_INCREF(Py_None
); resultobj
= Py_None
;
3645 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxGauge
*arg1
= (wxGauge
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "self", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 resultobj
= SWIG_PyObj_FromInt((int)result
);
3670 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxGauge
*arg1
= (wxGauge
*) 0 ;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3677 (char *) "self",(char *) "pos", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3683 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 (arg1
)->SetValue(arg2
);
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 Py_INCREF(Py_None
); resultobj
= Py_None
;
3700 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3702 wxGauge
*arg1
= (wxGauge
*) 0 ;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "self", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 resultobj
= SWIG_PyObj_FromInt((int)result
);
3725 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 wxGauge
*arg1
= (wxGauge
*) 0 ;
3729 PyObject
* obj0
= 0 ;
3731 (char *) "self", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3750 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxGauge
*arg1
= (wxGauge
*) 0 ;
3754 PyObject
* obj0
= 0 ;
3755 PyObject
* obj1
= 0 ;
3757 (char *) "self",(char *) "w", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3763 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 (arg1
)->SetShadowWidth(arg2
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 Py_INCREF(Py_None
); resultobj
= Py_None
;
3780 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxGauge
*arg1
= (wxGauge
*) 0 ;
3784 PyObject
* obj0
= 0 ;
3786 (char *) "self", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= SWIG_PyObj_FromInt((int)result
);
3805 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxGauge
*arg1
= (wxGauge
*) 0 ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3812 (char *) "self",(char *) "w", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3818 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 (arg1
)->SetBezelFace(arg2
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 Py_INCREF(Py_None
); resultobj
= Py_None
;
3835 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3837 wxGauge
*arg1
= (wxGauge
*) 0 ;
3839 PyObject
* obj0
= 0 ;
3841 (char *) "self", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_PyObj_FromInt((int)result
);
3860 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3863 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3865 return Py_BuildValue((char *)"");
3867 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3868 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3873 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3878 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3880 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3887 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3888 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3893 static PyObject
*_wrap_StaticBoxNameStr_get() {
3898 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3900 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3907 static int _wrap_StaticTextNameStr_set(PyObject
*) {
3908 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3913 static PyObject
*_wrap_StaticTextNameStr_get() {
3918 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3920 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3927 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxWindow
*arg1
= (wxWindow
*) 0 ;
3931 wxString
*arg3
= 0 ;
3932 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3933 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3934 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3935 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3936 long arg6
= (long) 0 ;
3937 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3938 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3939 wxStaticBox
*result
;
3940 bool temp3
= False
;
3943 bool temp7
= False
;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3949 PyObject
* obj5
= 0 ;
3950 PyObject
* obj6
= 0 ;
3952 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3958 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 arg3
= wxString_in_helper(obj2
);
3963 if (arg3
== NULL
) SWIG_fail
;
3969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3980 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3986 arg7
= wxString_in_helper(obj6
);
3987 if (arg7
== NULL
) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= wxPyMake_wxObject(result
);
4023 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxStaticBox
*result
;
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (wxStaticBox
*)new wxStaticBox();
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= wxPyMake_wxObject(result
);
4047 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4050 wxWindow
*arg2
= (wxWindow
*) 0 ;
4052 wxString
*arg4
= 0 ;
4053 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4054 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4055 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4056 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4057 long arg7
= (long) 0 ;
4058 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4059 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4061 bool temp4
= False
;
4064 bool temp8
= False
;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4067 PyObject
* obj2
= 0 ;
4068 PyObject
* obj3
= 0 ;
4069 PyObject
* obj4
= 0 ;
4070 PyObject
* obj5
= 0 ;
4071 PyObject
* obj6
= 0 ;
4072 PyObject
* obj7
= 0 ;
4074 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4081 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 arg4
= wxString_in_helper(obj3
);
4086 if (arg4
== NULL
) SWIG_fail
;
4092 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4098 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4103 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4109 arg8
= wxString_in_helper(obj7
);
4110 if (arg8
== NULL
) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4144 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4147 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4149 return Py_BuildValue((char *)"");
4151 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxWindow
*arg1
= (wxWindow
*) 0 ;
4155 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4156 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4157 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4158 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4159 long arg5
= (long) wxLI_HORIZONTAL
;
4160 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4161 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4162 wxStaticLine
*result
;
4165 bool temp6
= False
;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4168 PyObject
* obj2
= 0 ;
4169 PyObject
* obj3
= 0 ;
4170 PyObject
* obj4
= 0 ;
4171 PyObject
* obj5
= 0 ;
4173 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4179 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4191 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4196 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4202 arg6
= wxString_in_helper(obj5
);
4203 if (arg6
== NULL
) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4229 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
;
4231 wxStaticLine
*result
;
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 result
= (wxStaticLine
*)new wxStaticLine();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4251 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4254 wxWindow
*arg2
= (wxWindow
*) 0 ;
4256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4260 long arg6
= (long) wxLI_HORIZONTAL
;
4261 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4266 bool temp7
= False
;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 PyObject
* obj2
= 0 ;
4270 PyObject
* obj3
= 0 ;
4271 PyObject
* obj4
= 0 ;
4272 PyObject
* obj5
= 0 ;
4273 PyObject
* obj6
= 0 ;
4275 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4282 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4299 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4305 arg7
= wxString_in_helper(obj6
);
4306 if (arg7
== NULL
) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4332 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4338 (char *) "self", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4357 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (int)wxStaticLine::GetDefaultSize();
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= SWIG_PyObj_FromInt((int)result
);
4379 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4382 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4384 return Py_BuildValue((char *)"");
4386 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxWindow
*arg1
= (wxWindow
*) 0 ;
4390 wxString
*arg3
= 0 ;
4391 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4392 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4393 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4394 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4395 long arg6
= (long) 0 ;
4396 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4397 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4398 wxStaticText
*result
;
4399 bool temp3
= False
;
4402 bool temp7
= False
;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 PyObject
* obj2
= 0 ;
4406 PyObject
* obj3
= 0 ;
4407 PyObject
* obj4
= 0 ;
4408 PyObject
* obj5
= 0 ;
4409 PyObject
* obj6
= 0 ;
4411 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4417 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4421 arg3
= wxString_in_helper(obj2
);
4422 if (arg3
== NULL
) SWIG_fail
;
4428 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4434 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4439 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4445 arg7
= wxString_in_helper(obj6
);
4446 if (arg7
== NULL
) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4480 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxStaticText
*result
;
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (wxStaticText
*)new wxStaticText();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4502 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4505 wxWindow
*arg2
= (wxWindow
*) 0 ;
4507 wxString
*arg4
= 0 ;
4508 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4509 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4510 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4511 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4512 long arg7
= (long) 0 ;
4513 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4516 bool temp4
= False
;
4519 bool temp8
= False
;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4522 PyObject
* obj2
= 0 ;
4523 PyObject
* obj3
= 0 ;
4524 PyObject
* obj4
= 0 ;
4525 PyObject
* obj5
= 0 ;
4526 PyObject
* obj6
= 0 ;
4527 PyObject
* obj7
= 0 ;
4529 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4536 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4540 arg4
= wxString_in_helper(obj3
);
4541 if (arg4
== NULL
) SWIG_fail
;
4547 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4553 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4558 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4564 arg8
= wxString_in_helper(obj7
);
4565 if (arg8
== NULL
) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4599 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4602 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4604 return Py_BuildValue((char *)"");
4606 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxWindow
*arg1
= (wxWindow
*) 0 ;
4610 wxBitmap
*arg3
= 0 ;
4611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4615 long arg6
= (long) 0 ;
4616 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4617 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4618 wxStaticBitmap
*result
;
4621 bool temp7
= False
;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4624 PyObject
* obj2
= 0 ;
4625 PyObject
* obj3
= 0 ;
4626 PyObject
* obj4
= 0 ;
4627 PyObject
* obj5
= 0 ;
4628 PyObject
* obj6
= 0 ;
4630 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4636 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4646 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4652 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4657 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4663 arg7
= wxString_in_helper(obj6
);
4664 if (arg7
== NULL
) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4690 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxStaticBitmap
*result
;
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4712 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4715 wxWindow
*arg2
= (wxWindow
*) 0 ;
4717 wxBitmap
*arg4
= 0 ;
4718 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4719 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4720 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4721 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4722 long arg7
= (long) 0 ;
4723 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4724 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4728 bool temp8
= False
;
4729 PyObject
* obj0
= 0 ;
4730 PyObject
* obj1
= 0 ;
4731 PyObject
* obj2
= 0 ;
4732 PyObject
* obj3
= 0 ;
4733 PyObject
* obj4
= 0 ;
4734 PyObject
* obj5
= 0 ;
4735 PyObject
* obj6
= 0 ;
4736 PyObject
* obj7
= 0 ;
4738 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4743 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4745 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4748 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4750 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4755 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4761 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4766 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4772 arg8
= wxString_in_helper(obj7
);
4773 if (arg8
== NULL
) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4799 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4801 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4803 PyObject
* obj0
= 0 ;
4805 (char *) "self", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 result
= (arg1
)->GetBitmap();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4818 wxBitmap
* resultptr
;
4819 resultptr
= new wxBitmap((wxBitmap
&) result
);
4820 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4828 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4831 wxBitmap
*arg2
= 0 ;
4832 PyObject
* obj0
= 0 ;
4833 PyObject
* obj1
= 0 ;
4835 (char *) "self",(char *) "bitmap", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 Py_INCREF(Py_None
); resultobj
= Py_None
;
4858 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4862 PyObject
* obj0
= 0 ;
4863 PyObject
* obj1
= 0 ;
4865 (char *) "self",(char *) "icon", NULL
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4870 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4872 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 Py_INCREF(Py_None
); resultobj
= Py_None
;
4888 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4891 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4893 return Py_BuildValue((char *)"");
4895 static int _wrap_ListBoxNameStr_set(PyObject
*) {
4896 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4901 static PyObject
*_wrap_ListBoxNameStr_get() {
4906 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4908 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4915 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxWindow
*arg1
= (wxWindow
*) 0 ;
4919 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4920 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4921 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4922 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4923 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4924 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4925 long arg6
= (long) 0 ;
4926 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4927 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4928 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
4929 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4933 bool temp8
= False
;
4934 PyObject
* obj0
= 0 ;
4935 PyObject
* obj1
= 0 ;
4936 PyObject
* obj2
= 0 ;
4937 PyObject
* obj3
= 0 ;
4938 PyObject
* obj4
= 0 ;
4939 PyObject
* obj5
= 0 ;
4940 PyObject
* obj6
= 0 ;
4941 PyObject
* obj7
= 0 ;
4943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4949 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4961 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4966 if (! PySequence_Check(obj4
)) {
4967 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4970 arg5
= new wxArrayString
;
4971 int i
, len
=PySequence_Length(obj4
);
4972 for (i
=0; i
<len
; i
++) {
4973 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4975 PyObject
* str
= PyObject_Unicode(item
);
4977 PyObject
* str
= PyObject_Str(item
);
4979 arg5
->Add(Py2wxString(str
));
4987 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4992 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4999 arg8
= wxString_in_helper(obj7
);
5000 if (arg8
== NULL
) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5013 if (arg5
) delete arg5
;
5022 if (arg5
) delete arg5
;
5032 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (wxListBox
*)new wxListBox();
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5054 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxListBox
*arg1
= (wxListBox
*) 0 ;
5057 wxWindow
*arg2
= (wxWindow
*) 0 ;
5059 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5060 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5061 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5062 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5063 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5064 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5065 long arg7
= (long) 0 ;
5066 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5067 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5068 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5069 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5073 bool temp9
= False
;
5074 PyObject
* obj0
= 0 ;
5075 PyObject
* obj1
= 0 ;
5076 PyObject
* obj2
= 0 ;
5077 PyObject
* obj3
= 0 ;
5078 PyObject
* obj4
= 0 ;
5079 PyObject
* obj5
= 0 ;
5080 PyObject
* obj6
= 0 ;
5081 PyObject
* obj7
= 0 ;
5082 PyObject
* obj8
= 0 ;
5084 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5091 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5097 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5103 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5108 if (! PySequence_Check(obj5
)) {
5109 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5112 arg6
= new wxArrayString
;
5113 int i
, len
=PySequence_Length(obj5
);
5114 for (i
=0; i
<len
; i
++) {
5115 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5117 PyObject
* str
= PyObject_Unicode(item
);
5119 PyObject
* str
= PyObject_Str(item
);
5121 arg6
->Add(Py2wxString(str
));
5129 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5134 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5141 arg9
= wxString_in_helper(obj8
);
5142 if (arg9
== NULL
) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5155 if (arg6
) delete arg6
;
5164 if (arg6
) delete arg6
;
5174 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxListBox
*arg1
= (wxListBox
*) 0 ;
5177 wxString
*arg2
= 0 ;
5179 PyObject
*arg4
= (PyObject
*) NULL
;
5180 bool temp2
= False
;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5183 PyObject
* obj2
= 0 ;
5184 PyObject
* obj3
= 0 ;
5186 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5192 arg2
= wxString_in_helper(obj1
);
5193 if (arg2
== NULL
) SWIG_fail
;
5197 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 Py_INCREF(Py_None
); resultobj
= Py_None
;
5225 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxListBox
*arg1
= (wxListBox
*) 0 ;
5228 wxArrayString
*arg2
= 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5232 PyObject
* obj2
= 0 ;
5234 (char *) "self",(char *) "items",(char *) "pos", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5240 if (! PySequence_Check(obj1
)) {
5241 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5244 arg2
= new wxArrayString
;
5245 int i
, len
=PySequence_Length(obj1
);
5246 for (i
=0; i
<len
; i
++) {
5247 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5249 PyObject
* str
= PyObject_Unicode(item
);
5251 PyObject
* str
= PyObject_Str(item
);
5253 arg2
->Add(Py2wxString(str
));
5259 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 Py_INCREF(Py_None
); resultobj
= Py_None
;
5271 if (arg2
) delete arg2
;
5276 if (arg2
) delete arg2
;
5282 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxListBox
*arg1
= (wxListBox
*) 0 ;
5285 wxArrayString
*arg2
= 0 ;
5286 PyObject
* obj0
= 0 ;
5287 PyObject
* obj1
= 0 ;
5289 (char *) "self",(char *) "items", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5295 if (! PySequence_Check(obj1
)) {
5296 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5299 arg2
= new wxArrayString
;
5300 int i
, len
=PySequence_Length(obj1
);
5301 for (i
=0; i
<len
; i
++) {
5302 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5304 PyObject
* str
= PyObject_Unicode(item
);
5306 PyObject
* str
= PyObject_Str(item
);
5308 arg2
->Add(Py2wxString(str
));
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 (arg1
)->Set((wxArrayString
const &)*arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 Py_INCREF(Py_None
); resultobj
= Py_None
;
5322 if (arg2
) delete arg2
;
5327 if (arg2
) delete arg2
;
5333 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxListBox
*arg1
= (wxListBox
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5341 (char *) "self",(char *) "n", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5347 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5364 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxListBox
*arg1
= (wxListBox
*) 0 ;
5368 bool arg3
= (bool) True
;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5371 PyObject
* obj2
= 0 ;
5373 (char *) "self",(char *) "n",(char *) "select", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5379 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5384 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->SetSelection(arg2
,arg3
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 Py_INCREF(Py_None
); resultobj
= Py_None
;
5402 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxListBox
*arg1
= (wxListBox
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5409 (char *) "self",(char *) "n", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5415 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 (arg1
)->Select(arg2
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 Py_INCREF(Py_None
); resultobj
= Py_None
;
5432 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxListBox
*arg1
= (wxListBox
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5439 (char *) "self",(char *) "n", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 (arg1
)->Deselect(arg2
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 Py_INCREF(Py_None
); resultobj
= Py_None
;
5462 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxListBox
*arg1
= (wxListBox
*) 0 ;
5465 int arg2
= (int) -1 ;
5466 PyObject
* obj0
= 0 ;
5467 PyObject
* obj1
= 0 ;
5469 (char *) "self",(char *) "itemToLeaveSelected", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5476 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 (arg1
)->DeselectAll(arg2
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 Py_INCREF(Py_None
); resultobj
= Py_None
;
5494 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxListBox
*arg1
= (wxListBox
*) 0 ;
5497 wxString
*arg2
= 0 ;
5498 bool arg3
= (bool) True
;
5500 bool temp2
= False
;
5501 PyObject
* obj0
= 0 ;
5502 PyObject
* obj1
= 0 ;
5503 PyObject
* obj2
= 0 ;
5505 (char *) "self",(char *) "s",(char *) "select", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5511 arg2
= wxString_in_helper(obj1
);
5512 if (arg2
== NULL
) SWIG_fail
;
5517 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5543 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxListBox
*arg1
= (wxListBox
*) 0 ;
5547 PyObject
* obj0
= 0 ;
5549 (char *) "self", NULL
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5568 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxListBox
*arg1
= (wxListBox
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5575 (char *) "self",(char *) "n", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 (arg1
)->SetFirstItem(arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 Py_INCREF(Py_None
); resultobj
= Py_None
;
5598 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxListBox
*arg1
= (wxListBox
*) 0 ;
5601 wxString
*arg2
= 0 ;
5602 bool temp2
= False
;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "s", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5612 arg2
= wxString_in_helper(obj1
);
5613 if (arg2
== NULL
) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 Py_INCREF(Py_None
); resultobj
= Py_None
;
5638 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 wxListBox
*arg1
= (wxListBox
*) 0 ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5645 (char *) "self",(char *) "n", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5651 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 (arg1
)->EnsureVisible(arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 Py_INCREF(Py_None
); resultobj
= Py_None
;
5668 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
;
5670 wxListBox
*arg1
= (wxListBox
*) 0 ;
5671 wxString
*arg2
= 0 ;
5672 bool temp2
= False
;
5673 PyObject
* obj0
= 0 ;
5674 PyObject
* obj1
= 0 ;
5676 (char *) "self",(char *) "s", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5682 arg2
= wxString_in_helper(obj1
);
5683 if (arg2
== NULL
) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 Py_INCREF(Py_None
); resultobj
= Py_None
;
5708 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxListBox
*arg1
= (wxListBox
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5714 (char *) "self", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5733 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5736 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5738 return Py_BuildValue((char *)"");
5740 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxWindow
*arg1
= (wxWindow
*) 0 ;
5744 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5745 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5746 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5747 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5748 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5749 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5750 long arg6
= (long) 0 ;
5751 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5752 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5753 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5754 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5755 wxCheckListBox
*result
;
5758 bool temp8
= False
;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5761 PyObject
* obj2
= 0 ;
5762 PyObject
* obj3
= 0 ;
5763 PyObject
* obj4
= 0 ;
5764 PyObject
* obj5
= 0 ;
5765 PyObject
* obj6
= 0 ;
5766 PyObject
* obj7
= 0 ;
5768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5774 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5786 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5791 if (! PySequence_Check(obj4
)) {
5792 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5795 arg5
= new wxArrayString
;
5796 int i
, len
=PySequence_Length(obj4
);
5797 for (i
=0; i
<len
; i
++) {
5798 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5800 PyObject
* str
= PyObject_Unicode(item
);
5802 PyObject
* str
= PyObject_Str(item
);
5804 arg5
->Add(Py2wxString(str
));
5812 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5817 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5824 arg8
= wxString_in_helper(obj7
);
5825 if (arg8
== NULL
) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5838 if (arg5
) delete arg5
;
5847 if (arg5
) delete arg5
;
5857 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxCheckListBox
*result
;
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (wxCheckListBox
*)new wxCheckListBox();
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5879 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5882 wxWindow
*arg2
= (wxWindow
*) 0 ;
5884 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5885 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5886 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5887 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5888 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5889 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5890 long arg7
= (long) 0 ;
5891 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5892 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5893 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5894 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5898 bool temp9
= False
;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5901 PyObject
* obj2
= 0 ;
5902 PyObject
* obj3
= 0 ;
5903 PyObject
* obj4
= 0 ;
5904 PyObject
* obj5
= 0 ;
5905 PyObject
* obj6
= 0 ;
5906 PyObject
* obj7
= 0 ;
5907 PyObject
* obj8
= 0 ;
5909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5916 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5933 if (! PySequence_Check(obj5
)) {
5934 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5937 arg6
= new wxArrayString
;
5938 int i
, len
=PySequence_Length(obj5
);
5939 for (i
=0; i
<len
; i
++) {
5940 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5942 PyObject
* str
= PyObject_Unicode(item
);
5944 PyObject
* str
= PyObject_Str(item
);
5946 arg6
->Add(Py2wxString(str
));
5954 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5959 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5966 arg9
= wxString_in_helper(obj8
);
5967 if (arg9
== NULL
) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5980 if (arg6
) delete arg6
;
5989 if (arg6
) delete arg6
;
5999 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
;
6001 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6004 PyObject
* obj0
= 0 ;
6005 PyObject
* obj1
= 0 ;
6007 (char *) "self",(char *) "index", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6013 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (bool)(arg1
)->IsChecked(arg2
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6030 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
*resultobj
;
6032 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6034 int arg3
= (int) True
;
6035 PyObject
* obj0
= 0 ;
6036 PyObject
* obj1
= 0 ;
6037 PyObject
* obj2
= 0 ;
6039 (char *) "self",(char *) "index",(char *) "check", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6045 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6050 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 (arg1
)->Check(arg2
,arg3
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6077 (char *) "self",(char *) "pt", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_PyObj_FromInt((int)result
);
6100 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 PyObject
* obj2
= 0 ;
6110 (char *) "self",(char *) "x",(char *) "y", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6116 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6120 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_PyObj_FromInt((int)result
);
6137 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6140 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6142 return Py_BuildValue((char *)"");
6144 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6145 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6150 static PyObject
*_wrap_TextCtrlNameStr_get() {
6155 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6157 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6164 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6165 PyObject
*resultobj
;
6168 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (wxTextAttr
*)new wxTextAttr();
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6183 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6184 PyObject
*resultobj
;
6185 wxColour
*arg1
= 0 ;
6186 wxColour
const &arg2_defvalue
= wxNullColour
;
6187 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6188 wxFont
const &arg3_defvalue
= wxNullFont
;
6189 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6190 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6196 PyObject
* obj2
= 0 ;
6197 PyObject
* obj3
= 0 ;
6199 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6202 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6207 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6211 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6218 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6236 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6241 argc
= PyObject_Length(args
);
6242 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6243 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6246 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6248 if ((argc
>= 1) && (argc
<= 4)) {
6251 _v
= wxColour_typecheck(argv
[0]);
6255 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6258 _v
= wxColour_typecheck(argv
[1]);
6262 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6266 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6275 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6278 SWIG_PyObj_AsInt(argv
[3]);
6279 if (PyErr_Occurred()) {
6287 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6294 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6299 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6302 PyObject
* obj0
= 0 ;
6304 (char *) "self", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "self", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 Py_INCREF(Py_None
); resultobj
= Py_None
;
6347 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6350 wxColour
*arg2
= 0 ;
6352 PyObject
* obj0
= 0 ;
6353 PyObject
* obj1
= 0 ;
6355 (char *) "self",(char *) "colText", NULL
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 Py_INCREF(Py_None
); resultobj
= Py_None
;
6378 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6381 wxColour
*arg2
= 0 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6386 (char *) "self",(char *) "colBack", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 Py_INCREF(Py_None
); resultobj
= Py_None
;
6409 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
;
6411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6413 long arg3
= (long) wxTEXT_ATTR_FONT
;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj1
= 0 ;
6416 PyObject
* obj2
= 0 ;
6418 (char *) "self",(char *) "font",(char *) "flags", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6429 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 Py_INCREF(Py_None
); resultobj
= Py_None
;
6447 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6454 (char *) "self",(char *) "alignment", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6460 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 Py_INCREF(Py_None
); resultobj
= Py_None
;
6477 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6479 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6480 wxArrayInt
*arg2
= 0 ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6484 (char *) "self",(char *) "tabs", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6490 if (! PySequence_Check(obj1
)) {
6491 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6494 arg2
= new wxArrayInt
;
6495 int i
, len
=PySequence_Length(obj1
);
6496 for (i
=0; i
<len
; i
++) {
6497 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6498 PyObject
* number
= PyNumber_Int(item
);
6499 arg2
->Add(PyInt_AS_LONG(number
));
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 Py_INCREF(Py_None
); resultobj
= Py_None
;
6513 if (arg2
) delete arg2
;
6518 if (arg2
) delete arg2
;
6524 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6531 (char *) "self",(char *) "indent", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6537 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 (arg1
)->SetLeftIndent(arg2
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6554 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6558 PyObject
* obj0
= 0 ;
6559 PyObject
* obj1
= 0 ;
6561 (char *) "self",(char *) "indent", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6567 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 (arg1
)->SetRightIndent(arg2
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 Py_INCREF(Py_None
); resultobj
= Py_None
;
6584 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6588 PyObject
* obj0
= 0 ;
6589 PyObject
* obj1
= 0 ;
6591 (char *) "self",(char *) "flags", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6597 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 (arg1
)->SetFlags(arg2
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 Py_INCREF(Py_None
); resultobj
= Py_None
;
6614 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6618 PyObject
* obj0
= 0 ;
6620 (char *) "self", NULL
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6639 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6664 static PyObject
*_wrap_TextAttr_HasFont(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_HasFont",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
)->HasFont();
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6689 static PyObject
*_wrap_TextAttr_HasAlignment(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_HasAlignment",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
)->HasAlignment();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6714 static PyObject
*_wrap_TextAttr_HasTabs(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_HasTabs",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
)->HasTabs();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6739 static PyObject
*_wrap_TextAttr_HasLeftIndent(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_HasLeftIndent",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
)->HasLeftIndent();
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6764 static PyObject
*_wrap_TextAttr_HasRightIndent(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_HasRightIndent",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
)->HasRightIndent();
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6789 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6797 (char *) "self",(char *) "flag", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6803 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6820 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6826 (char *) "self", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6835 result
= (wxColour
*) &_result_ref
;
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6848 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6852 PyObject
* obj0
= 0 ;
6854 (char *) "self", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6863 result
= (wxColour
*) &_result_ref
;
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6876 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6882 (char *) "self", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6891 result
= (wxFont
*) &_result_ref
;
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6904 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6910 (char *) "self", NULL
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_PyObj_FromInt((int)result
);
6929 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6935 (char *) "self", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6944 result
= (wxArrayInt
*) &_result_ref
;
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= PyList_New(0);
6953 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6954 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6955 PyList_Append(resultobj
, val
);
6965 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6971 (char *) "self", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_PyObj_FromLong((long)result
);
6990 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6994 PyObject
* obj0
= 0 ;
6996 (char *) "self", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_PyObj_FromLong((long)result
);
7015 static PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags",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
)->GetFlags();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= SWIG_PyObj_FromLong((long)result
);
7040 static PyObject
*_wrap_TextAttr_IsDefault(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_IsDefault",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
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7065 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxTextAttr
*arg1
= 0 ;
7068 wxTextAttr
*arg2
= 0 ;
7069 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 PyObject
* obj2
= 0 ;
7075 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7087 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 wxTextAttr
* resultptr
;
7097 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7098 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7106 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7109 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7111 return Py_BuildValue((char *)"");
7113 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7115 wxWindow
*arg1
= (wxWindow
*) 0 ;
7117 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7118 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7123 long arg6
= (long) 0 ;
7124 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7125 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7126 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7127 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7129 bool temp3
= False
;
7132 bool temp8
= False
;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7135 PyObject
* obj2
= 0 ;
7136 PyObject
* obj3
= 0 ;
7137 PyObject
* obj4
= 0 ;
7138 PyObject
* obj5
= 0 ;
7139 PyObject
* obj6
= 0 ;
7140 PyObject
* obj7
= 0 ;
7142 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7148 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7153 arg3
= wxString_in_helper(obj2
);
7154 if (arg3
== NULL
) SWIG_fail
;
7161 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7167 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7172 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7177 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7184 arg8
= wxString_in_helper(obj7
);
7185 if (arg8
== NULL
) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= wxPyMake_wxObject(result
);
7221 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= (wxTextCtrl
*)new wxTextCtrl();
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= wxPyMake_wxObject(result
);
7245 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7248 wxWindow
*arg2
= (wxWindow
*) 0 ;
7250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7252 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7253 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7254 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7255 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7256 long arg7
= (long) 0 ;
7257 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7258 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7259 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7260 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7262 bool temp4
= False
;
7265 bool temp9
= False
;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7268 PyObject
* obj2
= 0 ;
7269 PyObject
* obj3
= 0 ;
7270 PyObject
* obj4
= 0 ;
7271 PyObject
* obj5
= 0 ;
7272 PyObject
* obj6
= 0 ;
7273 PyObject
* obj7
= 0 ;
7274 PyObject
* obj8
= 0 ;
7276 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7281 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7283 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7288 arg4
= wxString_in_helper(obj3
);
7289 if (arg4
== NULL
) SWIG_fail
;
7296 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7302 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7307 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7312 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7314 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7319 arg9
= wxString_in_helper(obj8
);
7320 if (arg9
== NULL
) SWIG_fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7354 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7358 PyObject
* obj0
= 0 ;
7360 (char *) "self", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7385 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7388 wxString
*arg2
= 0 ;
7389 bool temp2
= False
;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7393 (char *) "self",(char *) "value", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7399 arg2
= wxString_in_helper(obj1
);
7400 if (arg2
== NULL
) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 (arg1
)->SetValue((wxString
const &)*arg2
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7432 PyObject
* obj1
= 0 ;
7433 PyObject
* obj2
= 0 ;
7435 (char *) "self",(char *) "from",(char *) "to", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7441 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7468 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7474 PyObject
* obj1
= 0 ;
7476 (char *) "self",(char *) "lineNo", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7482 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= SWIG_PyObj_FromInt((int)result
);
7499 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7505 PyObject
* obj1
= 0 ;
7507 (char *) "self",(char *) "lineNo", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7513 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7536 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7540 PyObject
* obj0
= 0 ;
7542 (char *) "self", NULL
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= SWIG_PyObj_FromInt((int)result
);
7561 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7565 PyObject
* obj0
= 0 ;
7567 (char *) "self", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7586 static PyObject
*_wrap_TextCtrl_IsEditable(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_IsEditable",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
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7611 static PyObject
*_wrap_TextCtrl_IsSingleLine(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_IsSingleLine",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
)->IsSingleLine();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7636 static PyObject
*_wrap_TextCtrl_IsMultiLine(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_IsMultiLine",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
)->IsMultiLine();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7661 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7664 long *arg2
= (long *) 0 ;
7665 long *arg3
= (long *) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 Py_INCREF(Py_None
); resultobj
= Py_None
;
7686 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7687 resultobj
= t_output_helper(resultobj
,o
);
7690 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7691 resultobj
= t_output_helper(resultobj
,o
);
7699 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7705 (char *) "self", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7730 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7735 (char *) "self", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 Py_INCREF(Py_None
); resultobj
= Py_None
;
7754 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7755 PyObject
*resultobj
;
7756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7759 wxString
*arg4
= 0 ;
7760 bool temp4
= False
;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7763 PyObject
* obj2
= 0 ;
7764 PyObject
* obj3
= 0 ;
7766 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7772 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7776 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7780 arg4
= wxString_in_helper(obj3
);
7781 if (arg4
== NULL
) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 Py_INCREF(Py_None
); resultobj
= Py_None
;
7806 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 PyObject
* obj2
= 0 ;
7815 (char *) "self",(char *) "from",(char *) "to", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7821 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 (arg1
)->Remove(arg2
,arg3
);
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 Py_INCREF(Py_None
); resultobj
= Py_None
;
7842 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7845 wxString
*arg2
= 0 ;
7847 bool temp2
= False
;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7851 (char *) "self",(char *) "file", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7857 arg2
= wxString_in_helper(obj1
);
7858 if (arg2
== NULL
) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7883 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7886 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7887 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7889 bool temp2
= False
;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7893 (char *) "self",(char *) "file", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7900 arg2
= wxString_in_helper(obj1
);
7901 if (arg2
== NULL
) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7927 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7932 (char *) "self", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 (arg1
)->MarkDirty();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 Py_INCREF(Py_None
); resultobj
= Py_None
;
7951 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
;
7953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "self", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->DiscardEdits();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 Py_INCREF(Py_None
); resultobj
= Py_None
;
7975 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7978 unsigned long arg2
;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7982 (char *) "self",(char *) "len", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7988 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 (arg1
)->SetMaxLength(arg2
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8005 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8008 wxString
*arg2
= 0 ;
8009 bool temp2
= False
;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8013 (char *) "self",(char *) "text", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8019 arg2
= wxString_in_helper(obj1
);
8020 if (arg2
== NULL
) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 (arg1
)->WriteText((wxString
const &)*arg2
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 Py_INCREF(Py_None
); resultobj
= Py_None
;
8045 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8048 wxString
*arg2
= 0 ;
8049 bool temp2
= False
;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8053 (char *) "self",(char *) "text", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8059 arg2
= wxString_in_helper(obj1
);
8060 if (arg2
== NULL
) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 (arg1
)->AppendText((wxString
const &)*arg2
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 Py_INCREF(Py_None
); resultobj
= Py_None
;
8085 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8088 wxKeyEvent
*arg2
= 0 ;
8090 PyObject
* obj0
= 0 ;
8091 PyObject
* obj1
= 0 ;
8093 (char *) "self",(char *) "event", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8100 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8116 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
;
8118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8121 wxTextAttr
*arg4
= 0 ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8125 PyObject
* obj2
= 0 ;
8126 PyObject
* obj3
= 0 ;
8128 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8134 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8138 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8143 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8159 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8163 wxTextAttr
*arg3
= 0 ;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8167 PyObject
* obj2
= 0 ;
8169 (char *) "self",(char *) "position",(char *) "style", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8175 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8196 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8199 wxTextAttr
*arg2
= 0 ;
8201 PyObject
* obj0
= 0 ;
8202 PyObject
* obj1
= 0 ;
8204 (char *) "self",(char *) "style", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8227 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8231 PyObject
* obj0
= 0 ;
8233 (char *) "self", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8242 result
= (wxTextAttr
*) &_result_ref
;
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8255 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8261 PyObject
* obj0
= 0 ;
8262 PyObject
* obj1
= 0 ;
8263 PyObject
* obj2
= 0 ;
8265 (char *) "self",(char *) "x",(char *) "y", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8271 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_PyObj_FromLong((long)result
);
8292 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8296 long *arg3
= (long *) 0 ;
8297 long *arg4
= (long *) 0 ;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8303 (char *) "self",(char *) "pos", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8311 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 Py_INCREF(Py_None
); resultobj
= Py_None
;
8323 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8324 resultobj
= t_output_helper(resultobj
,o
);
8327 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8328 resultobj
= t_output_helper(resultobj
,o
);
8336 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8341 PyObject
* obj1
= 0 ;
8343 (char *) "self",(char *) "pos", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8349 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 (arg1
)->ShowPosition(arg2
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8370 long *arg3
= (long *) 0 ;
8371 long *arg4
= (long *) 0 ;
8376 PyObject
* obj0
= 0 ;
8377 PyObject
* obj1
= 0 ;
8379 (char *) "self",(char *) "pt", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_PyObj_FromInt((int)result
);
8399 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8400 resultobj
= t_output_helper(resultobj
,o
);
8403 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8404 resultobj
= t_output_helper(resultobj
,o
);
8412 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8415 PyObject
* obj0
= 0 ;
8417 (char *) "self", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8441 (char *) "self", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 Py_INCREF(Py_None
); resultobj
= Py_None
;
8460 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 Py_INCREF(Py_None
); resultobj
= Py_None
;
8484 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8488 PyObject
* obj0
= 0 ;
8490 (char *) "self", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8509 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8515 (char *) "self", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",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();
8522 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8534 static PyObject
*_wrap_TextCtrl_CanPaste(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_CanPaste",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
)->CanPaste();
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8559 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8562 PyObject
* obj0
= 0 ;
8564 (char *) "self", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 Py_INCREF(Py_None
); resultobj
= Py_None
;
8583 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8586 PyObject
* obj0
= 0 ;
8588 (char *) "self", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8607 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8611 PyObject
* obj0
= 0 ;
8613 (char *) "self", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8632 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8636 PyObject
* obj0
= 0 ;
8638 (char *) "self", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",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();
8645 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8657 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
;
8659 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8664 (char *) "self",(char *) "pos", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8670 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 (arg1
)->SetInsertionPoint(arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 Py_INCREF(Py_None
); resultobj
= Py_None
;
8687 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
;
8689 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8690 PyObject
* obj0
= 0 ;
8692 (char *) "self", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 (arg1
)->SetInsertionPointEnd();
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 Py_INCREF(Py_None
); resultobj
= Py_None
;
8711 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8717 (char *) "self", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 resultobj
= SWIG_PyObj_FromLong((long)result
);
8736 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8742 (char *) "self", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",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 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_PyObj_FromLong((long)result
);
8761 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8768 PyObject
* obj2
= 0 ;
8770 (char *) "self",(char *) "from",(char *) "to", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8776 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8780 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 (arg1
)->SetSelection(arg2
,arg3
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 Py_INCREF(Py_None
); resultobj
= Py_None
;
8797 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8800 PyObject
* obj0
= 0 ;
8802 (char *) "self", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->SelectAll();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8821 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8828 (char *) "self",(char *) "editable", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8834 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 (arg1
)->SetEditable(arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8854 wxString
*arg2
= 0 ;
8855 bool temp2
= False
;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8859 (char *) "self",(char *) "text", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8865 arg2
= wxString_in_helper(obj1
);
8866 if (arg2
== NULL
) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8899 PyObject
* obj2
= 0 ;
8901 (char *) "self",(char *) "from",(char *) "to", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8907 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8911 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8934 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8937 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8939 return Py_BuildValue((char *)"");
8941 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8944 wxMouseEvent
*arg2
= 0 ;
8947 wxTextUrlEvent
*result
;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8950 PyObject
* obj2
= 0 ;
8951 PyObject
* obj3
= 0 ;
8953 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8958 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8966 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8970 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8987 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8990 wxMouseEvent
*result
;
8991 PyObject
* obj0
= 0 ;
8993 (char *) "self", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9002 result
= (wxMouseEvent
*) &_result_ref
;
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9015 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "self", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= SWIG_PyObj_FromLong((long)result
);
9040 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9044 PyObject
* obj0
= 0 ;
9046 (char *) "self", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= SWIG_PyObj_FromLong((long)result
);
9065 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9068 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9070 return Py_BuildValue((char *)"");
9072 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9073 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9078 static PyObject
*_wrap_ScrollBarNameStr_get() {
9083 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9085 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9092 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
;
9094 wxWindow
*arg1
= (wxWindow
*) 0 ;
9095 int arg2
= (int) -1 ;
9096 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9097 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9098 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9099 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9100 long arg5
= (long) wxSB_HORIZONTAL
;
9101 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9102 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9103 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9104 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9105 wxScrollBar
*result
;
9108 bool temp7
= False
;
9109 PyObject
* obj0
= 0 ;
9110 PyObject
* obj1
= 0 ;
9111 PyObject
* obj2
= 0 ;
9112 PyObject
* obj3
= 0 ;
9113 PyObject
* obj4
= 0 ;
9114 PyObject
* obj5
= 0 ;
9115 PyObject
* obj6
= 0 ;
9117 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9124 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9131 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9137 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9142 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9147 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9154 arg7
= wxString_in_helper(obj6
);
9155 if (arg7
== NULL
) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9181 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxScrollBar
*result
;
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (wxScrollBar
*)new wxScrollBar();
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9203 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9206 wxWindow
*arg2
= (wxWindow
*) 0 ;
9207 int arg3
= (int) -1 ;
9208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9210 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9211 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9212 long arg6
= (long) wxSB_HORIZONTAL
;
9213 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9214 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9215 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9216 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9220 bool temp8
= False
;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 PyObject
* obj2
= 0 ;
9224 PyObject
* obj3
= 0 ;
9225 PyObject
* obj4
= 0 ;
9226 PyObject
* obj5
= 0 ;
9227 PyObject
* obj6
= 0 ;
9228 PyObject
* obj7
= 0 ;
9230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9238 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9256 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9261 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9268 arg8
= wxString_in_helper(obj7
);
9269 if (arg8
== NULL
) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9295 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= SWIG_PyObj_FromInt((int)result
);
9320 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9324 PyObject
* obj0
= 0 ;
9326 (char *) "self", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= SWIG_PyObj_FromInt((int)result
);
9345 static PyObject
*_wrap_ScrollBar_GetPageSize(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_GetPageSize",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
)->GetPageSize();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_PyObj_FromInt((int)result
);
9370 static PyObject
*_wrap_ScrollBar_GetRange(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_GetRange",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
)->GetRange();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_PyObj_FromInt((int)result
);
9395 static PyObject
*_wrap_ScrollBar_IsVertical(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_IsVertical",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
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9420 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9425 PyObject
* obj1
= 0 ;
9427 (char *) "self",(char *) "viewStart", NULL
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9433 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 (arg1
)->SetThumbPosition(arg2
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 Py_INCREF(Py_None
); resultobj
= Py_None
;
9450 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9457 bool arg6
= (bool) True
;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9460 PyObject
* obj2
= 0 ;
9461 PyObject
* obj3
= 0 ;
9462 PyObject
* obj4
= 0 ;
9463 PyObject
* obj5
= 0 ;
9465 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9471 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9475 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9479 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9483 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9488 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 Py_INCREF(Py_None
); resultobj
= Py_None
;
9506 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9509 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9511 return Py_BuildValue((char *)"");
9513 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9514 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9519 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9524 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9526 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9533 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9534 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9539 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9544 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9546 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9553 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxWindow
*arg1
= (wxWindow
*) 0 ;
9556 int arg2
= (int) -1 ;
9557 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9558 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9559 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9560 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9561 long arg5
= (long) wxSP_HORIZONTAL
;
9562 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9563 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9564 wxSpinButton
*result
;
9567 bool temp6
= False
;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 PyObject
* obj2
= 0 ;
9571 PyObject
* obj3
= 0 ;
9572 PyObject
* obj4
= 0 ;
9573 PyObject
* obj5
= 0 ;
9575 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9582 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9589 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9595 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9600 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9606 arg6
= wxString_in_helper(obj5
);
9607 if (arg6
== NULL
) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9633 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxSpinButton
*result
;
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (wxSpinButton
*)new wxSpinButton();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9655 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9658 wxWindow
*arg2
= (wxWindow
*) 0 ;
9659 int arg3
= (int) -1 ;
9660 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9661 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9662 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9663 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9664 long arg6
= (long) wxSP_HORIZONTAL
;
9665 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9666 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9670 bool temp7
= False
;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 PyObject
* obj2
= 0 ;
9674 PyObject
* obj3
= 0 ;
9675 PyObject
* obj4
= 0 ;
9676 PyObject
* obj5
= 0 ;
9677 PyObject
* obj6
= 0 ;
9679 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9687 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9705 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9711 arg7
= wxString_in_helper(obj6
);
9712 if (arg7
== NULL
) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9738 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "self", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_PyObj_FromInt((int)result
);
9763 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "self", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_PyObj_FromInt((int)result
);
9788 static PyObject
*_wrap_SpinButton_GetMax(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_GetMax",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
)->GetMax();
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_PyObj_FromInt((int)result
);
9813 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9818 PyObject
* obj1
= 0 ;
9820 (char *) "self",(char *) "val", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9826 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 (arg1
)->SetValue(arg2
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 Py_INCREF(Py_None
); resultobj
= Py_None
;
9843 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9850 (char *) "self",(char *) "minVal", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 (arg1
)->SetMin(arg2
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 Py_INCREF(Py_None
); resultobj
= Py_None
;
9873 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9880 (char *) "self",(char *) "maxVal", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9886 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 (arg1
)->SetMax(arg2
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 Py_INCREF(Py_None
); resultobj
= Py_None
;
9903 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9909 PyObject
* obj1
= 0 ;
9910 PyObject
* obj2
= 0 ;
9912 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9918 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 (arg1
)->SetRange(arg2
,arg3
);
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 Py_INCREF(Py_None
); resultobj
= Py_None
;
9939 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9943 PyObject
* obj0
= 0 ;
9945 (char *) "self", NULL
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9964 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
9966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9967 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
9969 return Py_BuildValue((char *)"");
9971 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9973 wxWindow
*arg1
= (wxWindow
*) 0 ;
9974 int arg2
= (int) -1 ;
9975 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9976 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9981 long arg6
= (long) wxSP_ARROW_KEYS
;
9982 int arg7
= (int) 0 ;
9983 int arg8
= (int) 100 ;
9984 int arg9
= (int) 0 ;
9985 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
9986 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
9988 bool temp3
= False
;
9991 bool temp10
= False
;
9992 PyObject
* obj0
= 0 ;
9993 PyObject
* obj1
= 0 ;
9994 PyObject
* obj2
= 0 ;
9995 PyObject
* obj3
= 0 ;
9996 PyObject
* obj4
= 0 ;
9997 PyObject
* obj5
= 0 ;
9998 PyObject
* obj6
= 0 ;
9999 PyObject
* obj7
= 0 ;
10000 PyObject
* obj8
= 0 ;
10001 PyObject
* obj9
= 0 ;
10002 char *kwnames
[] = {
10003 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10010 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10016 arg3
= wxString_in_helper(obj2
);
10017 if (arg3
== NULL
) SWIG_fail
;
10024 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10030 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10035 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10041 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10047 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10053 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10059 arg10
= wxString_in_helper(obj9
);
10060 if (arg10
== NULL
) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10094 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxSpinCtrl
*result
;
10097 char *kwnames
[] = {
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10116 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10119 wxWindow
*arg2
= (wxWindow
*) 0 ;
10120 int arg3
= (int) -1 ;
10121 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10122 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10123 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10124 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10125 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10126 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10127 long arg7
= (long) wxSP_ARROW_KEYS
;
10128 int arg8
= (int) 0 ;
10129 int arg9
= (int) 100 ;
10130 int arg10
= (int) 0 ;
10131 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10132 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10134 bool temp4
= False
;
10137 bool temp11
= False
;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 PyObject
* obj2
= 0 ;
10141 PyObject
* obj3
= 0 ;
10142 PyObject
* obj4
= 0 ;
10143 PyObject
* obj5
= 0 ;
10144 PyObject
* obj6
= 0 ;
10145 PyObject
* obj7
= 0 ;
10146 PyObject
* obj8
= 0 ;
10147 PyObject
* obj9
= 0 ;
10148 PyObject
* obj10
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10158 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10164 arg4
= wxString_in_helper(obj3
);
10165 if (arg4
== NULL
) SWIG_fail
;
10172 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10178 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10183 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10189 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10195 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10201 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10207 arg11
= wxString_in_helper(obj10
);
10208 if (arg11
== NULL
) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10242 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_PyObj_FromInt((int)result
);
10267 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 PyObject
* obj1
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self",(char *) "value", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10280 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 (arg1
)->SetValue(arg2
);
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10290 Py_INCREF(Py_None
); resultobj
= Py_None
;
10297 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10300 wxString
*arg2
= 0 ;
10301 bool temp2
= False
;
10302 PyObject
* obj0
= 0 ;
10303 PyObject
* obj1
= 0 ;
10304 char *kwnames
[] = {
10305 (char *) "self",(char *) "text", NULL
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10311 arg2
= wxString_in_helper(obj1
);
10312 if (arg2
== NULL
) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 (arg1
)->SetValue((wxString
const &)*arg2
);
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 Py_INCREF(Py_None
); resultobj
= Py_None
;
10337 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
;
10339 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 PyObject
* obj2
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10352 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10356 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->SetRange(arg2
,arg3
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 Py_INCREF(Py_None
); resultobj
= Py_None
;
10373 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_PyObj_FromInt((int)result
);
10398 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_PyObj_FromInt((int)result
);
10423 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 PyObject
* obj2
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "from",(char *) "to", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10438 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10442 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 (arg1
)->SetSelection(arg2
,arg3
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 Py_INCREF(Py_None
); resultobj
= Py_None
;
10459 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10462 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10464 return Py_BuildValue((char *)"");
10466 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10469 int arg2
= (int) 0 ;
10470 wxSpinEvent
*result
;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 char *kwnames
[] = {
10474 (char *) "commandType",(char *) "winid", NULL
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10480 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10486 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10504 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= SWIG_PyObj_FromInt((int)result
);
10529 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "pos", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10542 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->SetPosition(arg2
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 Py_INCREF(Py_None
); resultobj
= Py_None
;
10559 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10562 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10564 return Py_BuildValue((char *)"");
10566 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10567 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10572 static PyObject
*_wrap_RadioBoxNameStr_get() {
10577 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10579 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10586 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10587 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10592 static PyObject
*_wrap_RadioButtonNameStr_get() {
10597 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10599 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10606 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxWindow
*arg1
= (wxWindow
*) 0 ;
10610 wxString
*arg3
= 0 ;
10611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10615 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10616 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10617 int arg7
= (int) 0 ;
10618 long arg8
= (long) wxRA_HORIZONTAL
;
10619 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10620 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10621 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10622 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10623 wxRadioBox
*result
;
10624 bool temp3
= False
;
10627 bool temp10
= False
;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 PyObject
* obj2
= 0 ;
10631 PyObject
* obj3
= 0 ;
10632 PyObject
* obj4
= 0 ;
10633 PyObject
* obj5
= 0 ;
10634 PyObject
* obj6
= 0 ;
10635 PyObject
* obj7
= 0 ;
10636 PyObject
* obj8
= 0 ;
10637 PyObject
* obj9
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10645 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 arg3
= wxString_in_helper(obj2
);
10650 if (arg3
== NULL
) SWIG_fail
;
10656 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10662 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10667 if (! PySequence_Check(obj5
)) {
10668 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10671 arg6
= new wxArrayString
;
10672 int i
, len
=PySequence_Length(obj5
);
10673 for (i
=0; i
<len
; i
++) {
10674 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10676 PyObject
* str
= PyObject_Unicode(item
);
10678 PyObject
* str
= PyObject_Str(item
);
10680 arg6
->Add(Py2wxString(str
));
10688 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10694 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10699 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10700 if (arg9
== NULL
) {
10701 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10706 arg10
= wxString_in_helper(obj9
);
10707 if (arg10
== NULL
) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 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
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10724 if (arg6
) delete arg6
;
10737 if (arg6
) delete arg6
;
10747 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
;
10749 wxRadioBox
*result
;
10750 char *kwnames
[] = {
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (wxRadioBox
*)new wxRadioBox();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10769 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10772 wxWindow
*arg2
= (wxWindow
*) 0 ;
10774 wxString
*arg4
= 0 ;
10775 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10776 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10777 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10778 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10779 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10780 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10781 int arg8
= (int) 0 ;
10782 long arg9
= (long) wxRA_HORIZONTAL
;
10783 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10784 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10785 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10786 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10788 bool temp4
= False
;
10791 bool temp11
= False
;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 PyObject
* obj2
= 0 ;
10795 PyObject
* obj3
= 0 ;
10796 PyObject
* obj4
= 0 ;
10797 PyObject
* obj5
= 0 ;
10798 PyObject
* obj6
= 0 ;
10799 PyObject
* obj7
= 0 ;
10800 PyObject
* obj8
= 0 ;
10801 PyObject
* obj9
= 0 ;
10802 PyObject
* obj10
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10811 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10815 arg4
= wxString_in_helper(obj3
);
10816 if (arg4
== NULL
) SWIG_fail
;
10822 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10828 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10833 if (! PySequence_Check(obj6
)) {
10834 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10837 arg7
= new wxArrayString
;
10838 int i
, len
=PySequence_Length(obj6
);
10839 for (i
=0; i
<len
; i
++) {
10840 PyObject
* item
= PySequence_GetItem(obj6
, i
);
10842 PyObject
* str
= PyObject_Unicode(item
);
10844 PyObject
* str
= PyObject_Str(item
);
10846 arg7
->Add(Py2wxString(str
));
10854 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10860 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10865 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10866 if (arg10
== NULL
) {
10867 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10872 arg11
= wxString_in_helper(obj10
);
10873 if (arg11
== NULL
) SWIG_fail
;
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 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
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10890 if (arg7
) delete arg7
;
10903 if (arg7
) delete arg7
;
10913 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self",(char *) "n", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10926 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->SetSelection(arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 char *kwnames
[] = {
10949 (char *) "self", NULL
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= SWIG_PyObj_FromInt((int)result
);
10968 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10972 PyObject
* obj0
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10999 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11002 wxString
*arg2
= 0 ;
11004 bool temp2
= False
;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "s", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11014 arg2
= wxString_in_helper(obj1
);
11015 if (arg2
== NULL
) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11040 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_PyObj_FromInt((int)result
);
11065 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11068 wxString
*arg2
= 0 ;
11070 bool temp2
= False
;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "s", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11080 arg2
= wxString_in_helper(obj1
);
11081 if (arg2
== NULL
) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= SWIG_PyObj_FromInt((int)result
);
11106 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self",(char *) "n", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11120 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11143 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11147 wxString
*arg3
= 0 ;
11148 bool temp3
= False
;
11149 PyObject
* obj0
= 0 ;
11150 PyObject
* obj1
= 0 ;
11151 PyObject
* obj2
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self",(char *) "n",(char *) "label", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11159 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 arg3
= wxString_in_helper(obj2
);
11164 if (arg3
== NULL
) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 Py_INCREF(Py_None
); resultobj
= Py_None
;
11189 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11193 bool arg3
= (bool) True
;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 PyObject
* obj2
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self",(char *) "n",(char *) "enable", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11204 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11209 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 (arg1
)->Enable(arg2
,arg3
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11231 bool arg3
= (bool) True
;
11232 PyObject
* obj0
= 0 ;
11233 PyObject
* obj1
= 0 ;
11234 PyObject
* obj2
= 0 ;
11235 char *kwnames
[] = {
11236 (char *) "self",(char *) "n",(char *) "show", NULL
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11242 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11247 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->Show(arg2
,arg3
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 Py_INCREF(Py_None
); resultobj
= Py_None
;
11265 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= SWIG_PyObj_FromInt((int)result
);
11290 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_PyObj_FromInt((int)result
);
11315 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
;
11317 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 PyObject
* obj2
= 0 ;
11325 PyObject
* obj3
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11333 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_PyObj_FromInt((int)result
);
11358 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11361 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11363 return Py_BuildValue((char *)"");
11365 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxWindow
*arg1
= (wxWindow
*) 0 ;
11369 wxString
*arg3
= 0 ;
11370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11374 long arg6
= (long) 0 ;
11375 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11376 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11377 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11378 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11379 wxRadioButton
*result
;
11380 bool temp3
= False
;
11383 bool temp8
= False
;
11384 PyObject
* obj0
= 0 ;
11385 PyObject
* obj1
= 0 ;
11386 PyObject
* obj2
= 0 ;
11387 PyObject
* obj3
= 0 ;
11388 PyObject
* obj4
= 0 ;
11389 PyObject
* obj5
= 0 ;
11390 PyObject
* obj6
= 0 ;
11391 PyObject
* obj7
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11399 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11403 arg3
= wxString_in_helper(obj2
);
11404 if (arg3
== NULL
) SWIG_fail
;
11410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11421 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11426 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11427 if (arg7
== NULL
) {
11428 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11433 arg8
= wxString_in_helper(obj7
);
11434 if (arg8
== NULL
) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11468 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
;
11470 wxRadioButton
*result
;
11471 char *kwnames
[] = {
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (wxRadioButton
*)new wxRadioButton();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11490 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11493 wxWindow
*arg2
= (wxWindow
*) 0 ;
11495 wxString
*arg4
= 0 ;
11496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11500 long arg7
= (long) 0 ;
11501 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11502 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11503 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11504 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11506 bool temp4
= False
;
11509 bool temp9
= False
;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 PyObject
* obj2
= 0 ;
11513 PyObject
* obj3
= 0 ;
11514 PyObject
* obj4
= 0 ;
11515 PyObject
* obj5
= 0 ;
11516 PyObject
* obj6
= 0 ;
11517 PyObject
* obj7
= 0 ;
11518 PyObject
* obj8
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11525 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11527 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11531 arg4
= wxString_in_helper(obj3
);
11532 if (arg4
== NULL
) SWIG_fail
;
11538 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11544 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11549 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11554 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11555 if (arg8
== NULL
) {
11556 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11561 arg9
= wxString_in_helper(obj8
);
11562 if (arg9
== NULL
) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11596 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (bool)(arg1
)->GetValue();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11621 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self",(char *) "value", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11634 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 (arg1
)->SetValue(arg2
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 Py_INCREF(Py_None
); resultobj
= Py_None
;
11651 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11654 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11656 return Py_BuildValue((char *)"");
11658 static int _wrap_SliderNameStr_set(PyObject
*) {
11659 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11664 static PyObject
*_wrap_SliderNameStr_get() {
11669 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11671 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11678 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxWindow
*arg1
= (wxWindow
*) 0 ;
11685 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11686 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11687 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11688 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11689 long arg8
= (long) wxSL_HORIZONTAL
;
11690 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11691 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11692 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11693 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11697 bool temp10
= False
;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 PyObject
* obj2
= 0 ;
11701 PyObject
* obj3
= 0 ;
11702 PyObject
* obj4
= 0 ;
11703 PyObject
* obj5
= 0 ;
11704 PyObject
* obj6
= 0 ;
11705 PyObject
* obj7
= 0 ;
11706 PyObject
* obj8
= 0 ;
11707 PyObject
* obj9
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11715 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11719 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11723 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11733 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11739 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11744 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11749 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11750 if (arg9
== NULL
) {
11751 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11756 arg10
= wxString_in_helper(obj9
);
11757 if (arg10
== NULL
) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11783 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11786 char *kwnames
[] = {
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (wxSlider
*)new wxSlider();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11805 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxSlider
*arg1
= (wxSlider
*) 0 ;
11808 wxWindow
*arg2
= (wxWindow
*) 0 ;
11813 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11814 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11815 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11816 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11817 long arg9
= (long) wxSL_HORIZONTAL
;
11818 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11819 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11820 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11821 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11825 bool temp11
= False
;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 PyObject
* obj2
= 0 ;
11829 PyObject
* obj3
= 0 ;
11830 PyObject
* obj4
= 0 ;
11831 PyObject
* obj5
= 0 ;
11832 PyObject
* obj6
= 0 ;
11833 PyObject
* obj7
= 0 ;
11834 PyObject
* obj8
= 0 ;
11835 PyObject
* obj9
= 0 ;
11836 PyObject
* obj10
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11843 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11845 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11849 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11863 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11869 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
11874 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11879 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11880 if (arg10
== NULL
) {
11881 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11886 arg11
= wxString_in_helper(obj10
);
11887 if (arg11
== NULL
) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11913 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxSlider
*arg1
= (wxSlider
*) 0 ;
11917 PyObject
* obj0
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (int)((wxSlider
const *)arg1
)->GetValue();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_PyObj_FromInt((int)result
);
11938 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxSlider
*arg1
= (wxSlider
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 PyObject
* obj1
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self",(char *) "value", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 (arg1
)->SetValue(arg2
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 Py_INCREF(Py_None
); resultobj
= Py_None
;
11968 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxSlider
*arg1
= (wxSlider
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 PyObject
* obj2
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11983 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 (arg1
)->SetRange(arg2
,arg3
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 Py_INCREF(Py_None
); resultobj
= Py_None
;
12004 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxSlider
*arg1
= (wxSlider
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_PyObj_FromInt((int)result
);
12029 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxSlider
*arg1
= (wxSlider
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_PyObj_FromInt((int)result
);
12054 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxSlider
*arg1
= (wxSlider
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "minValue", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12067 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 (arg1
)->SetMin(arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 Py_INCREF(Py_None
); resultobj
= Py_None
;
12084 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxSlider
*arg1
= (wxSlider
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "maxValue", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12097 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 (arg1
)->SetMax(arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 Py_INCREF(Py_None
); resultobj
= Py_None
;
12114 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxSlider
*arg1
= (wxSlider
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self",(char *) "lineSize", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12127 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 (arg1
)->SetLineSize(arg2
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 Py_INCREF(Py_None
); resultobj
= Py_None
;
12144 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxSlider
*arg1
= (wxSlider
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "pageSize", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12157 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 (arg1
)->SetPageSize(arg2
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 Py_INCREF(Py_None
); resultobj
= Py_None
;
12174 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxSlider
*arg1
= (wxSlider
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_PyObj_FromInt((int)result
);
12199 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxSlider
*arg1
= (wxSlider
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 resultobj
= SWIG_PyObj_FromInt((int)result
);
12224 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxSlider
*arg1
= (wxSlider
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "lenPixels", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 (arg1
)->SetThumbLength(arg2
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12254 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxSlider
*arg1
= (wxSlider
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 resultobj
= SWIG_PyObj_FromInt((int)result
);
12279 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxSlider
*arg1
= (wxSlider
*) 0 ;
12283 int arg3
= (int) 1 ;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 PyObject
* obj2
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self",(char *) "n",(char *) "pos", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12294 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12299 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 (arg1
)->SetTickFreq(arg2
,arg3
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 Py_INCREF(Py_None
); resultobj
= Py_None
;
12317 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxSlider
*arg1
= (wxSlider
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_PyObj_FromInt((int)result
);
12342 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxSlider
*arg1
= (wxSlider
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 (arg1
)->ClearTicks();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 Py_INCREF(Py_None
); resultobj
= Py_None
;
12366 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxSlider
*arg1
= (wxSlider
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self",(char *) "tickPos", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12379 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 (arg1
)->SetTick(arg2
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_Slider_ClearSel(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_ClearSel",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
)->ClearSel();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 Py_INCREF(Py_None
); resultobj
= Py_None
;
12420 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxSlider
*arg1
= (wxSlider
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "self", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= SWIG_PyObj_FromInt((int)result
);
12445 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
;
12447 wxSlider
*arg1
= (wxSlider
*) 0 ;
12449 PyObject
* obj0
= 0 ;
12450 char *kwnames
[] = {
12451 (char *) "self", NULL
12454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= SWIG_PyObj_FromInt((int)result
);
12470 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxSlider
*arg1
= (wxSlider
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 PyObject
* obj2
= 0 ;
12478 char *kwnames
[] = {
12479 (char *) "self",(char *) "min",(char *) "max", NULL
12482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12485 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12489 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 (arg1
)->SetSelection(arg2
,arg3
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 Py_INCREF(Py_None
); resultobj
= Py_None
;
12506 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12509 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12511 return Py_BuildValue((char *)"");
12513 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12514 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12519 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12524 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12526 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12533 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxWindow
*arg1
= (wxWindow
*) 0 ;
12537 wxString
*arg3
= 0 ;
12538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12542 long arg6
= (long) 0 ;
12543 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12544 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12545 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12546 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12547 wxToggleButton
*result
;
12548 bool temp3
= False
;
12551 bool temp8
= False
;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 PyObject
* obj2
= 0 ;
12555 PyObject
* obj3
= 0 ;
12556 PyObject
* obj4
= 0 ;
12557 PyObject
* obj5
= 0 ;
12558 PyObject
* obj6
= 0 ;
12559 PyObject
* obj7
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12567 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12571 arg3
= wxString_in_helper(obj2
);
12572 if (arg3
== NULL
) SWIG_fail
;
12578 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12584 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12589 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12594 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12595 if (arg7
== NULL
) {
12596 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12601 arg8
= wxString_in_helper(obj7
);
12602 if (arg8
== NULL
) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12636 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxToggleButton
*result
;
12639 char *kwnames
[] = {
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (wxToggleButton
*)new wxToggleButton();
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12658 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
12660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12661 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12663 return Py_BuildValue((char *)"");
12665 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12666 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12671 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12676 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12678 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12685 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
12710 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self",(char *) "n", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12724 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= wxPyMake_wxObject(result
);
12743 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_PyObj_FromInt((int)result
);
12768 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12772 wxString
*arg3
= 0 ;
12774 bool temp3
= False
;
12775 PyObject
* obj0
= 0 ;
12776 PyObject
* obj1
= 0 ;
12777 PyObject
* obj2
= 0 ;
12778 char *kwnames
[] = {
12779 (char *) "self",(char *) "n",(char *) "strText", NULL
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12785 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12789 arg3
= wxString_in_helper(obj2
);
12790 if (arg3
== NULL
) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12815 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self",(char *) "n", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
12827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12829 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12852 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12855 wxImageList
*arg2
= (wxImageList
*) 0 ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self",(char *) "imageList", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 (arg1
)->SetImageList(arg2
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 Py_INCREF(Py_None
); resultobj
= Py_None
;
12879 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12882 wxImageList
*arg2
= (wxImageList
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 PyObject
* obj1
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self",(char *) "imageList", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 (arg1
)->AssignImageList(arg2
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 Py_INCREF(Py_None
); resultobj
= Py_None
;
12906 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
;
12908 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12909 wxImageList
*result
;
12910 PyObject
* obj0
= 0 ;
12911 char *kwnames
[] = {
12912 (char *) "self", NULL
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
12916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12925 resultobj
= wxPyMake_wxObject(result
);
12933 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self",(char *) "n", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12947 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_PyObj_FromInt((int)result
);
12964 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 PyObject
* obj2
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "n",(char *) "imageId", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12980 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12984 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13001 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self",(char *) "size", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 Py_INCREF(Py_None
); resultobj
= Py_None
;
13032 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self",(char *) "sizePage", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13048 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13058 wxSize
* resultptr
;
13059 resultptr
= new wxSize((wxSize
&) result
);
13060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13068 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 char *kwnames
[] = {
13076 (char *) "self",(char *) "n", NULL
13079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13082 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (bool)(arg1
)->DeletePage(arg2
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13099 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self",(char *) "n", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13113 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (bool)(arg1
)->RemovePage(arg2
);
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13130 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
;
13132 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (bool)(arg1
)->DeleteAllPages();
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13155 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13158 wxWindow
*arg2
= (wxWindow
*) 0 ;
13159 wxString
*arg3
= 0 ;
13160 bool arg4
= (bool) False
;
13161 int arg5
= (int) -1 ;
13163 bool temp3
= False
;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 PyObject
* obj2
= 0 ;
13167 PyObject
* obj3
= 0 ;
13168 PyObject
* obj4
= 0 ;
13169 char *kwnames
[] = {
13170 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13177 arg3
= wxString_in_helper(obj2
);
13178 if (arg3
== NULL
) SWIG_fail
;
13183 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13189 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13219 wxWindow
*arg3
= (wxWindow
*) 0 ;
13220 wxString
*arg4
= 0 ;
13221 bool arg5
= (bool) False
;
13222 int arg6
= (int) -1 ;
13224 bool temp4
= False
;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 PyObject
* obj2
= 0 ;
13228 PyObject
* obj3
= 0 ;
13229 PyObject
* obj4
= 0 ;
13230 PyObject
* obj5
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13238 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13243 arg4
= wxString_in_helper(obj3
);
13244 if (arg4
== NULL
) SWIG_fail
;
13249 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13255 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13281 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self",(char *) "n", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13295 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (int)(arg1
)->SetSelection(arg2
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_PyObj_FromInt((int)result
);
13312 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13315 bool arg2
= (bool) True
;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "forward", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13326 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 (arg1
)->AdvanceSelection(arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 Py_INCREF(Py_None
); resultobj
= Py_None
;
13344 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13347 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13349 return Py_BuildValue((char *)"");
13351 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13354 int arg2
= (int) 0 ;
13355 int arg3
= (int) -1 ;
13356 int arg4
= (int) -1 ;
13357 wxBookCtrlEvent
*result
;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 PyObject
* obj2
= 0 ;
13361 PyObject
* obj3
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13369 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13375 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13381 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13387 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13405 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_PyObj_FromInt((int)result
);
13430 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "nSel", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13443 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 (arg1
)->SetSelection(arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 Py_INCREF(Py_None
); resultobj
= Py_None
;
13460 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_PyObj_FromInt((int)result
);
13485 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "self",(char *) "nOldSel", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13498 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 (arg1
)->SetOldSelection(arg2
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 Py_INCREF(Py_None
); resultobj
= Py_None
;
13515 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13518 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13520 return Py_BuildValue((char *)"");
13522 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxWindow
*arg1
= (wxWindow
*) 0 ;
13526 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13527 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13528 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13529 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13530 long arg5
= (long) 0 ;
13531 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13532 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13533 wxNotebook
*result
;
13536 bool temp6
= False
;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 PyObject
* obj2
= 0 ;
13540 PyObject
* obj3
= 0 ;
13541 PyObject
* obj4
= 0 ;
13542 PyObject
* obj5
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13550 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13567 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13573 arg6
= wxString_in_helper(obj5
);
13574 if (arg6
== NULL
) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= wxPyMake_wxObject(result
);
13602 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxNotebook
*result
;
13605 char *kwnames
[] = {
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (wxNotebook
*)new wxNotebook();
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= wxPyMake_wxObject(result
);
13626 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13629 wxWindow
*arg2
= (wxWindow
*) 0 ;
13631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13635 long arg6
= (long) 0 ;
13636 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13637 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13641 bool temp7
= False
;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 PyObject
* obj2
= 0 ;
13645 PyObject
* obj3
= 0 ;
13646 PyObject
* obj4
= 0 ;
13647 PyObject
* obj5
= 0 ;
13648 PyObject
* obj6
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13657 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13674 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13680 arg7
= wxString_in_helper(obj6
);
13681 if (arg7
== NULL
) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13707 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_PyObj_FromInt((int)result
);
13732 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13737 PyObject
* obj0
= 0 ;
13738 PyObject
* obj1
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self",(char *) "padding", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13747 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 (arg1
)->SetPadding((wxSize
const &)*arg2
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 Py_INCREF(Py_None
); resultobj
= Py_None
;
13763 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self",(char *) "sz", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13778 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 Py_INCREF(Py_None
); resultobj
= Py_None
;
13794 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
;
13796 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13797 wxPoint
*arg2
= 0 ;
13798 long *arg3
= (long *) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 PyObject
* obj1
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "self",(char *) "pt", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_PyObj_FromInt((int)result
);
13824 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13825 resultobj
= t_output_helper(resultobj
,o
);
13833 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self",(char *) "sizePage", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13859 wxSize
* resultptr
;
13860 resultptr
= new wxSize((wxSize
&) result
);
13861 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13869 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
13871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13872 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
13874 return Py_BuildValue((char *)"");
13876 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13879 int arg2
= (int) 0 ;
13880 int arg3
= (int) -1 ;
13881 int arg4
= (int) -1 ;
13882 wxNotebookEvent
*result
;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 PyObject
* obj2
= 0 ;
13886 PyObject
* obj3
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13894 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13900 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13906 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13912 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
13930 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13933 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
13935 return Py_BuildValue((char *)"");
13937 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxWindow
*arg1
= (wxWindow
*) 0 ;
13941 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13942 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13943 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13944 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13945 long arg5
= (long) 0 ;
13946 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13947 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13948 wxListbook
*result
;
13951 bool temp6
= False
;
13952 PyObject
* obj0
= 0 ;
13953 PyObject
* obj1
= 0 ;
13954 PyObject
* obj2
= 0 ;
13955 PyObject
* obj3
= 0 ;
13956 PyObject
* obj4
= 0 ;
13957 PyObject
* obj5
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13965 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13977 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13982 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13988 arg6
= wxString_in_helper(obj5
);
13989 if (arg6
== NULL
) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14015 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxListbook
*result
;
14018 char *kwnames
[] = {
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (wxListbook
*)new wxListbook();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14037 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxListbook
*arg1
= (wxListbook
*) 0 ;
14040 wxWindow
*arg2
= (wxWindow
*) 0 ;
14042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14046 long arg6
= (long) 0 ;
14047 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14052 bool temp7
= False
;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 PyObject
* obj2
= 0 ;
14056 PyObject
* obj3
= 0 ;
14057 PyObject
* obj4
= 0 ;
14058 PyObject
* obj5
= 0 ;
14059 PyObject
* obj6
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14068 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14074 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14080 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14085 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14091 arg7
= wxString_in_helper(obj6
);
14092 if (arg7
== NULL
) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14118 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxListbook
*arg1
= (wxListbook
*) 0 ;
14122 PyObject
* obj0
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14143 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14146 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14148 return Py_BuildValue((char *)"");
14150 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14153 int arg2
= (int) 0 ;
14154 int arg3
= (int) -1 ;
14155 int arg4
= (int) -1 ;
14156 wxListbookEvent
*result
;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 PyObject
* obj2
= 0 ;
14160 PyObject
* obj3
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14168 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14174 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14180 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14186 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14204 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14207 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14209 return Py_BuildValue((char *)"");
14211 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14214 wxBookCtrlSizer
*result
;
14215 PyObject
* obj0
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "nb", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14236 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 (arg1
)->RecalcSizes();
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 Py_INCREF(Py_None
); resultobj
= Py_None
;
14260 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (arg1
)->CalcMin();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 wxSize
* resultptr
;
14280 resultptr
= new wxSize((wxSize
&) result
);
14281 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14289 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14292 wxBookCtrl
*result
;
14293 PyObject
* obj0
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14314 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14317 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14319 return Py_BuildValue((char *)"");
14321 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14324 wxNotebookSizer
*result
;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "nb", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14346 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14349 PyObject
* obj0
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 (arg1
)->RecalcSizes();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 Py_INCREF(Py_None
); resultobj
= Py_None
;
14370 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (arg1
)->CalcMin();
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14389 wxSize
* resultptr
;
14390 resultptr
= new wxSize((wxSize
&) result
);
14391 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14399 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14402 wxNotebook
*result
;
14403 PyObject
* obj0
= 0 ;
14404 char *kwnames
[] = {
14405 (char *) "self", NULL
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= wxPyMake_wxObject(result
);
14426 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14429 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14431 return Py_BuildValue((char *)"");
14433 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (int)(arg1
)->GetId();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_PyObj_FromInt((int)result
);
14458 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (wxControl
*)(arg1
)->GetControl();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= wxPyMake_wxObject(result
);
14485 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14488 wxToolBarBase
*result
;
14489 PyObject
* obj0
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= wxPyMake_wxObject(result
);
14512 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (int)(arg1
)->IsButton();
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= SWIG_PyObj_FromInt((int)result
);
14537 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (int)(arg1
)->IsControl();
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= SWIG_PyObj_FromInt((int)result
);
14562 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14566 PyObject
* obj0
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (int)(arg1
)->IsSeparator();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_PyObj_FromInt((int)result
);
14587 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (int)(arg1
)->GetStyle();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= SWIG_PyObj_FromInt((int)result
);
14612 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (int)(arg1
)->GetKind();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_PyObj_FromInt((int)result
);
14637 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (bool)(arg1
)->IsEnabled();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14662 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 result
= (bool)(arg1
)->IsToggled();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14687 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
14697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (bool)(arg1
)->CanBeToggled();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14712 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
;
14714 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
14727 result
= (wxBitmap
*) &_result_ref
;
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14740 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",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();
14754 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
14755 result
= (wxBitmap
*) &_result_ref
;
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14768 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
14778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (arg1
)->GetBitmap();
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14787 wxBitmap
* resultptr
;
14788 resultptr
= new wxBitmap((wxBitmap
&) result
);
14789 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14797 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (arg1
)->GetLabel();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14828 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14832 PyObject
* obj0
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
14838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (arg1
)->GetShortHelp();
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14859 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (arg1
)->GetLongHelp();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14890 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self",(char *) "enable", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14904 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (bool)(arg1
)->Enable(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14921 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 Py_INCREF(Py_None
); resultobj
= Py_None
;
14945 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self",(char *) "toggle", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14959 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (bool)(arg1
)->SetToggle(arg2
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14976 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14979 wxString
*arg2
= 0 ;
14981 bool temp2
= False
;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self",(char *) "help", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
14989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14991 arg2
= wxString_in_helper(obj1
);
14992 if (arg2
== NULL
) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15017 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15020 wxString
*arg2
= 0 ;
15022 bool temp2
= False
;
15023 PyObject
* obj0
= 0 ;
15024 PyObject
* obj1
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self",(char *) "help", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15032 arg2
= wxString_in_helper(obj1
);
15033 if (arg2
== NULL
) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15058 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15061 wxBitmap
*arg2
= 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self",(char *) "bmp", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15071 if (arg2
== NULL
) {
15072 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 Py_INCREF(Py_None
); resultobj
= Py_None
;
15088 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15091 wxBitmap
*arg2
= 0 ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "self",(char *) "bmp", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15101 if (arg2
== NULL
) {
15102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15121 wxString
*arg2
= 0 ;
15122 bool temp2
= False
;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self",(char *) "label", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15132 arg2
= wxString_in_helper(obj1
);
15133 if (arg2
== NULL
) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 (arg1
)->SetLabel((wxString
const &)*arg2
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 Py_INCREF(Py_None
); resultobj
= Py_None
;
15158 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15185 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self",(char *) "tbar", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15194 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 (arg1
)->Attach(arg2
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 Py_INCREF(Py_None
); resultobj
= Py_None
;
15209 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15227 resultobj
= result
;
15234 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15237 PyObject
*arg2
= (PyObject
*) 0 ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "clientData", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 Py_INCREF(Py_None
); resultobj
= Py_None
;
15261 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15264 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15266 return Py_BuildValue((char *)"");
15268 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15272 wxString
*arg3
= 0 ;
15273 wxBitmap
*arg4
= 0 ;
15274 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15275 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15276 int arg6
= (int) wxITEM_NORMAL
;
15277 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15278 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15279 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15280 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15281 PyObject
*arg9
= (PyObject
*) NULL
;
15282 wxToolBarToolBase
*result
;
15283 bool temp3
= False
;
15284 bool temp7
= False
;
15285 bool temp8
= False
;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15289 PyObject
* obj3
= 0 ;
15290 PyObject
* obj4
= 0 ;
15291 PyObject
* obj5
= 0 ;
15292 PyObject
* obj6
= 0 ;
15293 PyObject
* obj7
= 0 ;
15294 PyObject
* obj8
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15302 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 arg3
= wxString_in_helper(obj2
);
15307 if (arg3
== NULL
) SWIG_fail
;
15310 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15311 if (arg4
== NULL
) {
15312 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15315 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15316 if (arg5
== NULL
) {
15317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15322 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15328 arg7
= wxString_in_helper(obj6
);
15329 if (arg7
== NULL
) SWIG_fail
;
15335 arg8
= wxString_in_helper(obj7
);
15336 if (arg8
== NULL
) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= wxPyMake_wxObject(result
);
15383 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15388 wxString
*arg4
= 0 ;
15389 wxBitmap
*arg5
= 0 ;
15390 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15391 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15392 int arg7
= (int) wxITEM_NORMAL
;
15393 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15395 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15396 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15397 PyObject
*arg10
= (PyObject
*) NULL
;
15398 wxToolBarToolBase
*result
;
15399 bool temp4
= False
;
15400 bool temp8
= False
;
15401 bool temp9
= False
;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 PyObject
* obj2
= 0 ;
15405 PyObject
* obj3
= 0 ;
15406 PyObject
* obj4
= 0 ;
15407 PyObject
* obj5
= 0 ;
15408 PyObject
* obj6
= 0 ;
15409 PyObject
* obj7
= 0 ;
15410 PyObject
* obj8
= 0 ;
15411 PyObject
* obj9
= 0 ;
15412 char *kwnames
[] = {
15413 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15419 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15423 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15427 arg4
= wxString_in_helper(obj3
);
15428 if (arg4
== NULL
) SWIG_fail
;
15431 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15432 if (arg5
== NULL
) {
15433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15436 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15437 if (arg6
== NULL
) {
15438 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15443 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15449 arg8
= wxString_in_helper(obj7
);
15450 if (arg8
== NULL
) SWIG_fail
;
15456 arg9
= wxString_in_helper(obj8
);
15457 if (arg9
== NULL
) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 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
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15472 resultobj
= wxPyMake_wxObject(result
);
15504 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15507 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15508 wxToolBarToolBase
*result
;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 char *kwnames
[] = {
15512 (char *) "self",(char *) "tool", NULL
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= wxPyMake_wxObject(result
);
15534 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15538 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15539 wxToolBarToolBase
*result
;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 PyObject
* obj2
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self",(char *) "pos",(char *) "tool", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15550 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= wxPyMake_wxObject(result
);
15570 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15573 wxControl
*arg2
= (wxControl
*) 0 ;
15574 wxToolBarToolBase
*result
;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self",(char *) "control", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= wxPyMake_wxObject(result
);
15600 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15604 wxControl
*arg3
= (wxControl
*) 0 ;
15605 wxToolBarToolBase
*result
;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 PyObject
* obj2
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self",(char *) "pos",(char *) "control", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15616 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15628 resultobj
= wxPyMake_wxObject(result
);
15636 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15641 PyObject
* obj0
= 0 ;
15642 PyObject
* obj1
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "self",(char *) "id", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15650 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= wxPyMake_wxObject(result
);
15669 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15672 wxToolBarToolBase
*result
;
15673 PyObject
* obj0
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= wxPyMake_wxObject(result
);
15696 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15698 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15700 wxToolBarToolBase
*result
;
15701 PyObject
* obj0
= 0 ;
15702 PyObject
* obj1
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self",(char *) "pos", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
15708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15710 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= wxPyMake_wxObject(result
);
15729 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15733 wxToolBarToolBase
*result
;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self",(char *) "id", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15743 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= wxPyMake_wxObject(result
);
15762 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15767 PyObject
* obj0
= 0 ;
15768 PyObject
* obj1
= 0 ;
15769 char *kwnames
[] = {
15770 (char *) "self",(char *) "pos", NULL
15773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
15774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15776 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15793 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "id", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (bool)(arg1
)->DeleteTool(arg2
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15824 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15827 PyObject
* obj0
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 (arg1
)->ClearTools();
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 Py_INCREF(Py_None
); resultobj
= Py_None
;
15848 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (bool)(arg1
)->Realize();
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15873 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 PyObject
* obj2
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self",(char *) "id",(char *) "enable", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15888 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15892 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->EnableTool(arg2
,arg3
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 PyObject
* obj2
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self",(char *) "id",(char *) "toggle", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15924 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15928 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 (arg1
)->ToggleTool(arg2
,arg3
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 Py_INCREF(Py_None
); resultobj
= Py_None
;
15945 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 PyObject
* obj2
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self",(char *) "id",(char *) "toggle", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15960 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 (arg1
)->SetToggle(arg2
,arg3
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 Py_INCREF(Py_None
); resultobj
= Py_None
;
15981 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self",(char *) "id", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15995 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= result
;
16012 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16016 PyObject
*arg3
= (PyObject
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 PyObject
* obj1
= 0 ;
16019 PyObject
* obj2
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self",(char *) "id",(char *) "clientData", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16027 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 Py_INCREF(Py_None
); resultobj
= Py_None
;
16045 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "id", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16059 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= SWIG_PyObj_FromInt((int)result
);
16076 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 PyObject
* obj1
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self",(char *) "id", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16090 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (bool)(arg1
)->GetToolState(arg2
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16107 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "id", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16121 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16138 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16142 wxString
*arg3
= 0 ;
16143 bool temp3
= False
;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 PyObject
* obj2
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "id",(char *) "helpString", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16154 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16158 arg3
= wxString_in_helper(obj2
);
16159 if (arg3
== NULL
) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 Py_INCREF(Py_None
); resultobj
= Py_None
;
16184 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self",(char *) "id", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16198 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (arg1
)->GetToolShortHelp(arg2
);
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16221 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16225 wxString
*arg3
= 0 ;
16226 bool temp3
= False
;
16227 PyObject
* obj0
= 0 ;
16228 PyObject
* obj1
= 0 ;
16229 PyObject
* obj2
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self",(char *) "id",(char *) "helpString", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16241 arg3
= wxString_in_helper(obj2
);
16242 if (arg3
== NULL
) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 Py_INCREF(Py_None
); resultobj
= Py_None
;
16267 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self",(char *) "id", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16281 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (arg1
)->GetToolLongHelp(arg2
);
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16304 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 PyObject
* obj2
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self",(char *) "x",(char *) "y", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16319 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 (arg1
)->SetMargins(arg2
,arg3
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 Py_INCREF(Py_None
); resultobj
= Py_None
;
16340 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self",(char *) "size", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16355 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 Py_INCREF(Py_None
); resultobj
= Py_None
;
16371 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16375 PyObject
* obj0
= 0 ;
16376 PyObject
* obj1
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self",(char *) "packing", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16384 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 (arg1
)->SetToolPacking(arg2
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 Py_INCREF(Py_None
); resultobj
= Py_None
;
16401 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "separation", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16414 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 (arg1
)->SetToolSeparation(arg2
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 Py_INCREF(Py_None
); resultobj
= Py_None
;
16431 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (arg1
)->GetToolMargins();
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16450 wxSize
* resultptr
;
16451 resultptr
= new wxSize((wxSize
&) result
);
16452 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16460 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 result
= (arg1
)->GetMargins();
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16479 wxSize
* resultptr
;
16480 resultptr
= new wxSize((wxSize
&) result
);
16481 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16489 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 result
= (int)(arg1
)->GetToolPacking();
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= SWIG_PyObj_FromInt((int)result
);
16514 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (int)(arg1
)->GetToolSeparation();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= SWIG_PyObj_FromInt((int)result
);
16539 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self",(char *) "nRows", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16552 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 (arg1
)->SetRows(arg2
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 Py_INCREF(Py_None
); resultobj
= Py_None
;
16569 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 PyObject
* obj2
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self",(char *) "rows",(char *) "cols", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16584 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16588 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 Py_INCREF(Py_None
); resultobj
= Py_None
;
16605 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (int)(arg1
)->GetMaxRows();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_PyObj_FromInt((int)result
);
16630 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 result
= (int)(arg1
)->GetMaxCols();
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= SWIG_PyObj_FromInt((int)result
);
16655 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self",(char *) "size", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16670 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 Py_INCREF(Py_None
); resultobj
= Py_None
;
16686 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(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_GetToolBitmapSize",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
)->GetToolBitmapSize();
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_GetToolSize(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_GetToolSize",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
)->GetToolSize();
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_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16749 wxToolBarToolBase
*result
;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 PyObject
* obj2
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self",(char *) "x",(char *) "y", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16760 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16764 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= wxPyMake_wxObject(result
);
16783 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16787 wxToolBarToolBase
*result
;
16788 PyObject
* obj0
= 0 ;
16789 PyObject
* obj1
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "self",(char *) "toolid", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
16795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= wxPyMake_wxObject(result
);
16816 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16820 PyObject
* obj0
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (bool)(arg1
)->IsVertical();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16841 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
16843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16844 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
16846 return Py_BuildValue((char *)"");
16848 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxWindow
*arg1
= (wxWindow
*) 0 ;
16852 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16853 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16854 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16855 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16856 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
16857 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
16858 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16862 bool temp6
= False
;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 PyObject
* obj2
= 0 ;
16866 PyObject
* obj3
= 0 ;
16867 PyObject
* obj4
= 0 ;
16868 PyObject
* obj5
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16876 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16882 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16888 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16893 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16899 arg6
= wxString_in_helper(obj5
);
16900 if (arg6
== NULL
) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= wxPyMake_wxObject(result
);
16928 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16931 char *kwnames
[] = {
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (wxToolBar
*)new wxToolBar();
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= wxPyMake_wxObject(result
);
16952 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
16955 wxWindow
*arg2
= (wxWindow
*) 0 ;
16957 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16958 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16959 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16960 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16961 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
16962 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
16963 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16967 bool temp7
= False
;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 PyObject
* obj2
= 0 ;
16971 PyObject
* obj3
= 0 ;
16972 PyObject
* obj4
= 0 ;
16973 PyObject
* obj5
= 0 ;
16974 PyObject
* obj6
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16981 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16983 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17000 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17006 arg7
= wxString_in_helper(obj6
);
17007 if (arg7
== NULL
) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17033 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17038 wxToolBarToolBase
*result
;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 PyObject
* obj2
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self",(char *) "x",(char *) "y", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17049 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17053 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= wxPyMake_wxObject(result
);
17072 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17075 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17077 return Py_BuildValue((char *)"");
17079 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17080 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17085 static PyObject
*_wrap_ListCtrlNameStr_get() {
17090 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17092 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17099 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxColour
const &arg1_defvalue
= wxNullColour
;
17102 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17103 wxColour
const &arg2_defvalue
= wxNullColour
;
17104 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17105 wxFont
const &arg3_defvalue
= wxNullFont
;
17106 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17107 wxListItemAttr
*result
;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 PyObject
* obj2
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17121 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17127 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17131 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17132 if (arg3
== NULL
) {
17133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17150 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17153 wxColour
*arg2
= 0 ;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "colText", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 Py_INCREF(Py_None
); resultobj
= Py_None
;
17181 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17184 wxColour
*arg2
= 0 ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self",(char *) "colBack", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17196 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 Py_INCREF(Py_None
); resultobj
= Py_None
;
17212 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self",(char *) "font", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17225 if (arg2
== NULL
) {
17226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 (arg1
)->SetFont((wxFont
const &)*arg2
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 Py_INCREF(Py_None
); resultobj
= Py_None
;
17242 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (bool)(arg1
)->HasTextColour();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17267 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (bool)(arg1
)->HasBackgroundColour();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17292 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (bool)(arg1
)->HasFont();
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17317 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= (arg1
)->GetTextColour();
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 wxColour
* resultptr
;
17337 resultptr
= new wxColour((wxColour
&) result
);
17338 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17346 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (arg1
)->GetBackgroundColour();
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 wxColour
* resultptr
;
17366 resultptr
= new wxColour((wxColour
&) result
);
17367 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17375 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= (arg1
)->GetFont();
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17394 wxFont
* resultptr
;
17395 resultptr
= new wxFont((wxFont
&) result
);
17396 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17404 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17407 PyObject
* obj0
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 wxListItemAttr_Destroy(arg1
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 Py_INCREF(Py_None
); resultobj
= Py_None
;
17428 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17431 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17433 return Py_BuildValue((char *)"");
17435 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
;
17437 wxListItem
*result
;
17438 char *kwnames
[] = {
17442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (wxListItem
*)new wxListItem();
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= wxPyMake_wxObject(result
);
17459 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17461 wxListItem
*arg1
= (wxListItem
*) 0 ;
17462 PyObject
* obj0
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxListItem
*arg1
= (wxListItem
*) 0 ;
17486 PyObject
* obj0
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 Py_INCREF(Py_None
); resultobj
= Py_None
;
17507 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxListItem
*arg1
= (wxListItem
*) 0 ;
17510 PyObject
* obj0
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 (arg1
)->ClearAttributes();
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 Py_INCREF(Py_None
); resultobj
= Py_None
;
17531 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxListItem
*arg1
= (wxListItem
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "mask", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17544 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 (arg1
)->SetMask(arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 Py_INCREF(Py_None
); resultobj
= Py_None
;
17561 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxListItem
*arg1
= (wxListItem
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "id", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17574 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 (arg1
)->SetId(arg2
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 Py_INCREF(Py_None
); resultobj
= Py_None
;
17591 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxListItem
*arg1
= (wxListItem
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self",(char *) "col", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17604 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 (arg1
)->SetColumn(arg2
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 Py_INCREF(Py_None
); resultobj
= Py_None
;
17621 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxListItem
*arg1
= (wxListItem
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "state", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17634 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 (arg1
)->SetState(arg2
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 Py_INCREF(Py_None
); resultobj
= Py_None
;
17651 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxListItem
*arg1
= (wxListItem
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self",(char *) "stateMask", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17664 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 (arg1
)->SetStateMask(arg2
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 Py_INCREF(Py_None
); resultobj
= Py_None
;
17681 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxListItem
*arg1
= (wxListItem
*) 0 ;
17684 wxString
*arg2
= 0 ;
17685 bool temp2
= False
;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self",(char *) "text", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17695 arg2
= wxString_in_helper(obj1
);
17696 if (arg2
== NULL
) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 (arg1
)->SetText((wxString
const &)*arg2
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxListItem
*arg1
= (wxListItem
*) 0 ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self",(char *) "image", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17734 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 (arg1
)->SetImage(arg2
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 Py_INCREF(Py_None
); resultobj
= Py_None
;
17751 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxListItem
*arg1
= (wxListItem
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 PyObject
* obj1
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "data", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17764 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 (arg1
)->SetData(arg2
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 Py_INCREF(Py_None
); resultobj
= Py_None
;
17781 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
;
17783 wxListItem
*arg1
= (wxListItem
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 char *kwnames
[] = {
17788 (char *) "self",(char *) "width", NULL
17791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
17792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17794 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 (arg1
)->SetWidth(arg2
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 Py_INCREF(Py_None
); resultobj
= Py_None
;
17811 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxListItem
*arg1
= (wxListItem
*) 0 ;
17815 PyObject
* obj0
= 0 ;
17816 PyObject
* obj1
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self",(char *) "align", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
17822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17824 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 Py_INCREF(Py_None
); resultobj
= Py_None
;
17841 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxListItem
*arg1
= (wxListItem
*) 0 ;
17844 wxColour
*arg2
= 0 ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self",(char *) "colText", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17856 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 Py_INCREF(Py_None
); resultobj
= Py_None
;
17872 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxListItem
*arg1
= (wxListItem
*) 0 ;
17875 wxColour
*arg2
= 0 ;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "colBack", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17887 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 Py_INCREF(Py_None
); resultobj
= Py_None
;
17903 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxListItem
*arg1
= (wxListItem
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self",(char *) "font", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17916 if (arg2
== NULL
) {
17917 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 (arg1
)->SetFont((wxFont
const &)*arg2
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 Py_INCREF(Py_None
); resultobj
= Py_None
;
17933 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxListItem
*arg1
= (wxListItem
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (long)(arg1
)->GetMask();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= SWIG_PyObj_FromLong((long)result
);
17958 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
;
17960 wxListItem
*arg1
= (wxListItem
*) 0 ;
17962 PyObject
* obj0
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (long)(arg1
)->GetId();
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_PyObj_FromLong((long)result
);
17983 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 wxListItem
*arg1
= (wxListItem
*) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
17993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 result
= (int)(arg1
)->GetColumn();
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= SWIG_PyObj_FromInt((int)result
);
18008 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxListItem
*arg1
= (wxListItem
*) 0 ;
18012 PyObject
* obj0
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (long)(arg1
)->GetState();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_PyObj_FromLong((long)result
);
18033 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxListItem
*arg1
= (wxListItem
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 wxString
const &_result_ref
= (arg1
)->GetText();
18048 result
= (wxString
*) &_result_ref
;
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18058 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18067 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxListItem
*arg1
= (wxListItem
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= (int)(arg1
)->GetImage();
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= SWIG_PyObj_FromInt((int)result
);
18092 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxListItem
*arg1
= (wxListItem
*) 0 ;
18096 PyObject
* obj0
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (long)(arg1
)->GetData();
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_PyObj_FromLong((long)result
);
18117 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxListItem
*arg1
= (wxListItem
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (int)(arg1
)->GetWidth();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= SWIG_PyObj_FromInt((int)result
);
18142 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxListItem
*arg1
= (wxListItem
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= (int)(arg1
)->GetAlign();
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= SWIG_PyObj_FromInt((int)result
);
18167 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxListItem
*arg1
= (wxListItem
*) 0 ;
18170 wxListItemAttr
*result
;
18171 PyObject
* obj0
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18192 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxListItem
*arg1
= (wxListItem
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (bool)(arg1
)->HasAttributes();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18217 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxListItem
*arg1
= (wxListItem
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18236 wxColour
* resultptr
;
18237 resultptr
= new wxColour((wxColour
&) result
);
18238 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18246 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18247 PyObject
*resultobj
;
18248 wxListItem
*arg1
= (wxListItem
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18265 wxColour
* resultptr
;
18266 resultptr
= new wxColour((wxColour
&) result
);
18267 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18275 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
;
18277 wxListItem
*arg1
= (wxListItem
*) 0 ;
18279 PyObject
* obj0
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "self", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= ((wxListItem
const *)arg1
)->GetFont();
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 wxFont
* resultptr
;
18295 resultptr
= new wxFont((wxFont
&) result
);
18296 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18304 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxListItem
*arg1
= (wxListItem
*) 0 ;
18308 PyObject
* obj0
= 0 ;
18309 PyObject
* obj1
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self",(char *) "m_mask", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18317 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 if (arg1
) (arg1
)->m_mask
= arg2
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18329 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxListItem
*arg1
= (wxListItem
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18340 result
= (long) ((arg1
)->m_mask
);
18342 resultobj
= SWIG_PyObj_FromLong((long)result
);
18349 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxListItem
*arg1
= (wxListItem
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "m_itemId", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18362 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 if (arg1
) (arg1
)->m_itemId
= arg2
;
18367 Py_INCREF(Py_None
); resultobj
= Py_None
;
18374 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxListItem
*arg1
= (wxListItem
*) 0 ;
18378 PyObject
* obj0
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "self", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18385 result
= (long) ((arg1
)->m_itemId
);
18387 resultobj
= SWIG_PyObj_FromLong((long)result
);
18394 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxListItem
*arg1
= (wxListItem
*) 0 ;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "m_col", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18407 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 if (arg1
) (arg1
)->m_col
= arg2
;
18412 Py_INCREF(Py_None
); resultobj
= Py_None
;
18419 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxListItem
*arg1
= (wxListItem
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18430 result
= (int) ((arg1
)->m_col
);
18432 resultobj
= SWIG_PyObj_FromInt((int)result
);
18439 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxListItem
*arg1
= (wxListItem
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self",(char *) "m_state", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18452 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 if (arg1
) (arg1
)->m_state
= arg2
;
18457 Py_INCREF(Py_None
); resultobj
= Py_None
;
18464 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxListItem
*arg1
= (wxListItem
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18475 result
= (long) ((arg1
)->m_state
);
18477 resultobj
= SWIG_PyObj_FromLong((long)result
);
18484 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxListItem
*arg1
= (wxListItem
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self",(char *) "m_stateMask", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18497 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18502 Py_INCREF(Py_None
); resultobj
= Py_None
;
18509 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 wxListItem
*arg1
= (wxListItem
*) 0 ;
18513 PyObject
* obj0
= 0 ;
18514 char *kwnames
[] = {
18515 (char *) "self", NULL
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18520 result
= (long) ((arg1
)->m_stateMask
);
18522 resultobj
= SWIG_PyObj_FromLong((long)result
);
18529 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxListItem
*arg1
= (wxListItem
*) 0 ;
18532 wxString
*arg2
= (wxString
*) 0 ;
18533 bool temp2
= False
;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self",(char *) "m_text", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18543 arg2
= wxString_in_helper(obj1
);
18544 if (arg2
== NULL
) SWIG_fail
;
18547 if (arg1
) (arg1
)->m_text
= *arg2
;
18549 Py_INCREF(Py_None
); resultobj
= Py_None
;
18564 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxListItem
*arg1
= (wxListItem
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18575 result
= (wxString
*)& ((arg1
)->m_text
);
18579 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18581 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18590 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 wxListItem
*arg1
= (wxListItem
*) 0 ;
18594 PyObject
* obj0
= 0 ;
18595 PyObject
* obj1
= 0 ;
18596 char *kwnames
[] = {
18597 (char *) "self",(char *) "m_image", NULL
18600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18603 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 if (arg1
) (arg1
)->m_image
= arg2
;
18608 Py_INCREF(Py_None
); resultobj
= Py_None
;
18615 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxListItem
*arg1
= (wxListItem
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18626 result
= (int) ((arg1
)->m_image
);
18628 resultobj
= SWIG_PyObj_FromInt((int)result
);
18635 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxListItem
*arg1
= (wxListItem
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self",(char *) "m_data", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18648 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 if (arg1
) (arg1
)->m_data
= arg2
;
18653 Py_INCREF(Py_None
); resultobj
= Py_None
;
18660 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxListItem
*arg1
= (wxListItem
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18671 result
= (long) ((arg1
)->m_data
);
18673 resultobj
= SWIG_PyObj_FromLong((long)result
);
18680 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxListItem
*arg1
= (wxListItem
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self",(char *) "m_format", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18693 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 if (arg1
) (arg1
)->m_format
= arg2
;
18698 Py_INCREF(Py_None
); resultobj
= Py_None
;
18705 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxListItem
*arg1
= (wxListItem
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18716 result
= (int) ((arg1
)->m_format
);
18718 resultobj
= SWIG_PyObj_FromInt((int)result
);
18725 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxListItem
*arg1
= (wxListItem
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 PyObject
* obj1
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "self",(char *) "m_width", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18738 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 if (arg1
) (arg1
)->m_width
= arg2
;
18743 Py_INCREF(Py_None
); resultobj
= Py_None
;
18750 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxListItem
*arg1
= (wxListItem
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
18760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18761 result
= (int) ((arg1
)->m_width
);
18763 resultobj
= SWIG_PyObj_FromInt((int)result
);
18770 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
18772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18773 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
18775 return Py_BuildValue((char *)"");
18777 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
;
18779 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18780 int arg2
= (int) 0 ;
18781 wxListEvent
*result
;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "commandType",(char *) "id", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18791 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
18815 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self",(char *) "m_code", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18828 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 if (arg1
) (arg1
)->m_code
= arg2
;
18833 Py_INCREF(Py_None
); resultobj
= Py_None
;
18840 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 char *kwnames
[] = {
18846 (char *) "self", NULL
18849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
18850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18851 result
= (int) ((arg1
)->m_code
);
18853 resultobj
= SWIG_PyObj_FromInt((int)result
);
18860 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 PyObject
* obj1
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self",(char *) "m_oldItemIndex", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18873 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
18878 Py_INCREF(Py_None
); resultobj
= Py_None
;
18885 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18896 result
= (long) ((arg1
)->m_oldItemIndex
);
18898 resultobj
= SWIG_PyObj_FromLong((long)result
);
18905 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18909 PyObject
* obj0
= 0 ;
18910 PyObject
* obj1
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self",(char *) "m_itemIndex", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18918 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
18923 Py_INCREF(Py_None
); resultobj
= Py_None
;
18930 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 char *kwnames
[] = {
18936 (char *) "self", NULL
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
18940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18941 result
= (long) ((arg1
)->m_itemIndex
);
18943 resultobj
= SWIG_PyObj_FromLong((long)result
);
18950 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 PyObject
* obj1
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self",(char *) "m_col", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18963 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 if (arg1
) (arg1
)->m_col
= arg2
;
18968 Py_INCREF(Py_None
); resultobj
= Py_None
;
18975 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18986 result
= (int) ((arg1
)->m_col
);
18988 resultobj
= SWIG_PyObj_FromInt((int)result
);
18995 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18998 wxPoint
*arg2
= (wxPoint
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self",(char *) "m_pointDrag", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19008 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19010 Py_INCREF(Py_None
); resultobj
= Py_None
;
19017 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19028 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19030 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19037 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19040 wxListItem
*result
;
19041 PyObject
* obj0
= 0 ;
19042 char *kwnames
[] = {
19043 (char *) "self", NULL
19046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19048 result
= (wxListItem
*)& ((arg1
)->m_item
);
19051 resultobj
= wxPyMake_wxObject(result
);
19059 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 result
= (int)(arg1
)->GetKeyCode();
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= SWIG_PyObj_FromInt((int)result
);
19084 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19088 PyObject
* obj0
= 0 ;
19089 char *kwnames
[] = {
19090 (char *) "self", NULL
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 result
= (long)(arg1
)->GetIndex();
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 resultobj
= SWIG_PyObj_FromLong((long)result
);
19109 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (int)(arg1
)->GetColumn();
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_PyObj_FromInt((int)result
);
19134 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (arg1
)->GetPoint();
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19153 wxPoint
* resultptr
;
19154 resultptr
= new wxPoint((wxPoint
&) result
);
19155 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19163 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19167 PyObject
* obj0
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 wxString
const &_result_ref
= (arg1
)->GetLabel();
19178 result
= (wxString
*) &_result_ref
;
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19188 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19197 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
;
19199 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19201 PyObject
* obj0
= 0 ;
19202 char *kwnames
[] = {
19203 (char *) "self", NULL
19206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 wxString
const &_result_ref
= (arg1
)->GetText();
19212 result
= (wxString
*) &_result_ref
;
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19222 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19231 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= (int)(arg1
)->GetImage();
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= SWIG_PyObj_FromInt((int)result
);
19256 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= (long)(arg1
)->GetData();
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= SWIG_PyObj_FromLong((long)result
);
19281 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
;
19283 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19285 PyObject
* obj0
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "self", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= (long)(arg1
)->GetMask();
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 resultobj
= SWIG_PyObj_FromLong((long)result
);
19306 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19309 wxListItem
*result
;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19321 result
= (wxListItem
*) &_result_ref
;
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19334 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (long)(arg1
)->GetCacheFrom();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= SWIG_PyObj_FromLong((long)result
);
19359 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (long)(arg1
)->GetCacheTo();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_PyObj_FromLong((long)result
);
19384 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19409 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self",(char *) "editCancelled", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19422 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 (arg1
)->SetEditCanceled(arg2
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19432 Py_INCREF(Py_None
); resultobj
= Py_None
;
19439 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19442 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19444 return Py_BuildValue((char *)"");
19446 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxWindow
*arg1
= (wxWindow
*) 0 ;
19449 int arg2
= (int) -1 ;
19450 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19451 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19454 long arg5
= (long) wxLC_ICON
;
19455 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19456 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19457 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19458 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19459 wxPyListCtrl
*result
;
19462 bool temp7
= False
;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 PyObject
* obj2
= 0 ;
19466 PyObject
* obj3
= 0 ;
19467 PyObject
* obj4
= 0 ;
19468 PyObject
* obj5
= 0 ;
19469 PyObject
* obj6
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19478 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19491 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19496 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19501 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19502 if (arg6
== NULL
) {
19503 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19508 arg7
= wxString_in_helper(obj6
);
19509 if (arg7
== NULL
) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19535 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxPyListCtrl
*result
;
19538 char *kwnames
[] = {
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19557 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19560 wxWindow
*arg2
= (wxWindow
*) 0 ;
19561 int arg3
= (int) -1 ;
19562 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19563 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19564 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19565 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19566 long arg6
= (long) wxLC_ICON
;
19567 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19568 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19569 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19570 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19574 bool temp8
= False
;
19575 PyObject
* obj0
= 0 ;
19576 PyObject
* obj1
= 0 ;
19577 PyObject
* obj2
= 0 ;
19578 PyObject
* obj3
= 0 ;
19579 PyObject
* obj4
= 0 ;
19580 PyObject
* obj5
= 0 ;
19581 PyObject
* obj6
= 0 ;
19582 PyObject
* obj7
= 0 ;
19583 char *kwnames
[] = {
19584 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19592 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19610 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19615 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19616 if (arg7
== NULL
) {
19617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19622 arg8
= wxString_in_helper(obj7
);
19623 if (arg8
== NULL
) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19649 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19652 PyObject
*arg2
= (PyObject
*) 0 ;
19653 PyObject
*arg3
= (PyObject
*) 0 ;
19654 PyObject
* obj0
= 0 ;
19655 PyObject
* obj1
= 0 ;
19656 PyObject
* obj2
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self",(char *) "self",(char *) "_class", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 Py_INCREF(Py_None
); resultobj
= Py_None
;
19679 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19682 wxColour
*arg2
= 0 ;
19685 PyObject
* obj0
= 0 ;
19686 PyObject
* obj1
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self",(char *) "col", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19695 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19711 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19714 wxColour
*arg2
= 0 ;
19717 PyObject
* obj0
= 0 ;
19718 PyObject
* obj1
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self",(char *) "col", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19743 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19747 wxListItem
*result
;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "col", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= wxPyMake_wxObject(result
);
19776 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19780 wxListItem
*arg3
= 0 ;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 PyObject
* obj2
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "col",(char *) "item", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19792 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19796 if (arg3
== NULL
) {
19797 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19813 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19818 PyObject
* obj0
= 0 ;
19819 PyObject
* obj1
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self",(char *) "col", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19827 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_PyObj_FromInt((int)result
);
19844 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 PyObject
* obj2
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self",(char *) "col",(char *) "width", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19860 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19864 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19881 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= SWIG_PyObj_FromInt((int)result
);
19906 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19925 wxRect
* resultptr
;
19926 resultptr
= new wxRect((wxRect
&) result
);
19927 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19935 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19939 int arg3
= (int) 0 ;
19940 wxListItem
*result
;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19943 PyObject
* obj2
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self",(char *) "itemId",(char *) "col", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19951 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19956 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= wxPyMake_wxObject(result
);
19976 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19979 wxListItem
*arg2
= 0 ;
19981 PyObject
* obj0
= 0 ;
19982 PyObject
* obj1
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self",(char *) "info", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19990 if (arg2
== NULL
) {
19991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (bool)(arg1
)->SetItem(*arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20007 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20012 wxString
*arg4
= 0 ;
20013 int arg5
= (int) -1 ;
20015 bool temp4
= False
;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 PyObject
* obj2
= 0 ;
20019 PyObject
* obj3
= 0 ;
20020 PyObject
* obj4
= 0 ;
20021 char *kwnames
[] = {
20022 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20028 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20032 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20036 arg4
= wxString_in_helper(obj3
);
20037 if (arg4
== NULL
) SWIG_fail
;
20042 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_PyObj_FromLong((long)result
);
20068 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 PyObject
* obj1
= 0 ;
20076 PyObject
* obj2
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20084 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20088 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_PyObj_FromInt((int)result
);
20105 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
;
20107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 PyObject
* obj1
= 0 ;
20114 PyObject
* obj2
= 0 ;
20115 PyObject
* obj3
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20123 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20127 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20131 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20148 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 PyObject
* obj2
= 0 ;
20158 PyObject
* obj3
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20166 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20174 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20191 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 char *kwnames
[] = {
20199 (char *) "self",(char *) "item", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20205 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20228 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20232 wxString
*arg3
= 0 ;
20233 bool temp3
= False
;
20234 PyObject
* obj0
= 0 ;
20235 PyObject
* obj1
= 0 ;
20236 PyObject
* obj2
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self",(char *) "item",(char *) "str", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20244 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 arg3
= wxString_in_helper(obj2
);
20249 if (arg3
== NULL
) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 Py_INCREF(Py_None
); resultobj
= Py_None
;
20274 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20279 PyObject
* obj0
= 0 ;
20280 PyObject
* obj1
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self",(char *) "item", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20288 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= SWIG_PyObj_FromLong((long)result
);
20305 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 PyObject
* obj1
= 0 ;
20313 PyObject
* obj2
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self",(char *) "item",(char *) "data", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20321 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20325 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20342 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self",(char *) "item", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20356 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 wxPoint
* resultptr
;
20368 resultptr
= new wxPoint((wxPoint
&) result
);
20369 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20377 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20381 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 PyObject
* obj2
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "self",(char *) "item",(char *) "code", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20393 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20398 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20410 wxRect
* resultptr
;
20411 resultptr
= new wxRect((wxRect
&) result
);
20412 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20420 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
;
20422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20424 wxPoint
*arg3
= 0 ;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20429 PyObject
* obj2
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self",(char *) "item",(char *) "pos", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20437 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20442 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20458 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "self", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= SWIG_PyObj_FromInt((int)result
);
20483 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20487 PyObject
* obj0
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= SWIG_PyObj_FromInt((int)result
);
20508 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20527 wxSize
* resultptr
;
20528 resultptr
= new wxSize((wxSize
&) result
);
20529 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20537 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20541 bool arg3
= (bool) False
;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 PyObject
* obj2
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20552 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20557 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 (arg1
)->SetItemSpacing(arg2
,arg3
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 Py_INCREF(Py_None
); resultobj
= Py_None
;
20575 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 resultobj
= SWIG_PyObj_FromInt((int)result
);
20600 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 char *kwnames
[] = {
20606 (char *) "self", NULL
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20619 wxColour
* resultptr
;
20620 resultptr
= new wxColour((wxColour
&) result
);
20621 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20629 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20632 wxColour
*arg2
= 0 ;
20634 PyObject
* obj0
= 0 ;
20635 PyObject
* obj1
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self",(char *) "col", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20644 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 Py_INCREF(Py_None
); resultobj
= Py_None
;
20660 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
;
20662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20664 PyObject
* obj0
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "self", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= SWIG_PyObj_FromLong((long)result
);
20685 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20689 bool arg3
= (bool) True
;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20692 PyObject
* obj2
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self",(char *) "style",(char *) "add", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20700 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20705 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 (arg1
)->SetSingleStyle(arg2
,arg3
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 Py_INCREF(Py_None
); resultobj
= Py_None
;
20723 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 PyObject
* obj1
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self",(char *) "style", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
20734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20736 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 (arg1
)->SetWindowStyleFlag(arg2
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 Py_INCREF(Py_None
); resultobj
= Py_None
;
20753 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20757 int arg3
= (int) wxLIST_NEXT_ALL
;
20758 int arg4
= (int) wxLIST_STATE_DONTCARE
;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 PyObject
* obj2
= 0 ;
20763 PyObject
* obj3
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20771 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20776 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20782 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_PyObj_FromLong((long)result
);
20800 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20804 wxImageList
*result
;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20807 char *kwnames
[] = {
20808 (char *) "self",(char *) "which", NULL
20811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20814 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= wxPyMake_wxObject(result
);
20833 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20836 wxImageList
*arg2
= (wxImageList
*) 0 ;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20840 PyObject
* obj2
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self",(char *) "imageList",(char *) "which", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20849 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 (arg1
)->SetImageList(arg2
,arg3
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 Py_INCREF(Py_None
); resultobj
= Py_None
;
20866 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20869 wxImageList
*arg2
= (wxImageList
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 PyObject
* obj1
= 0 ;
20873 PyObject
* obj2
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self",(char *) "imageList",(char *) "which", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20882 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 (arg1
)->AssignImageList(arg2
,arg3
);
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 Py_INCREF(Py_None
); resultobj
= Py_None
;
20899 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20924 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self",(char *) "item", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20937 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 (arg1
)->RefreshItem(arg2
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 Py_INCREF(Py_None
); resultobj
= Py_None
;
20954 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 PyObject
* obj1
= 0 ;
20961 PyObject
* obj2
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20969 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20973 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 (arg1
)->RefreshItems(arg2
,arg3
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 Py_INCREF(Py_None
); resultobj
= Py_None
;
20990 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20993 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self",(char *) "flag", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (bool)(arg1
)->Arrange(arg2
);
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21023 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 PyObject
* obj1
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self",(char *) "item", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21037 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (bool)(arg1
)->DeleteItem(arg2
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21054 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (bool)(arg1
)->DeleteAllItems();
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21079 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self",(char *) "col", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21093 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21110 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21114 PyObject
* obj0
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "self", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 result
= (bool)(arg1
)->DeleteAllColumns();
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21135 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 (arg1
)->ClearAll();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 Py_INCREF(Py_None
); resultobj
= Py_None
;
21159 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "self",(char *) "item", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21172 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 (arg1
)->EditLabel(arg2
);
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 Py_INCREF(Py_None
); resultobj
= Py_None
;
21189 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char *kwnames
[] = {
21197 (char *) "self",(char *) "item", NULL
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21203 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21220 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21224 wxString
*arg3
= 0 ;
21225 bool arg4
= (bool) False
;
21227 bool temp3
= False
;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 PyObject
* obj2
= 0 ;
21231 PyObject
* obj3
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21239 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21243 arg3
= wxString_in_helper(obj2
);
21244 if (arg3
== NULL
) SWIG_fail
;
21249 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= SWIG_PyObj_FromLong((long)result
);
21275 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
;
21277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 PyObject
* obj2
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self",(char *) "start",(char *) "data", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21291 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21295 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_PyObj_FromLong((long)result
);
21312 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21316 wxPoint
*arg3
= 0 ;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 PyObject
* obj2
= 0 ;
21323 PyObject
* obj3
= 0 ;
21324 char *kwnames
[] = {
21325 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21331 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21336 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21339 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_PyObj_FromLong((long)result
);
21356 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
;
21358 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21359 wxPoint
*arg2
= 0 ;
21364 PyObject
* obj0
= 0 ;
21365 PyObject
* obj1
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self",(char *) "point", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21375 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_PyObj_FromLong((long)result
);
21386 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21387 resultobj
= t_output_helper(resultobj
,o
);
21395 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21398 wxListItem
*arg2
= 0 ;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self",(char *) "info", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21408 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21409 if (arg2
== NULL
) {
21410 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= (long)(arg1
)->InsertItem(*arg2
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_PyObj_FromLong((long)result
);
21426 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21430 wxString
*arg3
= 0 ;
21432 bool temp3
= False
;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 PyObject
* obj2
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self",(char *) "index",(char *) "label", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21443 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21447 arg3
= wxString_in_helper(obj2
);
21448 if (arg3
== NULL
) SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 resultobj
= SWIG_PyObj_FromLong((long)result
);
21473 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
;
21475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21479 PyObject
* obj0
= 0 ;
21480 PyObject
* obj1
= 0 ;
21481 PyObject
* obj2
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21489 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21493 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_PyObj_FromLong((long)result
);
21510 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21514 wxString
*arg3
= 0 ;
21517 bool temp3
= False
;
21518 PyObject
* obj0
= 0 ;
21519 PyObject
* obj1
= 0 ;
21520 PyObject
* obj2
= 0 ;
21521 PyObject
* obj3
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21529 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 arg3
= wxString_in_helper(obj2
);
21534 if (arg3
== NULL
) SWIG_fail
;
21538 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_PyObj_FromLong((long)result
);
21563 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21567 wxListItem
*arg3
= 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 PyObject
* obj2
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self",(char *) "col",(char *) "info", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21579 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21583 if (arg3
== NULL
) {
21584 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_PyObj_FromLong((long)result
);
21600 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21604 wxString
*arg3
= 0 ;
21605 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21606 int arg5
= (int) -1 ;
21608 bool temp3
= False
;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 PyObject
* obj2
= 0 ;
21612 PyObject
* obj3
= 0 ;
21613 PyObject
* obj4
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21621 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21625 arg3
= wxString_in_helper(obj2
);
21626 if (arg3
== NULL
) SWIG_fail
;
21631 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21637 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= SWIG_PyObj_FromLong((long)result
);
21663 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21664 PyObject
*resultobj
;
21665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self",(char *) "count", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
21674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21676 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 (arg1
)->SetItemCount(arg2
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 Py_INCREF(Py_None
); resultobj
= Py_None
;
21693 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
;
21695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 PyObject
* obj2
= 0 ;
21702 char *kwnames
[] = {
21703 (char *) "self",(char *) "dx",(char *) "dy", NULL
21706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21709 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21713 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21730 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21734 wxColour
*arg3
= 0 ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 PyObject
* obj2
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "item",(char *) "col", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21746 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21751 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 Py_INCREF(Py_None
); resultobj
= Py_None
;
21767 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21768 PyObject
*resultobj
;
21769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "self",(char *) "item", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21781 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21792 wxColour
* resultptr
;
21793 resultptr
= new wxColour((wxColour
&) result
);
21794 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21802 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21806 wxColour
*arg3
= 0 ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 PyObject
* obj2
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "item",(char *) "col", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21818 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21823 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 Py_INCREF(Py_None
); resultobj
= Py_None
;
21839 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self",(char *) "item", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21853 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21864 wxColour
* resultptr
;
21865 resultptr
= new wxColour((wxColour
&) result
);
21866 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21874 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21877 PyObject
*arg2
= (PyObject
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "func", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
21886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21902 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21906 PyObject
* obj0
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= wxPyMake_wxObject(result
);
21929 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
21931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21932 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
21934 return Py_BuildValue((char *)"");
21936 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxWindow
*arg1
= (wxWindow
*) 0 ;
21939 int arg2
= (int) -1 ;
21940 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21941 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21942 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21943 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21944 long arg5
= (long) wxLC_REPORT
;
21945 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21946 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21947 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21948 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21949 wxListView
*result
;
21952 bool temp7
= False
;
21953 PyObject
* obj0
= 0 ;
21954 PyObject
* obj1
= 0 ;
21955 PyObject
* obj2
= 0 ;
21956 PyObject
* obj3
= 0 ;
21957 PyObject
* obj4
= 0 ;
21958 PyObject
* obj5
= 0 ;
21959 PyObject
* obj6
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21968 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21975 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21981 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21986 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21991 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21992 if (arg6
== NULL
) {
21993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21998 arg7
= wxString_in_helper(obj6
);
21999 if (arg7
== NULL
) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22025 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxListView
*result
;
22028 char *kwnames
[] = {
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (wxListView
*)new wxListView();
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22047 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxListView
*arg1
= (wxListView
*) 0 ;
22050 wxWindow
*arg2
= (wxWindow
*) 0 ;
22051 int arg3
= (int) -1 ;
22052 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22053 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22054 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22055 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22056 long arg6
= (long) wxLC_REPORT
;
22057 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22058 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22059 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22060 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22064 bool temp8
= False
;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 PyObject
* obj2
= 0 ;
22068 PyObject
* obj3
= 0 ;
22069 PyObject
* obj4
= 0 ;
22070 PyObject
* obj5
= 0 ;
22071 PyObject
* obj6
= 0 ;
22072 PyObject
* obj7
= 0 ;
22073 char *kwnames
[] = {
22074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22082 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22100 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22105 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22106 if (arg7
== NULL
) {
22107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22112 arg8
= wxString_in_helper(obj7
);
22113 if (arg8
== NULL
) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22139 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxListView
*arg1
= (wxListView
*) 0 ;
22143 bool arg3
= (bool) True
;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 PyObject
* obj2
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "n",(char *) "on", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22154 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22159 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 (arg1
)->Select(arg2
,arg3
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 Py_INCREF(Py_None
); resultobj
= Py_None
;
22177 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxListView
*arg1
= (wxListView
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self",(char *) "index", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22190 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 (arg1
)->Focus(arg2
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 Py_INCREF(Py_None
); resultobj
= Py_None
;
22207 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxListView
*arg1
= (wxListView
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 char *kwnames
[] = {
22213 (char *) "self", NULL
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_PyObj_FromLong((long)result
);
22232 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxListView
*arg1
= (wxListView
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self",(char *) "item", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22246 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 resultobj
= SWIG_PyObj_FromLong((long)result
);
22263 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxListView
*arg1
= (wxListView
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "self", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_PyObj_FromLong((long)result
);
22288 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxListView
*arg1
= (wxListView
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self",(char *) "index", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22302 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (bool)(arg1
)->IsSelected(arg2
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22319 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxListView
*arg1
= (wxListView
*) 0 ;
22324 PyObject
* obj0
= 0 ;
22325 PyObject
* obj1
= 0 ;
22326 PyObject
* obj2
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self",(char *) "col",(char *) "image", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22334 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22338 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 (arg1
)->SetColumnImage(arg2
,arg3
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 Py_INCREF(Py_None
); resultobj
= Py_None
;
22355 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxListView
*arg1
= (wxListView
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self",(char *) "col", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22368 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->ClearColumnImage(arg2
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22385 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22388 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22390 return Py_BuildValue((char *)"");
22392 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22393 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22398 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22403 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22405 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22412 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxTreeItemId
*result
;
22415 char *kwnames
[] = {
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= (wxTreeItemId
*)new wxTreeItemId();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22434 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
;
22436 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 Py_INCREF(Py_None
); resultobj
= Py_None
;
22458 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22462 PyObject
* obj0
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22483 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22486 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 PyObject
* obj1
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self",(char *) "other", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22496 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22511 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22514 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "other", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22539 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
;
22541 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22542 void *arg2
= (void *) 0 ;
22543 PyObject
* obj0
= 0 ;
22544 PyObject
* obj1
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self",(char *) "m_pItem", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22552 if (arg1
) (arg1
)->m_pItem
= arg2
;
22554 Py_INCREF(Py_None
); resultobj
= Py_None
;
22561 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22572 result
= (void *) ((arg1
)->m_pItem
);
22574 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22581 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22584 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22586 return Py_BuildValue((char *)"");
22588 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
;
22590 PyObject
*arg1
= (PyObject
*) NULL
;
22591 wxPyTreeItemData
*result
;
22592 PyObject
* obj0
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "obj", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
22615 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 char *kwnames
[] = {
22621 (char *) "self", NULL
22624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (PyObject
*)(arg1
)->GetData();
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= result
;
22640 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22643 PyObject
*arg2
= (PyObject
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 PyObject
* obj1
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self",(char *) "obj", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 (arg1
)->SetData(arg2
);
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22670 wxTreeItemId
*result
;
22671 PyObject
* obj0
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
22682 result
= (wxTreeItemId
*) &_result_ref
;
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
22695 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22698 wxTreeItemId
*arg2
= 0 ;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self",(char *) "id", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22708 if (arg2
== NULL
) {
22709 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 Py_INCREF(Py_None
); resultobj
= Py_None
;
22725 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
22734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 wxPyTreeItemData_Destroy(arg1
);
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 Py_INCREF(Py_None
); resultobj
= Py_None
;
22749 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
22751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22752 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
22754 return Py_BuildValue((char *)"");
22756 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22759 int arg2
= (int) 0 ;
22760 wxTreeEvent
*result
;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "commandType",(char *) "id", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22770 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22776 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
22794 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22797 wxTreeItemId result
;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22813 wxTreeItemId
* resultptr
;
22814 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22815 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22823 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22826 wxTreeItemId
*arg2
= 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self",(char *) "item", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22836 if (arg2
== NULL
) {
22837 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 Py_INCREF(Py_None
); resultobj
= Py_None
;
22853 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22856 wxTreeItemId result
;
22857 PyObject
* obj0
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22866 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22872 wxTreeItemId
* resultptr
;
22873 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22874 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22882 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
;
22884 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22885 wxTreeItemId
*arg2
= 0 ;
22886 PyObject
* obj0
= 0 ;
22887 PyObject
* obj1
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self",(char *) "item", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22895 if (arg2
== NULL
) {
22896 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 Py_INCREF(Py_None
); resultobj
= Py_None
;
22912 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22916 PyObject
* obj0
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22931 wxPoint
* resultptr
;
22932 resultptr
= new wxPoint((wxPoint
&) result
);
22933 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22941 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22944 wxPoint
*arg2
= 0 ;
22946 PyObject
* obj0
= 0 ;
22947 PyObject
* obj1
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self",(char *) "pt", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 Py_INCREF(Py_None
); resultobj
= Py_None
;
22972 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22975 wxKeyEvent
*result
;
22976 PyObject
* obj0
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
22982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
22987 result
= (wxKeyEvent
*) &_result_ref
;
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23000 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
;
23002 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 char *kwnames
[] = {
23006 (char *) "self", NULL
23009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 resultobj
= SWIG_PyObj_FromInt((int)result
);
23025 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
;
23027 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23028 wxKeyEvent
*arg2
= 0 ;
23029 PyObject
* obj0
= 0 ;
23030 PyObject
* obj1
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "self",(char *) "evt", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23037 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23038 if (arg2
== NULL
) {
23039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 Py_INCREF(Py_None
); resultobj
= Py_None
;
23055 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23059 PyObject
* obj0
= 0 ;
23060 char *kwnames
[] = {
23061 (char *) "self", NULL
23064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23070 result
= (wxString
*) &_result_ref
;
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23080 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23089 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23092 wxString
*arg2
= 0 ;
23093 bool temp2
= False
;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "self",(char *) "label", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23103 arg2
= wxString_in_helper(obj1
);
23104 if (arg2
== NULL
) SWIG_fail
;
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 (arg1
)->SetLabel((wxString
const &)*arg2
);
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 Py_INCREF(Py_None
); resultobj
= Py_None
;
23129 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23154 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 PyObject
* obj1
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self",(char *) "editCancelled", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23167 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 (arg1
)->SetEditCanceled(arg2
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 Py_INCREF(Py_None
); resultobj
= Py_None
;
23184 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23186 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23187 wxString
*arg2
= 0 ;
23188 bool temp2
= False
;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self",(char *) "toolTip", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23198 arg2
= wxString_in_helper(obj1
);
23199 if (arg2
== NULL
) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 Py_INCREF(Py_None
); resultobj
= Py_None
;
23224 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23227 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23229 return Py_BuildValue((char *)"");
23231 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxWindow
*arg1
= (wxWindow
*) 0 ;
23234 int arg2
= (int) -1 ;
23235 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23236 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23237 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23238 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23239 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23240 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23241 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23242 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23243 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23244 wxPyTreeCtrl
*result
;
23247 bool temp7
= False
;
23248 PyObject
* obj0
= 0 ;
23249 PyObject
* obj1
= 0 ;
23250 PyObject
* obj2
= 0 ;
23251 PyObject
* obj3
= 0 ;
23252 PyObject
* obj4
= 0 ;
23253 PyObject
* obj5
= 0 ;
23254 PyObject
* obj6
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23263 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23281 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23286 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23287 if (arg6
== NULL
) {
23288 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23293 arg7
= wxString_in_helper(obj6
);
23294 if (arg7
== NULL
) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23306 resultobj
= wxPyMake_wxObject(result
);
23322 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxPyTreeCtrl
*result
;
23325 char *kwnames
[] = {
23329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= wxPyMake_wxObject(result
);
23346 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23349 wxWindow
*arg2
= (wxWindow
*) 0 ;
23350 int arg3
= (int) -1 ;
23351 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23352 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23353 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23354 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23355 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23356 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23357 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23358 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23359 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23363 bool temp8
= False
;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 PyObject
* obj2
= 0 ;
23367 PyObject
* obj3
= 0 ;
23368 PyObject
* obj4
= 0 ;
23369 PyObject
* obj5
= 0 ;
23370 PyObject
* obj6
= 0 ;
23371 PyObject
* obj7
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23381 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23399 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23404 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23405 if (arg7
== NULL
) {
23406 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23411 arg8
= wxString_in_helper(obj7
);
23412 if (arg8
== NULL
) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23438 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23441 PyObject
*arg2
= (PyObject
*) 0 ;
23442 PyObject
*arg3
= (PyObject
*) 0 ;
23443 PyObject
* obj0
= 0 ;
23444 PyObject
* obj1
= 0 ;
23445 PyObject
* obj2
= 0 ;
23446 char *kwnames
[] = {
23447 (char *) "self",(char *) "self",(char *) "_class", NULL
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 Py_INCREF(Py_None
); resultobj
= Py_None
;
23468 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23493 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23496 unsigned int result
;
23497 PyObject
* obj0
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23518 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
;
23520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23521 unsigned int arg2
;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self",(char *) "indent", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23531 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 (arg1
)->SetIndent(arg2
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 Py_INCREF(Py_None
); resultobj
= Py_None
;
23548 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23551 unsigned int result
;
23552 PyObject
* obj0
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23573 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23576 unsigned int arg2
;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "spacing", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23586 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 (arg1
)->SetSpacing(arg2
);
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 Py_INCREF(Py_None
); resultobj
= Py_None
;
23603 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23606 wxImageList
*result
;
23607 PyObject
* obj0
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= wxPyMake_wxObject(result
);
23630 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
;
23632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23633 wxImageList
*result
;
23634 PyObject
* obj0
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= wxPyMake_wxObject(result
);
23657 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23660 wxImageList
*arg2
= (wxImageList
*) 0 ;
23661 PyObject
* obj0
= 0 ;
23662 PyObject
* obj1
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self",(char *) "imageList", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 (arg1
)->SetImageList(arg2
);
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23677 Py_INCREF(Py_None
); resultobj
= Py_None
;
23684 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23687 wxImageList
*arg2
= (wxImageList
*) 0 ;
23688 PyObject
* obj0
= 0 ;
23689 PyObject
* obj1
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self",(char *) "imageList", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23696 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 (arg1
)->SetStateImageList(arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 Py_INCREF(Py_None
); resultobj
= Py_None
;
23711 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23714 wxImageList
*arg2
= (wxImageList
*) 0 ;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self",(char *) "imageList", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 (arg1
)->AssignImageList(arg2
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 Py_INCREF(Py_None
); resultobj
= Py_None
;
23738 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
;
23740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23741 wxImageList
*arg2
= (wxImageList
*) 0 ;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23744 char *kwnames
[] = {
23745 (char *) "self",(char *) "imageList", NULL
23748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 (arg1
)->AssignStateImageList(arg2
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 Py_INCREF(Py_None
); resultobj
= Py_None
;
23765 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
;
23767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23768 wxTreeItemId
*arg2
= 0 ;
23770 PyObject
* obj0
= 0 ;
23771 PyObject
* obj1
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "self",(char *) "item", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
23777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23779 if (arg2
== NULL
) {
23780 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23802 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
;
23804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23805 wxTreeItemId
*arg2
= 0 ;
23806 int arg3
= (int) wxTreeItemIcon_Normal
;
23808 PyObject
* obj0
= 0 ;
23809 PyObject
* obj1
= 0 ;
23810 PyObject
* obj2
= 0 ;
23811 char *kwnames
[] = {
23812 (char *) "self",(char *) "item",(char *) "which", NULL
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23818 if (arg2
== NULL
) {
23819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23823 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_PyObj_FromInt((int)result
);
23841 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23842 PyObject
*resultobj
;
23843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23844 wxTreeItemId
*arg2
= 0 ;
23845 wxPyTreeItemData
*result
;
23846 PyObject
* obj0
= 0 ;
23847 PyObject
* obj1
= 0 ;
23848 char *kwnames
[] = {
23849 (char *) "self",(char *) "item", NULL
23852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
23853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23855 if (arg2
== NULL
) {
23856 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
23872 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23875 wxTreeItemId
*arg2
= 0 ;
23877 PyObject
* obj0
= 0 ;
23878 PyObject
* obj1
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self",(char *) "item", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23886 if (arg2
== NULL
) {
23887 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 resultobj
= result
;
23903 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23906 wxTreeItemId
*arg2
= 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 char *kwnames
[] = {
23911 (char *) "self",(char *) "item", NULL
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23917 if (arg2
== NULL
) {
23918 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23928 wxColour
* resultptr
;
23929 resultptr
= new wxColour((wxColour
&) result
);
23930 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
23938 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23941 wxTreeItemId
*arg2
= 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self",(char *) "item", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",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_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23952 if (arg2
== NULL
) {
23953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23963 wxColour
* resultptr
;
23964 resultptr
= new wxColour((wxColour
&) result
);
23965 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
23973 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23976 wxTreeItemId
*arg2
= 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self",(char *) "item", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23987 if (arg2
== NULL
) {
23988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23998 wxFont
* resultptr
;
23999 resultptr
= new wxFont((wxFont
&) result
);
24000 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24008 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24011 wxTreeItemId
*arg2
= 0 ;
24012 wxString
*arg3
= 0 ;
24013 bool temp3
= False
;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 PyObject
* obj2
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "self",(char *) "item",(char *) "text", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24024 if (arg2
== NULL
) {
24025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24028 arg3
= wxString_in_helper(obj2
);
24029 if (arg3
== NULL
) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 Py_INCREF(Py_None
); resultobj
= Py_None
;
24054 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24057 wxTreeItemId
*arg2
= 0 ;
24059 int arg4
= (int) wxTreeItemIcon_Normal
;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 PyObject
* obj2
= 0 ;
24063 PyObject
* obj3
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24071 if (arg2
== NULL
) {
24072 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24075 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24080 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 Py_INCREF(Py_None
); resultobj
= Py_None
;
24098 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24101 wxTreeItemId
*arg2
= 0 ;
24102 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 PyObject
* obj2
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "self",(char *) "item",(char *) "data", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24113 if (arg2
== NULL
) {
24114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24116 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 Py_INCREF(Py_None
); resultobj
= Py_None
;
24131 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24134 wxTreeItemId
*arg2
= 0 ;
24135 PyObject
*arg3
= (PyObject
*) 0 ;
24136 PyObject
* obj0
= 0 ;
24137 PyObject
* obj1
= 0 ;
24138 PyObject
* obj2
= 0 ;
24139 char *kwnames
[] = {
24140 (char *) "self",(char *) "item",(char *) "obj", NULL
24143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24145 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24146 if (arg2
== NULL
) {
24147 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 Py_INCREF(Py_None
); resultobj
= Py_None
;
24164 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24167 wxTreeItemId
*arg2
= 0 ;
24168 bool arg3
= (bool) True
;
24169 PyObject
* obj0
= 0 ;
24170 PyObject
* obj1
= 0 ;
24171 PyObject
* obj2
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self",(char *) "item",(char *) "has", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24179 if (arg2
== NULL
) {
24180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24184 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 Py_INCREF(Py_None
); resultobj
= Py_None
;
24202 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24205 wxTreeItemId
*arg2
= 0 ;
24206 bool arg3
= (bool) True
;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24209 PyObject
* obj2
= 0 ;
24210 char *kwnames
[] = {
24211 (char *) "self",(char *) "item",(char *) "bold", NULL
24214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24217 if (arg2
== NULL
) {
24218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24222 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 Py_INCREF(Py_None
); resultobj
= Py_None
;
24240 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24243 wxTreeItemId
*arg2
= 0 ;
24244 wxColour
*arg3
= 0 ;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24248 PyObject
* obj2
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self",(char *) "item",(char *) "col", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24256 if (arg2
== NULL
) {
24257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24261 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 Py_INCREF(Py_None
); resultobj
= Py_None
;
24277 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24280 wxTreeItemId
*arg2
= 0 ;
24281 wxColour
*arg3
= 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 PyObject
* obj2
= 0 ;
24286 char *kwnames
[] = {
24287 (char *) "self",(char *) "item",(char *) "col", NULL
24290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24293 if (arg2
== NULL
) {
24294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24298 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 Py_INCREF(Py_None
); resultobj
= Py_None
;
24314 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24317 wxTreeItemId
*arg2
= 0 ;
24319 PyObject
* obj0
= 0 ;
24320 PyObject
* obj1
= 0 ;
24321 PyObject
* obj2
= 0 ;
24322 char *kwnames
[] = {
24323 (char *) "self",(char *) "item",(char *) "font", NULL
24326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24328 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24329 if (arg2
== NULL
) {
24330 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24332 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24333 if (arg3
== NULL
) {
24334 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 Py_INCREF(Py_None
); resultobj
= Py_None
;
24350 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
;
24352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24353 wxTreeItemId
*arg2
= 0 ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self",(char *) "item", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24363 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24364 if (arg2
== NULL
) {
24365 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24381 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24384 wxTreeItemId
*arg2
= 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 char *kwnames
[] = {
24389 (char *) "self",(char *) "item", NULL
24392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24394 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24395 if (arg2
== NULL
) {
24396 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24412 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24415 wxTreeItemId
*arg2
= 0 ;
24417 PyObject
* obj0
= 0 ;
24418 PyObject
* obj1
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self",(char *) "item", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24426 if (arg2
== NULL
) {
24427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24443 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24446 wxTreeItemId
*arg2
= 0 ;
24448 PyObject
* obj0
= 0 ;
24449 PyObject
* obj1
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self",(char *) "item", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24457 if (arg2
== NULL
) {
24458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24474 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24477 wxTreeItemId
*arg2
= 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self",(char *) "item", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24488 if (arg2
== NULL
) {
24489 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24505 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24508 wxTreeItemId
*arg2
= 0 ;
24509 bool arg3
= (bool) True
;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 PyObject
* obj2
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self",(char *) "item",(char *) "recursively", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24521 if (arg2
== NULL
) {
24522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24526 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24544 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24547 wxTreeItemId result
;
24548 PyObject
* obj0
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24563 wxTreeItemId
* resultptr
;
24564 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24565 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24573 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24576 wxTreeItemId result
;
24577 PyObject
* obj0
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24592 wxTreeItemId
* resultptr
;
24593 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24594 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24602 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
;
24604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= result
;
24627 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
;
24629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24630 wxTreeItemId
*arg2
= 0 ;
24631 wxTreeItemId result
;
24632 PyObject
* obj0
= 0 ;
24633 PyObject
* obj1
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self",(char *) "item", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24641 if (arg2
== NULL
) {
24642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24652 wxTreeItemId
* resultptr
;
24653 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24654 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24662 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24665 wxTreeItemId
*arg2
= 0 ;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 char *kwnames
[] = {
24670 (char *) "self",(char *) "item", NULL
24673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24676 if (arg2
== NULL
) {
24677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 resultobj
= result
;
24693 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24696 wxTreeItemId
*arg2
= 0 ;
24697 void *arg3
= (void *) 0 ;
24699 PyObject
* obj0
= 0 ;
24700 PyObject
* obj1
= 0 ;
24701 PyObject
* obj2
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self",(char *) "item",(char *) "cookie", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24709 if (arg2
== NULL
) {
24710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24712 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= result
;
24727 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24730 wxTreeItemId
*arg2
= 0 ;
24731 wxTreeItemId result
;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 char *kwnames
[] = {
24735 (char *) "self",(char *) "item", NULL
24738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24741 if (arg2
== NULL
) {
24742 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24752 wxTreeItemId
* resultptr
;
24753 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24754 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24762 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24765 wxTreeItemId
*arg2
= 0 ;
24766 wxTreeItemId result
;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self",(char *) "item", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) 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
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24787 wxTreeItemId
* resultptr
;
24788 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24789 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24797 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24798 PyObject
*resultobj
;
24799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24800 wxTreeItemId
*arg2
= 0 ;
24801 wxTreeItemId result
;
24802 PyObject
* obj0
= 0 ;
24803 PyObject
* obj1
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self",(char *) "item", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24811 if (arg2
== NULL
) {
24812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 wxTreeItemId
* resultptr
;
24823 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24824 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24832 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24835 wxTreeItemId result
;
24836 PyObject
* obj0
= 0 ;
24837 char *kwnames
[] = {
24838 (char *) "self", NULL
24841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
24842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24851 wxTreeItemId
* resultptr
;
24852 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24853 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24861 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24864 wxTreeItemId
*arg2
= 0 ;
24865 wxTreeItemId result
;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "item", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24874 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24875 if (arg2
== NULL
) {
24876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24886 wxTreeItemId
* resultptr
;
24887 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24888 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24896 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24899 wxTreeItemId
*arg2
= 0 ;
24900 wxTreeItemId result
;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "item", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24909 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24910 if (arg2
== NULL
) {
24911 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 wxTreeItemId
* resultptr
;
24922 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24923 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24931 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24934 wxString
*arg2
= 0 ;
24935 int arg3
= (int) -1 ;
24936 int arg4
= (int) -1 ;
24937 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
24938 wxTreeItemId result
;
24939 bool temp2
= False
;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 PyObject
* obj2
= 0 ;
24943 PyObject
* obj3
= 0 ;
24944 PyObject
* obj4
= 0 ;
24945 char *kwnames
[] = {
24946 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
24949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24952 arg2
= wxString_in_helper(obj1
);
24953 if (arg2
== NULL
) SWIG_fail
;
24958 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24964 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24969 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24979 wxTreeItemId
* resultptr
;
24980 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24981 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24997 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25000 wxTreeItemId
*arg2
= 0 ;
25001 wxString
*arg3
= 0 ;
25002 int arg4
= (int) -1 ;
25003 int arg5
= (int) -1 ;
25004 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25005 wxTreeItemId result
;
25006 bool temp3
= False
;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 PyObject
* obj2
= 0 ;
25010 PyObject
* obj3
= 0 ;
25011 PyObject
* obj4
= 0 ;
25012 PyObject
* obj5
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25019 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25020 if (arg2
== NULL
) {
25021 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25024 arg3
= wxString_in_helper(obj2
);
25025 if (arg3
== NULL
) SWIG_fail
;
25030 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25036 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25041 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25051 wxTreeItemId
* resultptr
;
25052 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25053 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25069 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
;
25071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25072 wxTreeItemId
*arg2
= 0 ;
25073 wxTreeItemId
*arg3
= 0 ;
25074 wxString
*arg4
= 0 ;
25075 int arg5
= (int) -1 ;
25076 int arg6
= (int) -1 ;
25077 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25078 wxTreeItemId result
;
25079 bool temp4
= False
;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 PyObject
* obj2
= 0 ;
25083 PyObject
* obj3
= 0 ;
25084 PyObject
* obj4
= 0 ;
25085 PyObject
* obj5
= 0 ;
25086 PyObject
* obj6
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25094 if (arg2
== NULL
) {
25095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25097 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25098 if (arg3
== NULL
) {
25099 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25102 arg4
= wxString_in_helper(obj3
);
25103 if (arg4
== NULL
) SWIG_fail
;
25108 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25114 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25119 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 wxTreeItemId
* resultptr
;
25130 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25131 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25147 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25150 wxTreeItemId
*arg2
= 0 ;
25152 wxString
*arg4
= 0 ;
25153 int arg5
= (int) -1 ;
25154 int arg6
= (int) -1 ;
25155 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25156 wxTreeItemId result
;
25157 bool temp4
= False
;
25158 PyObject
* obj0
= 0 ;
25159 PyObject
* obj1
= 0 ;
25160 PyObject
* obj2
= 0 ;
25161 PyObject
* obj3
= 0 ;
25162 PyObject
* obj4
= 0 ;
25163 PyObject
* obj5
= 0 ;
25164 PyObject
* obj6
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25172 if (arg2
== NULL
) {
25173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25176 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25180 arg4
= wxString_in_helper(obj3
);
25181 if (arg4
== NULL
) SWIG_fail
;
25186 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25192 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25197 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25207 wxTreeItemId
* resultptr
;
25208 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25225 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25228 wxTreeItemId
*arg2
= 0 ;
25229 wxString
*arg3
= 0 ;
25230 int arg4
= (int) -1 ;
25231 int arg5
= (int) -1 ;
25232 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25233 wxTreeItemId result
;
25234 bool temp3
= False
;
25235 PyObject
* obj0
= 0 ;
25236 PyObject
* obj1
= 0 ;
25237 PyObject
* obj2
= 0 ;
25238 PyObject
* obj3
= 0 ;
25239 PyObject
* obj4
= 0 ;
25240 PyObject
* obj5
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25248 if (arg2
== NULL
) {
25249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25252 arg3
= wxString_in_helper(obj2
);
25253 if (arg3
== NULL
) SWIG_fail
;
25258 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25264 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25269 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25279 wxTreeItemId
* resultptr
;
25280 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25281 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25297 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25300 wxTreeItemId
*arg2
= 0 ;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self",(char *) "item", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25310 if (arg2
== NULL
) {
25311 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 Py_INCREF(Py_None
); resultobj
= Py_None
;
25327 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25330 wxTreeItemId
*arg2
= 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self",(char *) "item", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25340 if (arg2
== NULL
) {
25341 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25350 Py_INCREF(Py_None
); resultobj
= Py_None
;
25357 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
;
25359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25360 PyObject
* obj0
= 0 ;
25361 char *kwnames
[] = {
25362 (char *) "self", NULL
25365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 (arg1
)->DeleteAllItems();
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 Py_INCREF(Py_None
); resultobj
= Py_None
;
25381 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25384 wxTreeItemId
*arg2
= 0 ;
25385 PyObject
* obj0
= 0 ;
25386 PyObject
* obj1
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self",(char *) "item", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25394 if (arg2
== NULL
) {
25395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 Py_INCREF(Py_None
); resultobj
= Py_None
;
25411 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25414 wxTreeItemId
*arg2
= 0 ;
25415 PyObject
* obj0
= 0 ;
25416 PyObject
* obj1
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self",(char *) "item", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25424 if (arg2
== NULL
) {
25425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 Py_INCREF(Py_None
); resultobj
= Py_None
;
25441 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25444 wxTreeItemId
*arg2
= 0 ;
25445 PyObject
* obj0
= 0 ;
25446 PyObject
* obj1
= 0 ;
25447 char *kwnames
[] = {
25448 (char *) "self",(char *) "item", NULL
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25454 if (arg2
== NULL
) {
25455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 Py_INCREF(Py_None
); resultobj
= Py_None
;
25471 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25474 wxTreeItemId
*arg2
= 0 ;
25475 PyObject
* obj0
= 0 ;
25476 PyObject
* obj1
= 0 ;
25477 char *kwnames
[] = {
25478 (char *) "self",(char *) "item", NULL
25481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25484 if (arg2
== NULL
) {
25485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 Py_INCREF(Py_None
); resultobj
= Py_None
;
25501 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25502 PyObject
*resultobj
;
25503 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25504 PyObject
* obj0
= 0 ;
25505 char *kwnames
[] = {
25506 (char *) "self", NULL
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 (arg1
)->Unselect();
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 Py_INCREF(Py_None
); resultobj
= Py_None
;
25525 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25528 PyObject
* obj0
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 (arg1
)->UnselectAll();
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 Py_INCREF(Py_None
); resultobj
= Py_None
;
25549 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25552 wxTreeItemId
*arg2
= 0 ;
25553 PyObject
* obj0
= 0 ;
25554 PyObject
* obj1
= 0 ;
25555 char *kwnames
[] = {
25556 (char *) "self",(char *) "item", NULL
25559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25562 if (arg2
== NULL
) {
25563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 Py_INCREF(Py_None
); resultobj
= Py_None
;
25579 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
;
25581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25582 wxTreeItemId
*arg2
= 0 ;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self",(char *) "item", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25592 if (arg2
== NULL
) {
25593 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 Py_INCREF(Py_None
); resultobj
= Py_None
;
25609 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
;
25611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25612 wxTreeItemId
*arg2
= 0 ;
25613 PyObject
* obj0
= 0 ;
25614 PyObject
* obj1
= 0 ;
25615 char *kwnames
[] = {
25616 (char *) "self",(char *) "item", NULL
25619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25622 if (arg2
== NULL
) {
25623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 Py_INCREF(Py_None
); resultobj
= Py_None
;
25639 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25642 wxTreeItemId
*arg2
= 0 ;
25643 PyObject
* obj0
= 0 ;
25644 PyObject
* obj1
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self",(char *) "item", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25652 if (arg2
== NULL
) {
25653 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 Py_INCREF(Py_None
); resultobj
= Py_None
;
25669 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25672 wxTextCtrl
*result
;
25673 PyObject
* obj0
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "self", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
25679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= wxPyMake_wxObject(result
);
25696 static PyObject
*_wrap_TreeCtrl_SortChildren(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_SortChildren",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
)->SortChildren((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_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
;
25728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25729 wxPoint
*arg2
= 0 ;
25731 wxTreeItemId result
;
25734 PyObject
* obj0
= 0 ;
25735 PyObject
* obj1
= 0 ;
25736 char *kwnames
[] = {
25737 (char *) "self",(char *) "point", NULL
25741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25745 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25755 wxTreeItemId
* resultptr
;
25756 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25757 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25760 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25761 resultobj
= t_output_helper(resultobj
,o
);
25769 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
;
25771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25772 wxTreeItemId
*arg2
= 0 ;
25773 bool arg3
= (bool) False
;
25775 PyObject
* obj0
= 0 ;
25776 PyObject
* obj1
= 0 ;
25777 PyObject
* obj2
= 0 ;
25778 char *kwnames
[] = {
25779 (char *) "self",(char *) "item",(char *) "textOnly", NULL
25782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25785 if (arg2
== NULL
) {
25786 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25790 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= result
;
25808 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
25810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25811 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
25813 return Py_BuildValue((char *)"");
25815 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
25816 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
25821 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
25826 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
25828 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
25835 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
;
25837 wxWindow
*arg1
= (wxWindow
*) 0 ;
25838 int arg2
= (int) (int)-1 ;
25839 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
25840 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
25841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25845 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
25846 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25848 int arg8
= (int) 0 ;
25849 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
25850 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
25851 wxGenericDirCtrl
*result
;
25852 bool temp3
= False
;
25855 bool temp7
= False
;
25856 bool temp9
= False
;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 PyObject
* obj2
= 0 ;
25860 PyObject
* obj3
= 0 ;
25861 PyObject
* obj4
= 0 ;
25862 PyObject
* obj5
= 0 ;
25863 PyObject
* obj6
= 0 ;
25864 PyObject
* obj7
= 0 ;
25865 PyObject
* obj8
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
25871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25874 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25880 arg3
= wxString_in_helper(obj2
);
25881 if (arg3
== NULL
) SWIG_fail
;
25888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25899 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25905 arg7
= wxString_in_helper(obj6
);
25906 if (arg7
== NULL
) SWIG_fail
;
25912 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25918 arg9
= wxString_in_helper(obj8
);
25919 if (arg9
== NULL
) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
25961 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxGenericDirCtrl
*result
;
25964 char *kwnames
[] = {
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
25983 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
;
25985 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
25986 wxWindow
*arg2
= (wxWindow
*) 0 ;
25987 int arg3
= (int) (int)-1 ;
25988 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
25989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25990 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
25991 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
25992 wxSize
const &arg6_defvalue
= wxDefaultSize
;
25993 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
25994 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
25995 wxString
const &arg8_defvalue
= wxPyEmptyString
;
25996 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25997 int arg9
= (int) 0 ;
25998 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
25999 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26001 bool temp4
= False
;
26004 bool temp8
= False
;
26005 bool temp10
= False
;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 PyObject
* obj2
= 0 ;
26009 PyObject
* obj3
= 0 ;
26010 PyObject
* obj4
= 0 ;
26011 PyObject
* obj5
= 0 ;
26012 PyObject
* obj6
= 0 ;
26013 PyObject
* obj7
= 0 ;
26014 PyObject
* obj8
= 0 ;
26015 PyObject
* obj9
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26025 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26031 arg4
= wxString_in_helper(obj3
);
26032 if (arg4
== NULL
) SWIG_fail
;
26039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26045 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26050 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26056 arg8
= wxString_in_helper(obj7
);
26057 if (arg8
== NULL
) SWIG_fail
;
26063 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26069 arg10
= wxString_in_helper(obj9
);
26070 if (arg10
== NULL
) SWIG_fail
;
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26112 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26115 wxString
*arg2
= 0 ;
26117 bool temp2
= False
;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 char *kwnames
[] = {
26121 (char *) "self",(char *) "path", NULL
26124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26127 arg2
= wxString_in_helper(obj1
);
26128 if (arg2
== NULL
) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26153 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26157 PyObject
* obj0
= 0 ;
26158 char *kwnames
[] = {
26159 (char *) "self", NULL
26162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26184 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26187 wxString
*arg2
= 0 ;
26188 bool temp2
= False
;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "path", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26198 arg2
= wxString_in_helper(obj1
);
26199 if (arg2
== NULL
) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26224 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26255 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
;
26257 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26259 PyObject
* obj0
= 0 ;
26260 char *kwnames
[] = {
26261 (char *) "self", NULL
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26286 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26288 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26289 wxString
*arg2
= 0 ;
26290 bool temp2
= False
;
26291 PyObject
* obj0
= 0 ;
26292 PyObject
* obj1
= 0 ;
26293 char *kwnames
[] = {
26294 (char *) "self",(char *) "path", NULL
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26300 arg2
= wxString_in_helper(obj1
);
26301 if (arg2
== NULL
) SWIG_fail
;
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 (arg1
)->SetPath((wxString
const &)*arg2
);
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 Py_INCREF(Py_None
); resultobj
= Py_None
;
26326 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 PyObject
* obj1
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self",(char *) "show", NULL
26336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26339 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 (arg1
)->ShowHidden(arg2
);
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 Py_INCREF(Py_None
); resultobj
= Py_None
;
26356 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= (bool)(arg1
)->GetShowHidden();
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26381 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26412 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26415 wxString
*arg2
= 0 ;
26416 bool temp2
= False
;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char *kwnames
[] = {
26420 (char *) "self",(char *) "filter", NULL
26423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26426 arg2
= wxString_in_helper(obj1
);
26427 if (arg2
== NULL
) SWIG_fail
;
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 (arg1
)->SetFilter((wxString
const &)*arg2
);
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 Py_INCREF(Py_None
); resultobj
= Py_None
;
26452 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26456 PyObject
* obj0
= 0 ;
26457 char *kwnames
[] = {
26458 (char *) "self", NULL
26461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26470 resultobj
= SWIG_PyObj_FromInt((int)result
);
26477 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
;
26479 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "self",(char *) "n", NULL
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26490 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 (arg1
)->SetFilterIndex(arg2
);
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 Py_INCREF(Py_None
); resultobj
= Py_None
;
26507 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26508 PyObject
*resultobj
;
26509 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26510 wxTreeItemId result
;
26511 PyObject
* obj0
= 0 ;
26512 char *kwnames
[] = {
26513 (char *) "self", NULL
26516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 result
= (arg1
)->GetRootId();
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26526 wxTreeItemId
* resultptr
;
26527 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26528 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26536 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26537 PyObject
*resultobj
;
26538 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26539 wxPyTreeCtrl
*result
;
26540 PyObject
* obj0
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "self", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
26546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26555 resultobj
= wxPyMake_wxObject(result
);
26563 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26566 wxDirFilterListCtrl
*result
;
26567 PyObject
* obj0
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
26573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
26588 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26590 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26591 wxTreeItemId arg2
;
26592 wxString
*arg3
= 0 ;
26594 wxTreeItemId result
;
26595 wxTreeItemId
*argp2
;
26596 bool temp3
= False
;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26600 PyObject
* obj2
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self",(char *) "parentId",(char *) "path", NULL
26606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26608 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
26611 arg3
= wxString_in_helper(obj2
);
26612 if (arg3
== NULL
) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26623 wxTreeItemId
* resultptr
;
26624 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26625 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26628 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26629 resultobj
= t_output_helper(resultobj
,o
);
26645 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
;
26647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 char *kwnames
[] = {
26650 (char *) "self", NULL
26653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
26654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 (arg1
)->DoResize();
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 Py_INCREF(Py_None
); resultobj
= Py_None
;
26669 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
;
26671 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26672 PyObject
* obj0
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 (arg1
)->ReCreateTree();
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 Py_INCREF(Py_None
); resultobj
= Py_None
;
26693 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26696 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
26698 return Py_BuildValue((char *)"");
26700 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
;
26702 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26703 int arg2
= (int) (int)-1 ;
26704 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26705 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26706 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26707 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26708 long arg5
= (long) 0 ;
26709 wxDirFilterListCtrl
*result
;
26712 PyObject
* obj0
= 0 ;
26713 PyObject
* obj1
= 0 ;
26714 PyObject
* obj2
= 0 ;
26715 PyObject
* obj3
= 0 ;
26716 PyObject
* obj4
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26725 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26743 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26761 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
;
26763 wxDirFilterListCtrl
*result
;
26764 char *kwnames
[] = {
26768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26783 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26784 PyObject
*resultobj
;
26785 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
26786 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
26787 int arg3
= (int) (int)-1 ;
26788 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26789 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26790 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26791 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26792 long arg6
= (long) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 PyObject
* obj2
= 0 ;
26799 PyObject
* obj3
= 0 ;
26800 PyObject
* obj4
= 0 ;
26801 PyObject
* obj5
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26811 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26818 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26824 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26829 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26847 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26848 PyObject
*resultobj
;
26849 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
26850 wxString
*arg2
= 0 ;
26852 bool temp2
= False
;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 PyObject
* obj2
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26863 arg2
= wxString_in_helper(obj1
);
26864 if (arg2
== NULL
) SWIG_fail
;
26868 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 Py_INCREF(Py_None
); resultobj
= Py_None
;
26893 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26896 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
26898 return Py_BuildValue((char *)"");
26900 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
;
26902 wxWindow
*arg1
= (wxWindow
*) 0 ;
26904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26908 long arg5
= (long) 0 ;
26909 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26910 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26911 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
26912 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26913 wxPyControl
*result
;
26916 bool temp7
= False
;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 PyObject
* obj2
= 0 ;
26920 PyObject
* obj3
= 0 ;
26921 PyObject
* obj4
= 0 ;
26922 PyObject
* obj5
= 0 ;
26923 PyObject
* obj6
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26931 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26937 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26943 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26948 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26953 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26954 if (arg6
== NULL
) {
26955 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26960 arg7
= wxString_in_helper(obj6
);
26961 if (arg7
== NULL
) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
26987 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
26990 PyObject
*arg2
= (PyObject
*) 0 ;
26991 PyObject
*arg3
= (PyObject
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 PyObject
* obj2
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self",(char *) "self",(char *) "_class", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 Py_INCREF(Py_None
); resultobj
= Py_None
;
27017 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 PyObject
* obj2
= 0 ;
27027 PyObject
* obj3
= 0 ;
27028 PyObject
* obj4
= 0 ;
27029 char *kwnames
[] = {
27030 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27036 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27044 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27048 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 Py_INCREF(Py_None
); resultobj
= Py_None
;
27065 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27072 int arg6
= (int) wxSIZE_AUTO
;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 PyObject
* obj2
= 0 ;
27076 PyObject
* obj3
= 0 ;
27077 PyObject
* obj4
= 0 ;
27078 PyObject
* obj5
= 0 ;
27079 char *kwnames
[] = {
27080 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27086 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27090 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27094 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27098 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27103 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 Py_INCREF(Py_None
); resultobj
= Py_None
;
27121 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 PyObject
* obj2
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self",(char *) "width",(char *) "height", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27136 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27140 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 Py_INCREF(Py_None
); resultobj
= Py_None
;
27157 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
;
27159 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 PyObject
* obj1
= 0 ;
27164 PyObject
* obj2
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "x",(char *) "y", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27172 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 Py_INCREF(Py_None
); resultobj
= Py_None
;
27193 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27196 int *arg2
= (int *) 0 ;
27197 int *arg3
= (int *) 0 ;
27200 PyObject
* obj0
= 0 ;
27201 char *kwnames
[] = {
27202 (char *) "self", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 Py_INCREF(Py_None
); resultobj
= Py_None
;
27218 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27219 resultobj
= t_output_helper(resultobj
,o
);
27222 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27223 resultobj
= t_output_helper(resultobj
,o
);
27231 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
;
27233 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27234 int *arg2
= (int *) 0 ;
27235 int *arg3
= (int *) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 char *kwnames
[] = {
27240 (char *) "self", NULL
27245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 Py_INCREF(Py_None
); resultobj
= Py_None
;
27256 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27257 resultobj
= t_output_helper(resultobj
,o
);
27260 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27261 resultobj
= t_output_helper(resultobj
,o
);
27269 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
;
27271 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27272 int *arg2
= (int *) 0 ;
27273 int *arg3
= (int *) 0 ;
27276 PyObject
* obj0
= 0 ;
27277 char *kwnames
[] = {
27278 (char *) "self", NULL
27283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 Py_INCREF(Py_None
); resultobj
= Py_None
;
27294 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27295 resultobj
= t_output_helper(resultobj
,o
);
27298 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27299 resultobj
= t_output_helper(resultobj
,o
);
27307 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27308 PyObject
*resultobj
;
27309 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 char *kwnames
[] = {
27313 (char *) "self", NULL
27316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27322 wxPyEndAllowThreads(__tstate
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27326 wxSize
* resultptr
;
27327 resultptr
= new wxSize((wxSize
&) result
);
27328 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27336 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
;
27338 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27340 PyObject
* obj0
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27355 wxSize
* resultptr
;
27356 resultptr
= new wxSize((wxSize
&) result
);
27357 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27365 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27367 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27368 PyObject
* obj0
= 0 ;
27369 char *kwnames
[] = {
27370 (char *) "self", NULL
27373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 (arg1
)->base_InitDialog();
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 Py_INCREF(Py_None
); resultobj
= Py_None
;
27389 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
;
27391 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 result
= (bool)(arg1
)->base_TransferDataToWindow();
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27414 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 char *kwnames
[] = {
27420 (char *) "self", NULL
27423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27439 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
;
27441 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27443 PyObject
* obj0
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "self", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 result
= (bool)(arg1
)->base_Validate();
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27464 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 char *kwnames
[] = {
27470 (char *) "self", NULL
27473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27489 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27514 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27518 PyObject
* obj0
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27533 wxSize
* resultptr
;
27534 resultptr
= new wxSize((wxSize
&) result
);
27535 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27543 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
;
27545 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27546 wxWindow
*arg2
= (wxWindow
*) 0 ;
27547 PyObject
* obj0
= 0 ;
27548 PyObject
* obj1
= 0 ;
27549 char *kwnames
[] = {
27550 (char *) "self",(char *) "child", NULL
27553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27555 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 (arg1
)->base_AddChild(arg2
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 Py_INCREF(Py_None
); resultobj
= Py_None
;
27570 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27573 wxWindow
*arg2
= (wxWindow
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "self",(char *) "child", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27582 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 (arg1
)->base_RemoveChild(arg2
);
27587 wxPyEndAllowThreads(__tstate
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27590 Py_INCREF(Py_None
); resultobj
= Py_None
;
27597 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
27599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27600 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
27602 return Py_BuildValue((char *)"");
27604 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27607 int arg2
= (int) 0 ;
27608 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27609 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27610 wxHelpEvent
*result
;
27612 PyObject
* obj0
= 0 ;
27613 PyObject
* obj1
= 0 ;
27614 PyObject
* obj2
= 0 ;
27615 char *kwnames
[] = {
27616 (char *) "type",(char *) "winid",(char *) "pt", NULL
27619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27622 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
27652 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27653 PyObject
*resultobj
;
27654 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27656 PyObject
* obj0
= 0 ;
27657 char *kwnames
[] = {
27658 (char *) "self", NULL
27661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
27662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27666 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
27667 result
= (wxPoint
*) &_result_ref
;
27670 wxPyEndAllowThreads(__tstate
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
27680 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27681 PyObject
*resultobj
;
27682 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27683 wxPoint
*arg2
= 0 ;
27685 PyObject
* obj0
= 0 ;
27686 PyObject
* obj1
= 0 ;
27687 char *kwnames
[] = {
27688 (char *) "self",(char *) "pos", NULL
27691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
27692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27695 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 Py_INCREF(Py_None
); resultobj
= Py_None
;
27711 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
;
27713 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27715 PyObject
* obj0
= 0 ;
27716 char *kwnames
[] = {
27717 (char *) "self", NULL
27720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
27721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
27726 result
= (wxString
*) &_result_ref
;
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27736 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27745 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
;
27747 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27748 wxString
*arg2
= 0 ;
27749 bool temp2
= False
;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 char *kwnames
[] = {
27753 (char *) "self",(char *) "link", NULL
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
27757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27759 arg2
= wxString_in_helper(obj1
);
27760 if (arg2
== NULL
) SWIG_fail
;
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 (arg1
)->SetLink((wxString
const &)*arg2
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 Py_INCREF(Py_None
); resultobj
= Py_None
;
27785 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
;
27787 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27789 PyObject
* obj0
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
27795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
27800 result
= (wxString
*) &_result_ref
;
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27808 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27810 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27819 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
;
27821 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27822 wxString
*arg2
= 0 ;
27823 bool temp2
= False
;
27824 PyObject
* obj0
= 0 ;
27825 PyObject
* obj1
= 0 ;
27826 char *kwnames
[] = {
27827 (char *) "self",(char *) "target", NULL
27830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27833 arg2
= wxString_in_helper(obj1
);
27834 if (arg2
== NULL
) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 (arg1
)->SetTarget((wxString
const &)*arg2
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 Py_INCREF(Py_None
); resultobj
= Py_None
;
27859 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
27861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27862 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
27864 return Py_BuildValue((char *)"");
27866 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxWindow
*arg1
= (wxWindow
*) NULL
;
27869 bool arg2
= (bool) True
;
27870 wxContextHelp
*result
;
27871 PyObject
* obj0
= 0 ;
27872 PyObject
* obj1
= 0 ;
27873 char *kwnames
[] = {
27874 (char *) "window",(char *) "doNow", NULL
27877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
27879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27883 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27889 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
27891 wxPyEndAllowThreads(__tstate
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
27901 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 char *kwnames
[] = {
27906 (char *) "self", NULL
27909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
27910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 Py_INCREF(Py_None
); resultobj
= Py_None
;
27925 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
;
27927 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
27928 wxWindow
*arg2
= (wxWindow
*) NULL
;
27930 PyObject
* obj0
= 0 ;
27931 PyObject
* obj1
= 0 ;
27932 char *kwnames
[] = {
27933 (char *) "self",(char *) "window", NULL
27936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
27937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27939 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27955 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
27959 PyObject
* obj0
= 0 ;
27960 char *kwnames
[] = {
27961 (char *) "self", NULL
27964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
27965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 result
= (bool)(arg1
)->EndContextHelp();
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27980 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
27982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27983 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
27985 return Py_BuildValue((char *)"");
27987 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27988 PyObject
*resultobj
;
27989 wxWindow
*arg1
= (wxWindow
*) 0 ;
27990 int arg2
= (int) wxID_CONTEXT_HELP
;
27991 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27992 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27993 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27994 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27995 long arg5
= (long) wxBU_AUTODRAW
;
27996 wxContextHelpButton
*result
;
27999 PyObject
* obj0
= 0 ;
28000 PyObject
* obj1
= 0 ;
28001 PyObject
* obj2
= 0 ;
28002 PyObject
* obj3
= 0 ;
28003 PyObject
* obj4
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28012 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28019 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28025 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28030 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28048 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28051 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28053 return Py_BuildValue((char *)"");
28055 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
;
28057 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28058 wxHelpProvider
*result
;
28059 PyObject
* obj0
= 0 ;
28060 char *kwnames
[] = {
28061 (char *) "helpProvider", NULL
28064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28080 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28081 PyObject
*resultobj
;
28082 wxHelpProvider
*result
;
28083 char *kwnames
[] = {
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28102 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28103 PyObject
*resultobj
;
28104 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28105 wxWindow
*arg2
= (wxWindow
*) 0 ;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self",(char *) "window", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28115 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28136 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28139 wxWindow
*arg2
= (wxWindow
*) 0 ;
28141 PyObject
* obj0
= 0 ;
28142 PyObject
* obj1
= 0 ;
28143 char *kwnames
[] = {
28144 (char *) "self",(char *) "window", NULL
28147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28152 result
= (bool)(arg1
)->ShowHelp(arg2
);
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28164 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28165 PyObject
*resultobj
;
28166 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28167 wxWindow
*arg2
= (wxWindow
*) 0 ;
28168 wxString
*arg3
= 0 ;
28169 bool temp3
= False
;
28170 PyObject
* obj0
= 0 ;
28171 PyObject
* obj1
= 0 ;
28172 PyObject
* obj2
= 0 ;
28173 char *kwnames
[] = {
28174 (char *) "self",(char *) "window",(char *) "text", NULL
28177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28179 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28181 arg3
= wxString_in_helper(obj2
);
28182 if (arg3
== NULL
) SWIG_fail
;
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 Py_INCREF(Py_None
); resultobj
= Py_None
;
28207 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28211 wxString
*arg3
= 0 ;
28212 bool temp3
= False
;
28213 PyObject
* obj0
= 0 ;
28214 PyObject
* obj1
= 0 ;
28215 PyObject
* obj2
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "self",(char *) "id",(char *) "text", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28223 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28227 arg3
= wxString_in_helper(obj2
);
28228 if (arg3
== NULL
) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 Py_INCREF(Py_None
); resultobj
= Py_None
;
28253 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
;
28255 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28256 PyObject
* obj0
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 wxHelpProvider_Destroy(arg1
);
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 Py_INCREF(Py_None
); resultobj
= Py_None
;
28277 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28280 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28282 return Py_BuildValue((char *)"");
28284 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxSimpleHelpProvider
*result
;
28287 char *kwnames
[] = {
28291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28296 wxPyEndAllowThreads(__tstate
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28306 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28309 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28311 return Py_BuildValue((char *)"");
28313 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28314 PyObject
*resultobj
;
28315 wxBitmap
*arg1
= 0 ;
28316 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28317 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28318 wxGenericDragImage
*result
;
28319 PyObject
* obj0
= 0 ;
28320 PyObject
* obj1
= 0 ;
28321 char *kwnames
[] = {
28322 (char *) "image",(char *) "cursor", NULL
28325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28327 if (arg1
== NULL
) {
28328 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28332 if (arg2
== NULL
) {
28333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28350 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28353 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28354 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28355 wxGenericDragImage
*result
;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 char *kwnames
[] = {
28359 (char *) "image",(char *) "cursor", NULL
28362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28364 if (arg1
== NULL
) {
28365 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28369 if (arg2
== NULL
) {
28370 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28387 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28388 PyObject
*resultobj
;
28389 wxString
*arg1
= 0 ;
28390 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28391 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28392 wxGenericDragImage
*result
;
28393 bool temp1
= False
;
28394 PyObject
* obj0
= 0 ;
28395 PyObject
* obj1
= 0 ;
28396 char *kwnames
[] = {
28397 (char *) "str",(char *) "cursor", NULL
28400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28402 arg1
= wxString_in_helper(obj0
);
28403 if (arg1
== NULL
) SWIG_fail
;
28407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28408 if (arg2
== NULL
) {
28409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28414 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28434 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
;
28436 wxPyTreeCtrl
*arg1
= 0 ;
28437 wxTreeItemId
*arg2
= 0 ;
28438 wxGenericDragImage
*result
;
28439 PyObject
* obj0
= 0 ;
28440 PyObject
* obj1
= 0 ;
28441 char *kwnames
[] = {
28442 (char *) "treeCtrl",(char *) "id", NULL
28445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28447 if (arg1
== NULL
) {
28448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28451 if (arg2
== NULL
) {
28452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28468 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxPyListCtrl
*arg1
= 0 ;
28472 wxGenericDragImage
*result
;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 char *kwnames
[] = {
28476 (char *) "listCtrl",(char *) "id", NULL
28479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28481 if (arg1
== NULL
) {
28482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28485 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28502 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28505 PyObject
* obj0
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28519 Py_INCREF(Py_None
); resultobj
= Py_None
;
28526 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28527 PyObject
*resultobj
;
28528 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28529 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
28530 PyObject
* obj0
= 0 ;
28531 PyObject
* obj1
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "self",(char *) "bitmap", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28541 (arg1
)->SetBackingBitmap(arg2
);
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28546 Py_INCREF(Py_None
); resultobj
= Py_None
;
28553 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28554 PyObject
*resultobj
;
28555 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28556 wxPoint
*arg2
= 0 ;
28557 wxWindow
*arg3
= (wxWindow
*) 0 ;
28558 bool arg4
= (bool) False
;
28559 wxRect
*arg5
= (wxRect
*) NULL
;
28562 PyObject
* obj0
= 0 ;
28563 PyObject
* obj1
= 0 ;
28564 PyObject
* obj2
= 0 ;
28565 PyObject
* obj3
= 0 ;
28566 PyObject
* obj4
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28577 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28580 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28585 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28601 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28604 wxPoint
*arg2
= 0 ;
28605 wxWindow
*arg3
= (wxWindow
*) 0 ;
28606 wxWindow
*arg4
= (wxWindow
*) 0 ;
28609 PyObject
* obj0
= 0 ;
28610 PyObject
* obj1
= 0 ;
28611 PyObject
* obj2
= 0 ;
28612 PyObject
* obj3
= 0 ;
28613 char *kwnames
[] = {
28614 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28621 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28623 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28624 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28639 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
;
28641 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28643 PyObject
* obj0
= 0 ;
28644 char *kwnames
[] = {
28645 (char *) "self", NULL
28648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
28649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 result
= (bool)(arg1
)->EndDrag();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28664 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28665 PyObject
*resultobj
;
28666 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28667 wxPoint
*arg2
= 0 ;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self",(char *) "pt", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
28677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28696 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28700 PyObject
* obj0
= 0 ;
28701 char *kwnames
[] = {
28702 (char *) "self", NULL
28705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
28706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= (bool)(arg1
)->Show();
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28721 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28722 PyObject
*resultobj
;
28723 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28725 PyObject
* obj0
= 0 ;
28726 char *kwnames
[] = {
28727 (char *) "self", NULL
28730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
28731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= (bool)(arg1
)->Hide();
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28746 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
;
28748 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28749 wxPoint
*arg2
= 0 ;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 char *kwnames
[] = {
28755 (char *) "self",(char *) "pos", NULL
28758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28766 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
28768 wxPyEndAllowThreads(__tstate
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28772 wxRect
* resultptr
;
28773 resultptr
= new wxRect((wxRect
&) result
);
28774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
28782 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28783 PyObject
*resultobj
;
28784 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28786 wxPoint
*arg3
= 0 ;
28789 PyObject
* obj0
= 0 ;
28790 PyObject
* obj1
= 0 ;
28791 PyObject
* obj2
= 0 ;
28792 char *kwnames
[] = {
28793 (char *) "self",(char *) "dc",(char *) "pos", NULL
28796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28798 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28799 if (arg2
== NULL
) {
28800 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28820 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
;
28822 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28824 wxMemoryDC
*arg3
= 0 ;
28830 PyObject
* obj0
= 0 ;
28831 PyObject
* obj1
= 0 ;
28832 PyObject
* obj2
= 0 ;
28833 PyObject
* obj3
= 0 ;
28834 PyObject
* obj4
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28842 if (arg2
== NULL
) {
28843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28845 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28846 if (arg3
== NULL
) {
28847 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28851 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28855 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28859 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
28861 wxPyEndAllowThreads(__tstate
);
28862 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28871 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28872 PyObject
*resultobj
;
28873 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28874 wxPoint
*arg2
= 0 ;
28875 wxPoint
*arg3
= 0 ;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 PyObject
* obj2
= 0 ;
28884 PyObject
* obj3
= 0 ;
28885 PyObject
* obj4
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28898 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28901 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28905 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28922 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
28924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28925 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
28927 return Py_BuildValue((char *)"");
28929 static PyMethodDef SwigMethods
[] = {
28930 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
28936 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
28951 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
28962 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
28971 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
28989 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29002 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29006 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29012 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29013 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29015 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29016 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29017 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29020 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29023 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29027 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29030 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29031 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29033 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29034 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29035 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29038 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29039 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29041 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29042 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29043 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29044 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29045 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29046 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29047 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29048 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29049 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29050 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29051 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29052 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29053 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29054 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29055 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29056 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29057 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29058 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29059 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29060 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29061 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29062 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29063 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29064 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29065 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29066 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29067 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29068 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29069 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29070 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29071 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29072 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29073 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29074 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29075 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29076 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29077 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29078 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29079 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29080 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29081 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29082 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29083 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29084 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29085 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29086 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29087 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29088 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29089 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29090 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29091 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29092 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29093 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29094 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29095 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29096 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29097 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29098 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29099 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29100 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29101 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29102 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29103 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29104 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29105 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29106 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29107 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29108 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29109 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29110 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29111 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29112 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29113 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29114 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29115 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29116 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29117 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29118 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29119 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29120 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29121 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29122 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29123 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29124 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29125 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29126 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29127 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29128 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29129 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29130 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29131 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29132 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29133 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29134 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29135 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29136 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29137 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29138 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29139 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29140 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29141 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29142 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29143 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29144 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29145 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29146 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29147 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29148 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29149 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29150 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29151 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29152 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29153 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29154 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29155 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29156 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29157 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29158 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29159 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29160 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29161 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29162 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29163 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29164 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29165 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29166 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29167 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29168 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29169 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29170 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29171 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29172 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29173 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29174 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29175 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29176 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29177 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29178 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29179 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29180 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29181 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29182 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29183 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29184 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29185 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29186 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29187 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29188 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29189 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29190 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29191 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29192 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29193 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29194 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29195 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29196 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29197 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29198 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29199 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29200 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29201 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29202 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29203 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29204 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29205 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29206 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29207 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29208 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29209 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29210 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29211 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29212 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29213 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29214 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29215 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29216 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29217 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29218 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29219 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29220 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29221 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29222 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29223 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29224 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29225 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29226 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29227 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29228 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29229 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29230 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29231 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29232 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29233 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29234 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29235 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29236 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29237 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29238 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29239 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29240 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29241 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29242 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29243 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29244 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29245 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29246 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29247 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29248 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29249 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29250 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29251 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29252 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29253 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29254 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29255 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29256 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29257 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29258 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29259 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29260 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29261 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29262 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29263 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29264 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29265 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29266 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29267 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29268 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29269 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29270 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29271 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29272 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29273 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29274 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29275 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29276 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29277 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29278 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29279 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29280 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29281 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29282 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29283 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29284 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29285 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29286 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29287 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29288 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29289 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29290 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29291 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29292 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29293 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29294 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29295 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29296 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29297 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29298 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29299 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29300 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29301 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29302 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29303 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29304 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29305 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29306 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29307 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29308 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29309 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29310 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29311 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29312 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29313 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29314 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29315 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29316 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29317 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29318 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29319 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29320 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29321 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29322 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29323 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29324 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29325 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29326 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29327 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29328 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29329 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29330 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29331 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29332 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29333 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29334 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29335 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29336 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29337 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29338 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29339 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29340 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29341 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29342 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29343 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29344 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29345 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29346 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29347 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29348 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29349 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29350 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29351 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29352 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29353 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29354 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29355 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29356 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29357 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29358 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29359 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29360 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29361 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29362 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29363 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29364 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29365 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29366 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29367 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29368 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29369 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29370 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29371 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29372 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29373 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29374 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29375 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29376 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29377 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29378 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29379 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29380 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29381 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29382 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29383 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29384 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29385 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29386 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29387 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29388 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29389 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29390 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29391 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29392 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29393 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29394 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29395 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29396 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29397 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29398 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29399 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29400 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29401 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29402 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29403 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29404 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29405 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29406 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29407 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29408 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29409 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29410 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29411 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29412 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29413 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29414 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29415 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29419 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29420 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29421 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29422 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29423 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29425 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29426 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29427 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29429 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29430 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29431 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29432 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29436 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29437 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29438 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29440 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29442 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29443 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29446 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29447 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29448 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29450 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29453 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29456 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29457 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29458 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29463 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29467 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29472 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29473 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29474 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29476 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29478 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29479 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29483 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29486 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29487 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29488 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29490 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29491 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29495 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29496 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29497 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29501 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29502 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29504 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29505 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
29506 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
29522 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
29534 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
29542 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
29549 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
29565 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29582 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29586 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29628 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
29637 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
29659 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
29664 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
29685 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
29693 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
29698 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
29700 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
29708 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
29710 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
29732 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29734 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
29735 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29737 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
29738 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29740 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
29741 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
29743 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
29744 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29746 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
29747 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29749 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
29750 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
29752 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
29753 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29755 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
29756 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
29758 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
29759 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
29761 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
29762 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
29764 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29765 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29767 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29768 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29770 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29771 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29773 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29774 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29776 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29777 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29779 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
29780 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
29782 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29783 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29785 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29786 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29788 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29789 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29791 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
29792 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
29794 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
29795 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
29797 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29798 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29800 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29801 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29803 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
29804 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
29806 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
29807 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29809 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
29810 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29812 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
29813 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
29815 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29816 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29818 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29821 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29822 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29824 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29825 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29827 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29828 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29830 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29831 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29833 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29834 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29836 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29837 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29839 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29840 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29842 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29843 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29845 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29848 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29849 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29851 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29852 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29854 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29855 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29857 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29858 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29860 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29861 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29863 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29864 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29866 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29867 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29869 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29870 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29872 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29873 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29875 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29878 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29881 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29882 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29884 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29885 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29887 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29888 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29890 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
29891 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
29893 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
29894 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
29896 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
29897 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
29899 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
29900 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
29902 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
29903 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
29905 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
29906 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
29908 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
29909 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
29911 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
29912 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
29914 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
29915 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
29917 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
29918 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
29920 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
29921 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
29923 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
29924 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
29926 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
29927 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
29929 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
29930 return (void *)((wxControl
*) ((wxComboBox
*) x
));
29932 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
29933 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
29935 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
29936 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
29938 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
29939 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
29941 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
29942 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
29944 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
29945 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
29947 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
29948 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
29950 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
29951 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
29953 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
29954 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
29956 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
29957 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
29959 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
29960 return (void *)((wxControl
*) ((wxGauge
*) x
));
29962 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
29963 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
29965 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
29966 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
29968 static void *_p_wxButtonTo_p_wxControl(void *x
) {
29969 return (void *)((wxControl
*) ((wxButton
*) x
));
29971 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
29972 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
29974 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
29975 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
29977 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
29978 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
29980 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
29981 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
29983 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
29984 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
29986 static void *_p_wxListbookTo_p_wxControl(void *x
) {
29987 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
29989 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
29990 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
29992 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
29993 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
29995 static void *_p_wxListViewTo_p_wxControl(void *x
) {
29996 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
29998 static void *_p_wxSliderTo_p_wxControl(void *x
) {
29999 return (void *)((wxControl
*) ((wxSlider
*) x
));
30001 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30002 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30004 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30005 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30007 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30008 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30010 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30011 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30013 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30014 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30016 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30017 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30019 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30020 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30022 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30023 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30025 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30026 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30028 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30029 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30031 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30032 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30034 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30035 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30037 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30040 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30041 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30043 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30044 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30046 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30047 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30049 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30052 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30053 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30055 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30058 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30061 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30062 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30064 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30065 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30067 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30068 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30070 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30073 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30076 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30079 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30080 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30082 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30083 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30085 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30088 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30089 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30091 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30094 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30097 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30100 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30103 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30106 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30109 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30112 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30115 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30118 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30121 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30124 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30127 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30130 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30133 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30136 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30139 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30142 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30145 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30148 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30151 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30154 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30157 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30158 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30160 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30161 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30163 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30164 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30166 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30167 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30169 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30170 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30172 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30173 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30175 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30176 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30178 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30179 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30181 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30182 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30184 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30185 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30187 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30190 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30191 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30193 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30196 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30199 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30200 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30202 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30203 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30205 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30206 return (void *)((wxObject
*) ((wxSizer
*) x
));
30208 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30209 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30211 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30214 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30217 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30218 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30220 static void *_p_wxEventTo_p_wxObject(void *x
) {
30221 return (void *)((wxObject
*) ((wxEvent
*) x
));
30223 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30224 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30226 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30227 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30229 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30230 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30232 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30235 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30238 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30241 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30242 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30244 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30245 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30247 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30248 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30250 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30251 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30253 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30254 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30256 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30257 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30259 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30262 static void *_p_wxControlTo_p_wxObject(void *x
) {
30263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30265 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30268 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30271 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30274 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30277 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30281 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30283 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30286 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30287 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30289 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30290 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30292 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30295 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30298 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30301 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30302 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30304 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30307 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30310 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30311 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30313 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30316 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30319 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30320 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30322 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30323 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30325 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30328 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30329 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30331 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30332 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30334 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30335 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30337 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30338 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30340 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30341 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30343 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30344 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30346 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30349 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30350 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30352 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30353 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30355 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30356 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30358 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30361 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30364 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30365 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30367 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30368 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30370 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30371 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30373 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30374 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30376 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30377 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30379 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30382 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30383 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30385 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30388 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30389 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30391 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30394 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30397 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30400 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30403 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30406 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30409 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30412 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30415 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30416 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30418 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30421 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30424 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30427 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30430 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30431 return (void *)((wxObject
*) ((wxListItem
*) x
));
30433 static void *_p_wxImageTo_p_wxObject(void *x
) {
30434 return (void *)((wxObject
*) ((wxImage
*) x
));
30436 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30437 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30439 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30440 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30442 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30445 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30446 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30448 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30451 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30452 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30454 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30455 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30457 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30460 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30461 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30463 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30464 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30466 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30467 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30469 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30470 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30472 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30475 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30476 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30478 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30479 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30481 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30482 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30484 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30485 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30487 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30488 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30490 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30491 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30493 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30494 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30496 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30499 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30500 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30502 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30503 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30505 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
30506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30508 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30509 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30511 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30512 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30514 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30517 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30520 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
30521 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
30523 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
30524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30526 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30529 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30530 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30532 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
30533 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
30535 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
30536 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
30538 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30539 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30541 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
30542 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30544 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
30545 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
30547 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
30548 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
30550 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
30551 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
30553 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30554 return (void *)((wxWindow
*) ((wxControl
*) x
));
30556 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
30557 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
30559 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
30560 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30562 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
30563 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
30565 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
30566 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
30568 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
30569 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
30571 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
30572 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
30574 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30575 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30577 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
30578 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
30580 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
30581 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
30583 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
30584 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30586 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
30587 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
30589 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
30590 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
30592 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
30593 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
30595 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
30596 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30598 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
30599 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30601 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
30602 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30604 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
30605 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30607 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
30608 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30610 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
30611 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
30613 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
30614 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
30616 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
30617 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
30619 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
30620 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
30622 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
30623 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
30625 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
30626 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
30628 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
30629 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
30631 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
30632 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30634 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
30635 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30637 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
30638 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
30640 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
30641 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30643 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
30644 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30646 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
30647 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30649 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
30650 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
30652 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
30653 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30655 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
30656 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30658 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
30659 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30661 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
30662 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30664 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
30665 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30667 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
30668 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
30670 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
30671 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30673 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
30674 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30676 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
30677 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30679 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
30680 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
30682 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
30683 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30685 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
30686 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30688 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
30689 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30691 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
30692 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
30694 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
30695 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
30697 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
30698 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
30700 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
30701 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
30703 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
30704 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}};
30705 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}};
30706 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
30707 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
30708 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}};
30709 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
30710 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
30711 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
30712 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}};
30713 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
30714 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
30715 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
30716 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}};
30717 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
30718 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
30719 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
30720 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
30721 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
30722 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
30723 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
30724 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
30725 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
30726 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
30727 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
30728 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
30729 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
30730 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
30731 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
30732 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
30733 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
30734 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}};
30735 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
30736 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
30737 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
30738 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
30739 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
30740 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
30741 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
30742 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
30743 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}};
30744 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
30745 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
30746 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
30747 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}};
30748 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
30749 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}};
30750 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
30751 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
30752 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
30753 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
30754 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
30755 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
30756 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
30757 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
30758 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
30759 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
30760 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
30761 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
30762 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
30763 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
30764 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
30765 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
30766 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
30767 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
30768 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
30769 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
30770 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
30771 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}};
30772 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
30773 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
30774 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}};
30775 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
30776 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
30777 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
30778 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
30779 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}};
30780 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
30781 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}};
30782 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
30783 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
30784 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
30785 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
30786 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
30788 static swig_type_info
*swig_types_initial
[] = {
30789 _swigt__p_wxTextUrlEvent
,
30790 _swigt__p_wxBookCtrlEvent
,
30792 _swigt__p_wxCheckBox
,
30793 _swigt__p_wxPyTreeCtrl
,
30795 _swigt__p_wxGenericDirCtrl
,
30797 _swigt__p_wxPyTreeItemData
,
30798 _swigt__p_wxItemContainer
,
30799 _swigt__p_wxDirFilterListCtrl
,
30800 _swigt__p_wxPyListCtrl
,
30801 _swigt__p_wxStaticLine
,
30802 _swigt__p_wxControl
,
30803 _swigt__p_wxPyControl
,
30805 _swigt__p_wxToolBarBase
,
30807 _swigt__p_wxToggleButton
,
30808 _swigt__p_wxRadioButton
,
30809 _swigt__p_wxChoice
,
30810 _swigt__p_wxMemoryDC
,
30811 _swigt__p_wxListItemAttr
,
30816 _swigt__p_wxListView
,
30818 _swigt__p_wxTextCtrl
,
30819 _swigt__p_wxNotebook
,
30820 _swigt__p_wxNotifyEvent
,
30821 _swigt__p_wxArrayString
,
30822 _swigt__p_wxListbook
,
30823 _swigt__p_wxStaticBitmap
,
30824 _swigt__p_wxSlider
,
30825 _swigt__p_wxStaticBox
,
30826 _swigt__p_wxArrayInt
,
30827 _swigt__p_wxContextHelp
,
30829 _swigt__p_wxEvtHandler
,
30830 _swigt__p_wxListEvent
,
30831 _swigt__p_wxListBox
,
30832 _swigt__p_wxCheckListBox
,
30833 _swigt__p_wxBookCtrl
,
30834 _swigt__p_wxSpinButton
,
30835 _swigt__p_wxButton
,
30836 _swigt__p_wxBitmapButton
,
30838 _swigt__p_wxContextHelpButton
,
30839 _swigt__p_wxRadioBox
,
30840 _swigt__p_wxScrollBar
,
30842 _swigt__p_wxTreeItemId
,
30843 _swigt__p_wxComboBox
,
30844 _swigt__p_wxHelpEvent
,
30845 _swigt__p_wxListItem
,
30846 _swigt__p_wxNotebookSizer
,
30847 _swigt__p_wxSpinEvent
,
30848 _swigt__p_wxGenericDragImage
,
30849 _swigt__p_wxSpinCtrl
,
30850 _swigt__p_wxImageList
,
30851 _swigt__p_wxHelpProvider
,
30852 _swigt__p_wxTextAttr
,
30853 _swigt__p_wxSimpleHelpProvider
,
30855 _swigt__p_wxListbookEvent
,
30856 _swigt__p_wxNotebookEvent
,
30857 _swigt__p_wxObject
,
30858 _swigt__p_wxCursor
,
30859 _swigt__p_wxKeyEvent
,
30860 _swigt__p_wxWindow
,
30861 _swigt__p_wxString
,
30862 _swigt__p_wxBitmap
,
30863 _swigt__p_wxTreeEvent
,
30864 _swigt__p_wxMouseEvent
,
30865 _swigt__p_wxCommandEvent
,
30866 _swigt__p_wxStaticText
,
30867 _swigt__p_wxControlWithItems
,
30868 _swigt__p_wxToolBarToolBase
,
30869 _swigt__p_wxColour
,
30870 _swigt__p_wxToolBar
,
30871 _swigt__p_wxBookCtrlSizer
,
30872 _swigt__p_wxValidator
,
30877 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30879 static swig_const_info swig_const_table
[] = {
30889 SWIGEXPORT(void) SWIG_init(void) {
30890 static PyObject
*SWIG_globals
= 0;
30891 static int typeinit
= 0;
30894 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30895 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30896 d
= PyModule_GetDict(m
);
30899 for (i
= 0; swig_types_initial
[i
]; i
++) {
30900 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30904 SWIG_InstallConstants(d
,swig_const_table
);
30906 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30907 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
30908 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
30909 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
30910 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
30911 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
30912 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
30913 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
30914 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
30915 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
30916 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
30917 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
30918 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
30919 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
30920 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
30921 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
30922 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
30923 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
30924 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
30925 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
30926 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
30927 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
30928 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
30929 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
30930 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
30931 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
30932 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
30933 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
30934 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
30935 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
30936 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
30937 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
30938 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
30939 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
30940 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
30941 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
30942 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
30943 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
30944 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
30945 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
30946 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
30947 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
30948 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
30949 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
30950 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
30951 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
30952 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
30953 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
30954 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
30955 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
30956 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
30957 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
30958 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
30959 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
30960 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
30961 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
30962 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
30963 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
30964 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
30965 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
30966 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
30967 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
30968 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
30969 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
30970 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
30971 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
30972 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
30973 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
30974 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
30975 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
30976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
30977 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
30978 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
30979 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
30980 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
30981 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
30982 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
30983 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
30984 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
30985 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
30986 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
30987 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
30988 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
30989 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
30990 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
30991 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
30992 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
30993 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
30994 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
30995 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
30996 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
30997 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
30998 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
30999 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31000 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31001 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31002 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31003 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31004 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31005 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31006 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31007 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31008 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31009 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31010 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31011 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31012 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31013 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31014 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31015 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31016 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31017 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31018 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31019 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31020 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31021 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31022 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31023 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31024 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31025 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31026 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31027 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31028 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31029 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31030 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31031 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31032 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31033 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31034 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31035 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31036 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31037 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31038 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31039 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31040 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31041 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31042 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31043 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31044 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31045 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31046 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31047 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31048 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31049 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31050 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31051 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31052 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31053 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31054 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31055 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31056 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31057 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31058 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31059 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31060 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31061 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31062 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31063 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31064 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31065 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31066 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31067 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31068 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31069 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31070 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31071 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31072 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31073 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31074 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31075 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31076 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31077 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31078 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31079 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31080 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31081 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31082 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31083 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31084 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31085 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31086 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31087 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31088 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31089 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31090 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31091 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31092 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31093 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31094 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31095 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31096 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31097 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31098 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31099 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31100 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31101 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31102 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31103 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31104 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31105 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31106 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31107 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31108 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31109 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31110 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31111 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31112 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31113 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31114 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31115 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31116 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31118 // Map renamed classes back to their common name for OOR
31119 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31121 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31122 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31123 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31124 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31125 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31126 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31127 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31128 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31129 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31130 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31131 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31132 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31133 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31134 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31135 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31136 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31137 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31138 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31139 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31140 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31141 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31142 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31143 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31144 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31145 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31146 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31147 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31148 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31149 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31150 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31151 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31152 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31153 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31154 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31155 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31156 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31157 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31159 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31160 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31161 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31162 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31163 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31164 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31165 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31166 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31167 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31168 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31169 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31170 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31171 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31172 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31173 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31174 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31175 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31176 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31178 // Map renamed classes back to their common name for OOR
31179 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31180 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31182 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31183 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31184 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31185 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31186 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31187 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31188 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31189 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31190 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31191 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31193 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");