1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
327 #define SWIG_name "_controls"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
371 static const wxString
wxPyEmptyString(wxEmptyString
);
372 static const wxString
wxPyControlNameStr(wxControlNameStr
);
373 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
376 SWIG_PyObj_AsInt(PyObject
*obj
)
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
384 SWIG_PyObj_AsLong(PyObject
* obj
)
386 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
390 SWIGSTATIC(PyObject
*)
391 SWIG_PyObj_FromBool(bool value
)
393 PyObject
*obj
= value
? Py_True
: Py_False
;
398 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
401 SWIG_PyObj_AsBool(PyObject
*obj
)
403 return PyObject_IsTrue(obj
) ? true : false;
406 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
407 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
408 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
409 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
410 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
411 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
413 #include <wx/checklst.h>
416 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
417 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
419 wxPyClientData
* data
= new wxPyClientData(clientData
);
420 self
->Insert(item
, pos
, data
);
422 self
->Insert(item
, pos
);
424 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
426 self
->GetSelections(lst
);
427 PyObject
*tup
= PyTuple_New(lst
.GetCount());
428 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
429 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
433 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
435 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
441 } else if (target
== Py_None
) {
445 if (!PyTuple_Check(target
)) {
447 target
= PyTuple_New(1);
448 PyTuple_SetItem(target
, 0, o2
);
451 PyTuple_SetItem(o3
, 0, o
);
454 target
= PySequence_Concat(o2
, o3
);
461 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
462 self
->AppendText(text
);
464 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
465 return self
->GetValue().Mid(from
, to
- from
);
467 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
468 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
469 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
470 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
471 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
472 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
473 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
474 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
476 #include <wx/slider.h>
479 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
480 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
482 #if defined(__WXMAC__) || defined(__WXX11__)
483 // implement dummy classes and such for wxMac
485 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
487 class wxToggleButton
: public wxControl
490 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
491 const wxPoint
&, const wxSize
&, long,
492 const wxValidator
&, const wxString
&)
493 { wxPyRaiseNotImplemented(); }
496 { wxPyRaiseNotImplemented(); }
500 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
502 SWIGSTATIC(PyObject
* )
503 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
505 return (value
> (unsigned long)(LONG_MAX
)) ?
506 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
509 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
510 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
511 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
513 Py_INCREF(udata
->m_obj
);
520 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
521 self
->SetClientData(new wxPyUserData(clientData
));
523 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
){
524 wxPyUserData
* udata
= NULL
;
525 if (clientData
&& clientData
!= Py_None
)
526 udata
= new wxPyUserData(clientData
);
527 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
528 shortHelp
, longHelp
, udata
);
530 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
){
531 wxPyUserData
* udata
= NULL
;
532 if (clientData
&& clientData
!= Py_None
)
533 udata
= new wxPyUserData(clientData
);
534 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
535 shortHelp
, longHelp
, udata
);
537 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
538 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
540 Py_INCREF(udata
->m_obj
);
547 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
548 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
551 #include <wx/listctrl.h>
554 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
555 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
556 // Python aware sorting function for wxPyListCtrl
557 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
559 PyObject
* func
= (PyObject
*)funcPtr
;
560 wxPyBeginBlockThreads();
562 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
563 PyObject
* result
= PyEval_CallObject(func
, args
);
566 retval
= PyInt_AsLong(result
);
570 wxPyEndBlockThreads();
574 // C++ Version of a Python aware class
575 class wxPyListCtrl
: public wxListCtrl
{
576 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
578 wxPyListCtrl() : wxListCtrl() {}
579 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
583 const wxValidator
& validator
,
584 const wxString
& name
) :
585 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
587 bool Create(wxWindow
* parent
, wxWindowID id
,
591 const wxValidator
& validator
,
592 const wxString
& name
) {
593 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
596 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
597 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
598 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
603 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
605 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
606 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
607 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
609 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
611 item
.SetMask( wxLIST_MASK_STATE
|
619 if (self
->GetColumn(col
, item
))
620 return new wxListItem(item
);
624 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
625 wxListItem
* info
= new wxListItem
;
626 info
->m_itemId
= itemId
;
628 info
->m_mask
= 0xFFFF;
629 self
->GetItem(*info
);
632 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
634 self
->GetItemPosition(item
, pos
);
637 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
639 self
->GetItemRect(item
, rect
, code
);
642 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
643 if (!PyCallable_Check(func
))
645 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
647 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
651 return (wxWindow
*)self
->m_mainWin
;
655 #include <wx/treectrl.h>
656 #include "wx/wxPython/pytree.h"
658 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
659 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
660 if (!other
) return False
;
661 return *self
== *other
;
663 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
664 if (!other
) return True
;
665 return *self
!= *other
;
667 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
668 // C++ version of Python aware wxTreeCtrl
669 class wxPyTreeCtrl
: public wxTreeCtrl
{
670 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
672 wxPyTreeCtrl() : wxTreeCtrl() {}
673 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
677 const wxValidator
& validator
,
678 const wxString
& name
) :
679 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
681 bool Create(wxWindow
*parent
, wxWindowID id
,
685 const wxValidator
& validator
,
686 const wxString
& name
) {
687 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
691 int OnCompareItems(const wxTreeItemId
& item1
,
692 const wxTreeItemId
& item2
) {
695 wxPyBeginBlockThreads();
696 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
697 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
698 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
699 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
703 wxPyEndBlockThreads();
705 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
711 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
715 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
718 SWIGSTATIC(unsigned int)
719 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
721 return numeric_cast(unsigned int,
722 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
725 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(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
);
734 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
735 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
737 data
= new wxPyTreeItemData();
738 data
->SetId(item
); // set the id
739 self
->SetItemData(item
, data
);
741 return data
->GetData();
743 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
744 data
->SetId(item
); // set the id
745 self
->SetItemData(item
, data
);
747 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
748 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
750 data
= new wxPyTreeItemData(obj
);
751 data
->SetId(item
); // set the id
752 self
->SetItemData(item
, data
);
756 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
757 wxPyBeginBlockThreads();
758 PyObject
* rval
= PyList_New(0);
759 wxArrayTreeItemIds array
;
761 num
= self
->GetSelections(array
);
762 for (x
=0; x
< num
; x
++) {
763 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
764 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
765 PyList_Append(rval
, item
);
767 wxPyEndBlockThreads();
770 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
772 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(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_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
781 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
782 wxPyBeginBlockThreads();
783 PyObject
* tup
= PyTuple_New(2);
784 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
785 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
786 wxPyEndBlockThreads();
789 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
791 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
792 wxPyBeginBlockThreads();
793 wxRect
* r
= new wxRect(rect
);
794 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
795 wxPyEndBlockThreads();
801 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
802 // C++ version of Python aware wxControl
803 class wxPyControl
: public wxControl
805 DECLARE_DYNAMIC_CLASS(wxPyControl
)
807 wxPyControl() : wxControl() {}
808 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
809 const wxPoint
& pos
= wxDefaultPosition
,
810 const wxSize
& size
= wxDefaultSize
,
812 const wxValidator
& validator
=wxDefaultValidator
,
813 const wxString
& name
= wxPyControlNameStr
)
814 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
817 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
818 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
819 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
820 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
822 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
823 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
824 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
826 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
827 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
829 DEC_PYCALLBACK__(InitDialog
);
830 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
831 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
832 DEC_PYCALLBACK_BOOL_(Validate
);
834 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
835 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
836 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
838 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
839 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
844 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
846 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
847 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
848 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
849 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
851 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
852 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
853 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
855 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
856 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
858 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
859 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
860 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
861 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
863 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
864 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
865 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
867 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
868 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
873 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
875 #include <wx/generic/dragimgg.h>
880 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
881 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
886 static PyObject
*_wrap_ButtonNameStr_get() {
891 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
893 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
900 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 wxWindow
*arg1
= (wxWindow
*) 0 ;
905 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
906 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
907 wxSize
const &arg5_defvalue
= wxDefaultSize
;
908 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
909 long arg6
= (long) 0 ;
910 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
911 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
912 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
913 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
919 PyObject
* obj0
= 0 ;
920 PyObject
* obj1
= 0 ;
921 PyObject
* obj2
= 0 ;
922 PyObject
* obj3
= 0 ;
923 PyObject
* obj4
= 0 ;
924 PyObject
* obj5
= 0 ;
925 PyObject
* obj6
= 0 ;
926 PyObject
* obj7
= 0 ;
928 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
934 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
935 if (PyErr_Occurred()) SWIG_fail
;
938 arg3
= wxString_in_helper(obj2
);
939 if (arg3
== NULL
) SWIG_fail
;
945 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
951 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
956 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
957 if (PyErr_Occurred()) SWIG_fail
;
961 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
968 arg8
= wxString_in_helper(obj7
);
969 if (arg8
== NULL
) SWIG_fail
;
974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
975 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
977 wxPyEndAllowThreads(__tstate
);
978 if (PyErr_Occurred()) SWIG_fail
;
981 resultobj
= wxPyMake_wxObject(result
);
1005 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
*resultobj
;
1012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1015 result
= (wxButton
*)new wxButton();
1017 wxPyEndAllowThreads(__tstate
);
1018 if (PyErr_Occurred()) SWIG_fail
;
1021 resultobj
= wxPyMake_wxObject(result
);
1029 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
*resultobj
;
1031 wxButton
*arg1
= (wxButton
*) 0 ;
1032 wxWindow
*arg2
= (wxWindow
*) 0 ;
1034 wxString
*arg4
= 0 ;
1035 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1036 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1037 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1038 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1039 long arg7
= (long) 0 ;
1040 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1041 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1042 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1043 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1045 bool temp4
= False
;
1048 bool temp9
= False
;
1049 PyObject
* obj0
= 0 ;
1050 PyObject
* obj1
= 0 ;
1051 PyObject
* obj2
= 0 ;
1052 PyObject
* obj3
= 0 ;
1053 PyObject
* obj4
= 0 ;
1054 PyObject
* obj5
= 0 ;
1055 PyObject
* obj6
= 0 ;
1056 PyObject
* obj7
= 0 ;
1057 PyObject
* obj8
= 0 ;
1059 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1066 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1067 if (PyErr_Occurred()) SWIG_fail
;
1070 arg4
= wxString_in_helper(obj3
);
1071 if (arg4
== NULL
) SWIG_fail
;
1077 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1083 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1088 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1089 if (PyErr_Occurred()) SWIG_fail
;
1093 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1100 arg9
= wxString_in_helper(obj8
);
1101 if (arg9
== NULL
) SWIG_fail
;
1106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1107 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) SWIG_fail
;
1112 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1135 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
*resultobj
;
1137 wxButton
*arg1
= (wxButton
*) 0 ;
1138 PyObject
* obj0
= 0 ;
1140 (char *) "self", NULL
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 (arg1
)->SetDefault();
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) SWIG_fail
;
1152 Py_INCREF(Py_None
); resultobj
= Py_None
;
1159 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
*resultobj
;
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1169 result
= wxButton::GetDefaultSize();
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) SWIG_fail
;
1176 resultptr
= new wxSize((wxSize
&) result
);
1177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1185 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1188 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1190 return Py_BuildValue((char *)"");
1192 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
*resultobj
;
1194 wxWindow
*arg1
= (wxWindow
*) 0 ;
1196 wxBitmap
*arg3
= 0 ;
1197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1201 long arg6
= (long) wxBU_AUTODRAW
;
1202 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1203 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1204 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1205 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1206 wxBitmapButton
*result
;
1209 bool temp8
= False
;
1210 PyObject
* obj0
= 0 ;
1211 PyObject
* obj1
= 0 ;
1212 PyObject
* obj2
= 0 ;
1213 PyObject
* obj3
= 0 ;
1214 PyObject
* obj4
= 0 ;
1215 PyObject
* obj5
= 0 ;
1216 PyObject
* obj6
= 0 ;
1217 PyObject
* obj7
= 0 ;
1219 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1225 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1226 if (PyErr_Occurred()) SWIG_fail
;
1228 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1235 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1241 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1246 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1251 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1253 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1258 arg8
= wxString_in_helper(obj7
);
1259 if (arg8
== NULL
) SWIG_fail
;
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) SWIG_fail
;
1271 resultobj
= wxPyMake_wxObject(result
);
1287 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1289 wxBitmapButton
*result
;
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1297 result
= (wxBitmapButton
*)new wxBitmapButton();
1299 wxPyEndAllowThreads(__tstate
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1303 resultobj
= wxPyMake_wxObject(result
);
1311 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1313 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1314 wxWindow
*arg2
= (wxWindow
*) 0 ;
1316 wxBitmap
*arg4
= 0 ;
1317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1321 long arg7
= (long) wxBU_AUTODRAW
;
1322 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1323 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1324 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1325 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1329 bool temp9
= False
;
1330 PyObject
* obj0
= 0 ;
1331 PyObject
* obj1
= 0 ;
1332 PyObject
* obj2
= 0 ;
1333 PyObject
* obj3
= 0 ;
1334 PyObject
* obj4
= 0 ;
1335 PyObject
* obj5
= 0 ;
1336 PyObject
* obj6
= 0 ;
1337 PyObject
* obj7
= 0 ;
1338 PyObject
* obj8
= 0 ;
1340 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1347 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1350 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1352 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1357 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1363 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1368 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1373 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1380 arg9
= wxString_in_helper(obj8
);
1381 if (arg9
== NULL
) SWIG_fail
;
1386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1389 wxPyEndAllowThreads(__tstate
);
1390 if (PyErr_Occurred()) SWIG_fail
;
1392 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1407 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
*resultobj
;
1409 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1411 PyObject
* obj0
= 0 ;
1413 (char *) "self", NULL
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 result
= (arg1
)->GetBitmapLabel();
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1426 wxBitmap
* resultptr
;
1427 resultptr
= new wxBitmap((wxBitmap
&) result
);
1428 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1436 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
*resultobj
;
1438 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1440 PyObject
* obj0
= 0 ;
1442 (char *) "self", NULL
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1449 result
= (arg1
)->GetBitmapDisabled();
1451 wxPyEndAllowThreads(__tstate
);
1452 if (PyErr_Occurred()) SWIG_fail
;
1455 wxBitmap
* resultptr
;
1456 resultptr
= new wxBitmap((wxBitmap
&) result
);
1457 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1465 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
*resultobj
;
1467 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1469 PyObject
* obj0
= 0 ;
1471 (char *) "self", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 result
= (arg1
)->GetBitmapFocus();
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1484 wxBitmap
* resultptr
;
1485 resultptr
= new wxBitmap((wxBitmap
&) result
);
1486 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1494 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
*resultobj
;
1496 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1498 PyObject
* obj0
= 0 ;
1500 (char *) "self", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 result
= (arg1
)->GetBitmapSelected();
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1513 wxBitmap
* resultptr
;
1514 resultptr
= new wxBitmap((wxBitmap
&) result
);
1515 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1523 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1526 wxBitmap
*arg2
= 0 ;
1527 PyObject
* obj0
= 0 ;
1528 PyObject
* obj1
= 0 ;
1530 (char *) "self",(char *) "bitmap", NULL
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1546 Py_INCREF(Py_None
); resultobj
= Py_None
;
1553 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
*resultobj
;
1555 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1556 wxBitmap
*arg2
= 0 ;
1557 PyObject
* obj0
= 0 ;
1558 PyObject
* obj1
= 0 ;
1560 (char *) "self",(char *) "bitmap", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 Py_INCREF(Py_None
); resultobj
= Py_None
;
1583 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1585 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1586 wxBitmap
*arg2
= 0 ;
1587 PyObject
* obj0
= 0 ;
1588 PyObject
* obj1
= 0 ;
1590 (char *) "self",(char *) "bitmap", NULL
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1606 Py_INCREF(Py_None
); resultobj
= Py_None
;
1613 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1616 wxBitmap
*arg2
= 0 ;
1617 PyObject
* obj0
= 0 ;
1618 PyObject
* obj1
= 0 ;
1620 (char *) "self",(char *) "bitmap", NULL
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1627 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 Py_INCREF(Py_None
); resultobj
= Py_None
;
1643 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1648 PyObject
* obj0
= 0 ;
1649 PyObject
* obj1
= 0 ;
1650 PyObject
* obj2
= 0 ;
1652 (char *) "self",(char *) "x",(char *) "y", NULL
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1662 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 (arg1
)->SetMargins(arg2
,arg3
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1672 Py_INCREF(Py_None
); resultobj
= Py_None
;
1679 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
*resultobj
;
1681 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1683 PyObject
* obj0
= 0 ;
1685 (char *) "self", NULL
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1697 resultobj
= SWIG_PyObj_FromInt((int)result
);
1704 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1708 PyObject
* obj0
= 0 ;
1710 (char *) "self", NULL
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1717 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1719 wxPyEndAllowThreads(__tstate
);
1720 if (PyErr_Occurred()) SWIG_fail
;
1722 resultobj
= SWIG_PyObj_FromInt((int)result
);
1729 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1732 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1734 return Py_BuildValue((char *)"");
1736 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1737 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1742 static PyObject
*_wrap_CheckBoxNameStr_get() {
1747 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1749 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1756 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
*resultobj
;
1758 wxWindow
*arg1
= (wxWindow
*) 0 ;
1760 wxString
*arg3
= 0 ;
1761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1765 long arg6
= (long) 0 ;
1766 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1767 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1768 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1769 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1771 bool temp3
= False
;
1774 bool temp8
= False
;
1775 PyObject
* obj0
= 0 ;
1776 PyObject
* obj1
= 0 ;
1777 PyObject
* obj2
= 0 ;
1778 PyObject
* obj3
= 0 ;
1779 PyObject
* obj4
= 0 ;
1780 PyObject
* obj5
= 0 ;
1781 PyObject
* obj6
= 0 ;
1782 PyObject
* obj7
= 0 ;
1784 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1790 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1794 arg3
= wxString_in_helper(obj2
);
1795 if (arg3
== NULL
) SWIG_fail
;
1801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1812 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1817 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1824 arg8
= wxString_in_helper(obj7
);
1825 if (arg8
== NULL
) SWIG_fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1859 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
*resultobj
;
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 result
= (wxCheckBox
*)new wxCheckBox();
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1881 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1884 wxWindow
*arg2
= (wxWindow
*) 0 ;
1886 wxString
*arg4
= 0 ;
1887 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1888 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1889 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1890 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1891 long arg7
= (long) 0 ;
1892 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1893 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1894 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1895 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1897 bool temp4
= False
;
1900 bool temp9
= False
;
1901 PyObject
* obj0
= 0 ;
1902 PyObject
* obj1
= 0 ;
1903 PyObject
* obj2
= 0 ;
1904 PyObject
* obj3
= 0 ;
1905 PyObject
* obj4
= 0 ;
1906 PyObject
* obj5
= 0 ;
1907 PyObject
* obj6
= 0 ;
1908 PyObject
* obj7
= 0 ;
1909 PyObject
* obj8
= 0 ;
1911 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1918 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1922 arg4
= wxString_in_helper(obj3
);
1923 if (arg4
== NULL
) SWIG_fail
;
1929 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1935 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1940 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1945 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1947 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1952 arg9
= wxString_in_helper(obj8
);
1953 if (arg9
== NULL
) SWIG_fail
;
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1987 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1991 PyObject
* obj0
= 0 ;
1993 (char *) "self", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 result
= (bool)(arg1
)->GetValue();
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2012 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2016 PyObject
* obj0
= 0 ;
2018 (char *) "self", NULL
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 result
= (bool)(arg1
)->IsChecked();
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2037 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
*resultobj
;
2039 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2041 PyObject
* obj0
= 0 ;
2042 PyObject
* obj1
= 0 ;
2044 (char *) "self",(char *) "state", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2050 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 (arg1
)->SetValue(arg2
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2067 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2069 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2073 (char *) "self", NULL
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 resultobj
= SWIG_PyObj_FromInt((int)result
);
2092 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2096 PyObject
* obj0
= 0 ;
2097 PyObject
* obj1
= 0 ;
2099 (char *) "self",(char *) "state", NULL
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2105 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2122 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2124 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2126 PyObject
* obj0
= 0 ;
2128 (char *) "self", NULL
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2147 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2149 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2151 PyObject
* obj0
= 0 ;
2153 (char *) "self", NULL
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2165 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2172 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2175 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2177 return Py_BuildValue((char *)"");
2179 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2180 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2185 static PyObject
*_wrap_ChoiceNameStr_get() {
2190 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2192 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2199 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
*resultobj
;
2201 wxWindow
*arg1
= (wxWindow
*) 0 ;
2203 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2204 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2205 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2206 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2207 int arg5
= (int) 0 ;
2208 wxString
*arg6
= (wxString
*) NULL
;
2209 long arg7
= (long) 0 ;
2210 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2211 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2212 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2213 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2217 bool temp8
= False
;
2218 PyObject
* obj0
= 0 ;
2219 PyObject
* obj1
= 0 ;
2220 PyObject
* obj2
= 0 ;
2221 PyObject
* obj3
= 0 ;
2222 PyObject
* obj4
= 0 ;
2223 PyObject
* obj5
= 0 ;
2224 PyObject
* obj6
= 0 ;
2225 PyObject
* obj7
= 0 ;
2227 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2233 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2239 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2245 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2250 arg5
= PyList_Size(obj4
);
2251 arg6
= wxString_LIST_helper(obj4
);
2252 if (arg6
== NULL
) SWIG_fail
;
2257 arg7
= (long) SWIG_PyObj_AsLong(obj5
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2262 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2269 arg9
= wxString_in_helper(obj7
);
2270 if (arg9
== NULL
) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2283 if (arg6
) delete [] arg6
;
2292 if (arg6
) delete [] arg6
;
2302 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (wxChoice
*)new wxChoice();
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2324 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 wxChoice
*arg1
= (wxChoice
*) 0 ;
2327 wxWindow
*arg2
= (wxWindow
*) 0 ;
2329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2333 int arg6
= (int) 0 ;
2334 wxString
*arg7
= (wxString
*) NULL
;
2335 long arg8
= (long) 0 ;
2336 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2337 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2338 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2339 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2343 bool temp9
= False
;
2344 PyObject
* obj0
= 0 ;
2345 PyObject
* obj1
= 0 ;
2346 PyObject
* obj2
= 0 ;
2347 PyObject
* obj3
= 0 ;
2348 PyObject
* obj4
= 0 ;
2349 PyObject
* obj5
= 0 ;
2350 PyObject
* obj6
= 0 ;
2351 PyObject
* obj7
= 0 ;
2352 PyObject
* obj8
= 0 ;
2354 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2361 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2378 arg6
= PyList_Size(obj5
);
2379 arg7
= wxString_LIST_helper(obj5
);
2380 if (arg7
== NULL
) SWIG_fail
;
2385 arg8
= (long) SWIG_PyObj_AsLong(obj6
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2390 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2397 arg10
= wxString_in_helper(obj8
);
2398 if (arg10
== NULL
) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2411 if (arg7
) delete [] arg7
;
2420 if (arg7
) delete [] arg7
;
2430 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 wxChoice
*arg1
= (wxChoice
*) 0 ;
2434 PyObject
* obj0
= 0 ;
2436 (char *) "self", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 result
= (int)(arg1
)->GetColumns();
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 resultobj
= SWIG_PyObj_FromInt((int)result
);
2455 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 wxChoice
*arg1
= (wxChoice
*) 0 ;
2458 int arg2
= (int) (int)1 ;
2459 PyObject
* obj0
= 0 ;
2460 PyObject
* obj1
= 0 ;
2462 (char *) "self",(char *) "n", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Choice_SetColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
2466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2469 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 (arg1
)->SetColumns(arg2
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2480 Py_INCREF(Py_None
); resultobj
= Py_None
;
2487 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxChoice
*arg1
= (wxChoice
*) 0 ;
2491 PyObject
* obj0
= 0 ;
2492 PyObject
* obj1
= 0 ;
2494 (char *) "self",(char *) "n", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2500 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 (arg1
)->SetSelection(arg2
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2510 Py_INCREF(Py_None
); resultobj
= Py_None
;
2517 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
*resultobj
;
2519 wxChoice
*arg1
= (wxChoice
*) 0 ;
2520 wxString
*arg2
= 0 ;
2521 bool temp2
= False
;
2522 PyObject
* obj0
= 0 ;
2523 PyObject
* obj1
= 0 ;
2525 (char *) "self",(char *) "string", NULL
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2531 arg2
= wxString_in_helper(obj1
);
2532 if (arg2
== NULL
) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxChoice
*arg1
= (wxChoice
*) 0 ;
2561 wxString
*arg3
= 0 ;
2562 bool temp3
= False
;
2563 PyObject
* obj0
= 0 ;
2564 PyObject
* obj1
= 0 ;
2565 PyObject
* obj2
= 0 ;
2567 (char *) "self",(char *) "n",(char *) "s", NULL
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2573 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2577 arg3
= wxString_in_helper(obj2
);
2578 if (arg3
== NULL
) SWIG_fail
;
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2588 Py_INCREF(Py_None
); resultobj
= Py_None
;
2603 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2606 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2608 return Py_BuildValue((char *)"");
2610 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2611 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2616 static PyObject
*_wrap_ComboBoxNameStr_get() {
2621 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2623 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2630 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxWindow
*arg1
= (wxWindow
*) 0 ;
2634 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2635 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2640 int arg6
= (int) 0 ;
2641 wxString
*arg7
= (wxString
*) NULL
;
2642 long arg8
= (long) 0 ;
2643 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2644 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2645 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2646 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2648 bool temp3
= False
;
2651 bool temp9
= False
;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2654 PyObject
* obj2
= 0 ;
2655 PyObject
* obj3
= 0 ;
2656 PyObject
* obj4
= 0 ;
2657 PyObject
* obj5
= 0 ;
2658 PyObject
* obj6
= 0 ;
2659 PyObject
* obj7
= 0 ;
2660 PyObject
* obj8
= 0 ;
2662 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2668 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2669 if (PyErr_Occurred()) SWIG_fail
;
2673 arg3
= wxString_in_helper(obj2
);
2674 if (arg3
== NULL
) SWIG_fail
;
2681 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2687 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2692 arg6
= PyList_Size(obj5
);
2693 arg7
= wxString_LIST_helper(obj5
);
2694 if (arg7
== NULL
) SWIG_fail
;
2699 arg8
= (long) SWIG_PyObj_AsLong(obj6
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2704 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2711 arg10
= wxString_in_helper(obj8
);
2712 if (arg10
== NULL
) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2729 if (arg7
) delete [] arg7
;
2742 if (arg7
) delete [] arg7
;
2752 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= (wxComboBox
*)new wxComboBox();
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2774 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2777 wxWindow
*arg2
= (wxWindow
*) 0 ;
2779 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2781 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2782 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2783 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2784 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2785 int arg7
= (int) 0 ;
2786 wxString
*arg8
= (wxString
*) NULL
;
2787 long arg9
= (long) 0 ;
2788 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2789 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2790 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2791 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2793 bool temp4
= False
;
2796 bool temp10
= False
;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2799 PyObject
* obj2
= 0 ;
2800 PyObject
* obj3
= 0 ;
2801 PyObject
* obj4
= 0 ;
2802 PyObject
* obj5
= 0 ;
2803 PyObject
* obj6
= 0 ;
2804 PyObject
* obj7
= 0 ;
2805 PyObject
* obj8
= 0 ;
2806 PyObject
* obj9
= 0 ;
2808 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2815 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2820 arg4
= wxString_in_helper(obj3
);
2821 if (arg4
== NULL
) SWIG_fail
;
2828 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2834 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2839 arg7
= PyList_Size(obj6
);
2840 arg8
= wxString_LIST_helper(obj6
);
2841 if (arg8
== NULL
) SWIG_fail
;
2846 arg9
= (long) SWIG_PyObj_AsLong(obj7
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2851 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2852 if (arg10
== NULL
) {
2853 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2858 arg11
= wxString_in_helper(obj9
);
2859 if (arg11
== NULL
) SWIG_fail
;
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2870 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2876 if (arg8
) delete [] arg8
;
2889 if (arg8
) delete [] arg8
;
2899 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
;
2901 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2903 PyObject
* obj0
= 0 ;
2905 (char *) "self", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 result
= ((wxComboBox
const *)arg1
)->GetValue();
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2930 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2932 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2933 wxString
*arg2
= 0 ;
2934 bool temp2
= False
;
2935 PyObject
* obj0
= 0 ;
2936 PyObject
* obj1
= 0 ;
2938 (char *) "self",(char *) "value", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2944 arg2
= wxString_in_helper(obj1
);
2945 if (arg2
== NULL
) SWIG_fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 (arg1
)->SetValue((wxString
const &)*arg2
);
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2955 Py_INCREF(Py_None
); resultobj
= Py_None
;
2970 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
*resultobj
;
2972 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2973 PyObject
* obj0
= 0 ;
2975 (char *) "self", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 Py_INCREF(Py_None
); resultobj
= Py_None
;
2994 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2997 PyObject
* obj0
= 0 ;
2999 (char *) "self", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3011 Py_INCREF(Py_None
); resultobj
= Py_None
;
3018 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
*resultobj
;
3020 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "self", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3035 Py_INCREF(Py_None
); resultobj
= Py_None
;
3042 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
;
3044 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3046 PyObject
* obj0
= 0 ;
3047 PyObject
* obj1
= 0 ;
3049 (char *) "self",(char *) "pos", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3055 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 (arg1
)->SetInsertionPoint(arg2
);
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3065 Py_INCREF(Py_None
); resultobj
= Py_None
;
3072 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3074 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3076 PyObject
* obj0
= 0 ;
3078 (char *) "self", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) SWIG_fail
;
3090 resultobj
= SWIG_PyObj_FromLong((long)result
);
3097 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3101 PyObject
* obj0
= 0 ;
3103 (char *) "self", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 resultobj
= SWIG_PyObj_FromLong((long)result
);
3122 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3127 wxString
*arg4
= 0 ;
3128 bool temp4
= False
;
3129 PyObject
* obj0
= 0 ;
3130 PyObject
* obj1
= 0 ;
3131 PyObject
* obj2
= 0 ;
3132 PyObject
* obj3
= 0 ;
3134 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3140 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3144 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3148 arg4
= wxString_in_helper(obj3
);
3149 if (arg4
== NULL
) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3178 PyObject
* obj0
= 0 ;
3179 PyObject
* obj1
= 0 ;
3181 (char *) "self",(char *) "n", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3187 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 (arg1
)->SetSelection(arg2
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3209 PyObject
* obj0
= 0 ;
3210 PyObject
* obj1
= 0 ;
3211 PyObject
* obj2
= 0 ;
3213 (char *) "self",(char *) "from",(char *) "to", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3219 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3223 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 (arg1
)->SetSelection(arg2
,arg3
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3233 Py_INCREF(Py_None
); resultobj
= Py_None
;
3240 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3244 PyObject
* obj0
= 0 ;
3245 PyObject
* obj1
= 0 ;
3247 (char *) "self",(char *) "editable", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3253 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 (arg1
)->SetEditable(arg2
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3273 PyObject
* obj0
= 0 ;
3275 (char *) "self", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 (arg1
)->SetInsertionPointEnd();
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 Py_INCREF(Py_None
); resultobj
= Py_None
;
3294 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj1
= 0 ;
3301 PyObject
* obj2
= 0 ;
3303 (char *) "self",(char *) "from",(char *) "to", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3309 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3313 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 (arg1
)->Remove(arg2
,arg3
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 Py_INCREF(Py_None
); resultobj
= Py_None
;
3330 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3333 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3335 return Py_BuildValue((char *)"");
3337 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3338 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3343 static PyObject
*_wrap_GaugeNameStr_get() {
3348 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3350 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3357 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxWindow
*arg1
= (wxWindow
*) 0 ;
3362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3366 long arg6
= (long) wxGA_HORIZONTAL
;
3367 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3368 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3369 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3370 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3374 bool temp8
= False
;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3377 PyObject
* obj2
= 0 ;
3378 PyObject
* obj3
= 0 ;
3379 PyObject
* obj4
= 0 ;
3380 PyObject
* obj5
= 0 ;
3381 PyObject
* obj6
= 0 ;
3382 PyObject
* obj7
= 0 ;
3384 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3390 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3394 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3400 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3406 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3411 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3416 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3418 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3423 arg8
= wxString_in_helper(obj7
);
3424 if (arg8
== NULL
) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3450 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (wxGauge
*)new wxGauge();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3472 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxGauge
*arg1
= (wxGauge
*) 0 ;
3475 wxWindow
*arg2
= (wxWindow
*) 0 ;
3478 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3479 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3480 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3481 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3482 long arg7
= (long) wxGA_HORIZONTAL
;
3483 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3484 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3485 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3486 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3490 bool temp9
= False
;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3493 PyObject
* obj2
= 0 ;
3494 PyObject
* obj3
= 0 ;
3495 PyObject
* obj4
= 0 ;
3496 PyObject
* obj5
= 0 ;
3497 PyObject
* obj6
= 0 ;
3498 PyObject
* obj7
= 0 ;
3499 PyObject
* obj8
= 0 ;
3501 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3508 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3518 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3524 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3529 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3534 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3541 arg9
= wxString_in_helper(obj8
);
3542 if (arg9
== NULL
) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3568 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3570 wxGauge
*arg1
= (wxGauge
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3575 (char *) "self",(char *) "range", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 (arg1
)->SetRange(arg2
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3591 Py_INCREF(Py_None
); resultobj
= Py_None
;
3598 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3600 wxGauge
*arg1
= (wxGauge
*) 0 ;
3602 PyObject
* obj0
= 0 ;
3604 (char *) "self", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 resultobj
= SWIG_PyObj_FromInt((int)result
);
3623 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxGauge
*arg1
= (wxGauge
*) 0 ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3630 (char *) "self",(char *) "pos", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3636 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 (arg1
)->SetValue(arg2
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 Py_INCREF(Py_None
); resultobj
= Py_None
;
3653 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxGauge
*arg1
= (wxGauge
*) 0 ;
3657 PyObject
* obj0
= 0 ;
3659 (char *) "self", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3671 resultobj
= SWIG_PyObj_FromInt((int)result
);
3678 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxGauge
*arg1
= (wxGauge
*) 0 ;
3682 PyObject
* obj0
= 0 ;
3684 (char *) "self", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3703 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxGauge
*arg1
= (wxGauge
*) 0 ;
3707 PyObject
* obj0
= 0 ;
3708 PyObject
* obj1
= 0 ;
3710 (char *) "self",(char *) "w", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3716 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 (arg1
)->SetShadowWidth(arg2
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3726 Py_INCREF(Py_None
); resultobj
= Py_None
;
3733 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
;
3735 wxGauge
*arg1
= (wxGauge
*) 0 ;
3737 PyObject
* obj0
= 0 ;
3739 (char *) "self", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 resultobj
= SWIG_PyObj_FromInt((int)result
);
3758 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3760 wxGauge
*arg1
= (wxGauge
*) 0 ;
3762 PyObject
* obj0
= 0 ;
3763 PyObject
* obj1
= 0 ;
3765 (char *) "self",(char *) "w", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3771 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 (arg1
)->SetBezelFace(arg2
);
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3781 Py_INCREF(Py_None
); resultobj
= Py_None
;
3788 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
*resultobj
;
3790 wxGauge
*arg1
= (wxGauge
*) 0 ;
3792 PyObject
* obj0
= 0 ;
3794 (char *) "self", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_PyObj_FromInt((int)result
);
3813 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3816 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3818 return Py_BuildValue((char *)"");
3820 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3821 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3826 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3831 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3833 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3840 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3841 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3846 static PyObject
*_wrap_StaticBoxNameStr_get() {
3851 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3853 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3860 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3861 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3866 static PyObject
*_wrap_StaticTextNameStr_get() {
3871 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3873 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3880 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxWindow
*arg1
= (wxWindow
*) 0 ;
3884 wxString
*arg3
= 0 ;
3885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3889 long arg6
= (long) 0 ;
3890 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3891 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3892 wxStaticBox
*result
;
3893 bool temp3
= False
;
3896 bool temp7
= False
;
3897 PyObject
* obj0
= 0 ;
3898 PyObject
* obj1
= 0 ;
3899 PyObject
* obj2
= 0 ;
3900 PyObject
* obj3
= 0 ;
3901 PyObject
* obj4
= 0 ;
3902 PyObject
* obj5
= 0 ;
3903 PyObject
* obj6
= 0 ;
3905 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3911 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3915 arg3
= wxString_in_helper(obj2
);
3916 if (arg3
== NULL
) SWIG_fail
;
3922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3933 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3939 arg7
= wxString_in_helper(obj6
);
3940 if (arg7
== NULL
) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3952 resultobj
= wxPyMake_wxObject(result
);
3976 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
*resultobj
;
3978 wxStaticBox
*result
;
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= (wxStaticBox
*)new wxStaticBox();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= wxPyMake_wxObject(result
);
4000 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4003 wxWindow
*arg2
= (wxWindow
*) 0 ;
4005 wxString
*arg4
= 0 ;
4006 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4007 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4008 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4009 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4010 long arg7
= (long) 0 ;
4011 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4012 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4014 bool temp4
= False
;
4017 bool temp8
= False
;
4018 PyObject
* obj0
= 0 ;
4019 PyObject
* obj1
= 0 ;
4020 PyObject
* obj2
= 0 ;
4021 PyObject
* obj3
= 0 ;
4022 PyObject
* obj4
= 0 ;
4023 PyObject
* obj5
= 0 ;
4024 PyObject
* obj6
= 0 ;
4025 PyObject
* obj7
= 0 ;
4027 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4034 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4038 arg4
= wxString_in_helper(obj3
);
4039 if (arg4
== NULL
) SWIG_fail
;
4045 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4051 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4056 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4062 arg8
= wxString_in_helper(obj7
);
4063 if (arg8
== NULL
) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4097 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4100 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4102 return Py_BuildValue((char *)"");
4104 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxWindow
*arg1
= (wxWindow
*) 0 ;
4108 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4109 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4110 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4111 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4112 long arg5
= (long) wxLI_HORIZONTAL
;
4113 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4114 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4115 wxStaticLine
*result
;
4118 bool temp6
= False
;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4121 PyObject
* obj2
= 0 ;
4122 PyObject
* obj3
= 0 ;
4123 PyObject
* obj4
= 0 ;
4124 PyObject
* obj5
= 0 ;
4126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4132 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4144 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4149 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4155 arg6
= wxString_in_helper(obj5
);
4156 if (arg6
== NULL
) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4182 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxStaticLine
*result
;
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (wxStaticLine
*)new wxStaticLine();
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4204 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4207 wxWindow
*arg2
= (wxWindow
*) 0 ;
4209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4213 long arg6
= (long) wxLI_HORIZONTAL
;
4214 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4219 bool temp7
= False
;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4222 PyObject
* obj2
= 0 ;
4223 PyObject
* obj3
= 0 ;
4224 PyObject
* obj4
= 0 ;
4225 PyObject
* obj5
= 0 ;
4226 PyObject
* obj6
= 0 ;
4228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4235 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4252 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4258 arg7
= wxString_in_helper(obj6
);
4259 if (arg7
== NULL
) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4285 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4289 PyObject
* obj0
= 0 ;
4291 (char *) "self", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4310 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (int)wxStaticLine::GetDefaultSize();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_PyObj_FromInt((int)result
);
4332 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4335 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4337 return Py_BuildValue((char *)"");
4339 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxWindow
*arg1
= (wxWindow
*) 0 ;
4343 wxString
*arg3
= 0 ;
4344 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4345 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4346 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4347 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4348 long arg6
= (long) 0 ;
4349 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4350 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4351 wxStaticText
*result
;
4352 bool temp3
= False
;
4355 bool temp7
= False
;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4359 PyObject
* obj3
= 0 ;
4360 PyObject
* obj4
= 0 ;
4361 PyObject
* obj5
= 0 ;
4362 PyObject
* obj6
= 0 ;
4364 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4370 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4374 arg3
= wxString_in_helper(obj2
);
4375 if (arg3
== NULL
) SWIG_fail
;
4381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4392 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4398 arg7
= wxString_in_helper(obj6
);
4399 if (arg7
== NULL
) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4433 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxStaticText
*result
;
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= (wxStaticText
*)new wxStaticText();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4455 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4458 wxWindow
*arg2
= (wxWindow
*) 0 ;
4460 wxString
*arg4
= 0 ;
4461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4465 long arg7
= (long) 0 ;
4466 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4469 bool temp4
= False
;
4472 bool temp8
= False
;
4473 PyObject
* obj0
= 0 ;
4474 PyObject
* obj1
= 0 ;
4475 PyObject
* obj2
= 0 ;
4476 PyObject
* obj3
= 0 ;
4477 PyObject
* obj4
= 0 ;
4478 PyObject
* obj5
= 0 ;
4479 PyObject
* obj6
= 0 ;
4480 PyObject
* obj7
= 0 ;
4482 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4489 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4493 arg4
= wxString_in_helper(obj3
);
4494 if (arg4
== NULL
) SWIG_fail
;
4500 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4506 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4511 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4517 arg8
= wxString_in_helper(obj7
);
4518 if (arg8
== NULL
) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4552 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4555 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4557 return Py_BuildValue((char *)"");
4559 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxWindow
*arg1
= (wxWindow
*) 0 ;
4563 wxBitmap
*arg3
= 0 ;
4564 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4565 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4566 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4567 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4568 long arg6
= (long) 0 ;
4569 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4570 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4571 wxStaticBitmap
*result
;
4574 bool temp7
= False
;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4577 PyObject
* obj2
= 0 ;
4578 PyObject
* obj3
= 0 ;
4579 PyObject
* obj4
= 0 ;
4580 PyObject
* obj5
= 0 ;
4581 PyObject
* obj6
= 0 ;
4583 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4589 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4610 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4616 arg7
= wxString_in_helper(obj6
);
4617 if (arg7
== NULL
) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4643 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxStaticBitmap
*result
;
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4665 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4670 wxBitmap
*arg4
= 0 ;
4671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4675 long arg7
= (long) 0 ;
4676 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4677 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4681 bool temp8
= False
;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4684 PyObject
* obj2
= 0 ;
4685 PyObject
* obj3
= 0 ;
4686 PyObject
* obj4
= 0 ;
4687 PyObject
* obj5
= 0 ;
4688 PyObject
* obj6
= 0 ;
4689 PyObject
* obj7
= 0 ;
4691 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4696 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4698 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4708 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4714 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4719 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4725 arg8
= wxString_in_helper(obj7
);
4726 if (arg8
== NULL
) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4752 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4758 (char *) "self", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 result
= (arg1
)->GetBitmap();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4771 wxBitmap
* resultptr
;
4772 resultptr
= new wxBitmap((wxBitmap
&) result
);
4773 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4781 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4783 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4784 wxBitmap
*arg2
= 0 ;
4785 PyObject
* obj0
= 0 ;
4786 PyObject
* obj1
= 0 ;
4788 (char *) "self",(char *) "bitmap", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4795 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 Py_INCREF(Py_None
); resultobj
= Py_None
;
4811 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4818 (char *) "self",(char *) "icon", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4825 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 Py_INCREF(Py_None
); resultobj
= Py_None
;
4841 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4844 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4846 return Py_BuildValue((char *)"");
4848 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4849 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4854 static PyObject
*_wrap_ListBoxNameStr_get() {
4859 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4861 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4868 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxWindow
*arg1
= (wxWindow
*) 0 ;
4872 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4873 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4874 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4875 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4876 int arg5
= (int) 0 ;
4877 wxString
*arg6
= (wxString
*) NULL
;
4878 long arg7
= (long) 0 ;
4879 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4880 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4881 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4882 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4886 bool temp8
= False
;
4887 PyObject
* obj0
= 0 ;
4888 PyObject
* obj1
= 0 ;
4889 PyObject
* obj2
= 0 ;
4890 PyObject
* obj3
= 0 ;
4891 PyObject
* obj4
= 0 ;
4892 PyObject
* obj5
= 0 ;
4893 PyObject
* obj6
= 0 ;
4894 PyObject
* obj7
= 0 ;
4896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4902 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4908 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4914 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4919 arg5
= PyList_Size(obj4
);
4920 arg6
= wxString_LIST_helper(obj4
);
4921 if (arg6
== NULL
) SWIG_fail
;
4926 arg7
= (long) SWIG_PyObj_AsLong(obj5
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4931 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4933 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4938 arg9
= wxString_in_helper(obj7
);
4939 if (arg9
== NULL
) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4952 if (arg6
) delete [] arg6
;
4961 if (arg6
) delete [] arg6
;
4971 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (wxListBox
*)new wxListBox();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4993 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxListBox
*arg1
= (wxListBox
*) 0 ;
4996 wxWindow
*arg2
= (wxWindow
*) 0 ;
4998 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4999 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5000 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5001 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5002 int arg6
= (int) 0 ;
5003 wxString
*arg7
= (wxString
*) NULL
;
5004 long arg8
= (long) 0 ;
5005 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5006 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5007 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5008 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5012 bool temp9
= False
;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5015 PyObject
* obj2
= 0 ;
5016 PyObject
* obj3
= 0 ;
5017 PyObject
* obj4
= 0 ;
5018 PyObject
* obj5
= 0 ;
5019 PyObject
* obj6
= 0 ;
5020 PyObject
* obj7
= 0 ;
5021 PyObject
* obj8
= 0 ;
5023 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5030 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5042 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5047 arg6
= PyList_Size(obj5
);
5048 arg7
= wxString_LIST_helper(obj5
);
5049 if (arg7
== NULL
) SWIG_fail
;
5054 arg8
= (long) SWIG_PyObj_AsLong(obj6
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5059 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5061 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5066 arg10
= wxString_in_helper(obj8
);
5067 if (arg10
== NULL
) SWIG_fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5078 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5080 if (arg7
) delete [] arg7
;
5089 if (arg7
) delete [] arg7
;
5099 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxListBox
*arg1
= (wxListBox
*) 0 ;
5102 wxString
*arg2
= 0 ;
5104 PyObject
*arg4
= (PyObject
*) NULL
;
5105 bool temp2
= False
;
5106 PyObject
* obj0
= 0 ;
5107 PyObject
* obj1
= 0 ;
5108 PyObject
* obj2
= 0 ;
5109 PyObject
* obj3
= 0 ;
5111 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5117 arg2
= wxString_in_helper(obj1
);
5118 if (arg2
== NULL
) SWIG_fail
;
5122 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 Py_INCREF(Py_None
); resultobj
= Py_None
;
5150 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxListBox
*arg1
= (wxListBox
*) 0 ;
5153 wxArrayString
*arg2
= 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5157 PyObject
* obj2
= 0 ;
5159 (char *) "self",(char *) "items",(char *) "pos", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5165 if (! PySequence_Check(obj1
)) {
5166 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5169 arg2
= new wxArrayString
;
5170 int i
, len
=PySequence_Length(obj1
);
5171 for (i
=0; i
<len
; i
++) {
5172 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5174 PyObject
* str
= PyObject_Unicode(item
);
5176 PyObject
* str
= PyObject_Str(item
);
5178 arg2
->Add(Py2wxString(str
));
5184 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 Py_INCREF(Py_None
); resultobj
= Py_None
;
5196 if (arg2
) delete arg2
;
5201 if (arg2
) delete arg2
;
5207 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxListBox
*arg1
= (wxListBox
*) 0 ;
5210 wxArrayString
*arg2
= 0 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5214 (char *) "self",(char *) "items", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5220 if (! PySequence_Check(obj1
)) {
5221 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5224 arg2
= new wxArrayString
;
5225 int i
, len
=PySequence_Length(obj1
);
5226 for (i
=0; i
<len
; i
++) {
5227 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5229 PyObject
* str
= PyObject_Unicode(item
);
5231 PyObject
* str
= PyObject_Str(item
);
5233 arg2
->Add(Py2wxString(str
));
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->Set((wxArrayString
const &)*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 Py_INCREF(Py_None
); resultobj
= Py_None
;
5247 if (arg2
) delete arg2
;
5252 if (arg2
) delete arg2
;
5258 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxListBox
*arg1
= (wxListBox
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj1
= 0 ;
5266 (char *) "self",(char *) "n", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5272 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5289 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxListBox
*arg1
= (wxListBox
*) 0 ;
5293 bool arg3
= (bool) True
;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 PyObject
* obj2
= 0 ;
5298 (char *) "self",(char *) "n",(char *) "select", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5304 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5309 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 (arg1
)->SetSelection(arg2
,arg3
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 Py_INCREF(Py_None
); resultobj
= Py_None
;
5327 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxListBox
*arg1
= (wxListBox
*) 0 ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5334 (char *) "self",(char *) "n", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5340 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 (arg1
)->Select(arg2
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 Py_INCREF(Py_None
); resultobj
= Py_None
;
5357 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxListBox
*arg1
= (wxListBox
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5362 PyObject
* obj1
= 0 ;
5364 (char *) "self",(char *) "n", NULL
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5370 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 (arg1
)->Deselect(arg2
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 Py_INCREF(Py_None
); resultobj
= Py_None
;
5387 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
;
5389 wxListBox
*arg1
= (wxListBox
*) 0 ;
5390 int arg2
= (int) -1 ;
5391 PyObject
* obj0
= 0 ;
5392 PyObject
* obj1
= 0 ;
5394 (char *) "self",(char *) "itemToLeaveSelected", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 (arg1
)->DeselectAll(arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 Py_INCREF(Py_None
); resultobj
= Py_None
;
5419 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxListBox
*arg1
= (wxListBox
*) 0 ;
5422 wxString
*arg2
= 0 ;
5423 bool arg3
= (bool) True
;
5425 bool temp2
= False
;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5428 PyObject
* obj2
= 0 ;
5430 (char *) "self",(char *) "s",(char *) "select", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5436 arg2
= wxString_in_helper(obj1
);
5437 if (arg2
== NULL
) SWIG_fail
;
5442 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5468 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxListBox
*arg1
= (wxListBox
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5474 (char *) "self", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5493 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxListBox
*arg1
= (wxListBox
*) 0 ;
5497 PyObject
* obj0
= 0 ;
5498 PyObject
* obj1
= 0 ;
5500 (char *) "self",(char *) "n", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5506 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 (arg1
)->SetFirstItem(arg2
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 Py_INCREF(Py_None
); resultobj
= Py_None
;
5523 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxListBox
*arg1
= (wxListBox
*) 0 ;
5526 wxString
*arg2
= 0 ;
5527 bool temp2
= False
;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5531 (char *) "self",(char *) "s", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5537 arg2
= wxString_in_helper(obj1
);
5538 if (arg2
== NULL
) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 Py_INCREF(Py_None
); resultobj
= Py_None
;
5563 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxListBox
*arg1
= (wxListBox
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5570 (char *) "self",(char *) "n", NULL
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5576 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->EnsureVisible(arg2
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxListBox
*arg1
= (wxListBox
*) 0 ;
5596 wxString
*arg2
= 0 ;
5597 bool temp2
= False
;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5601 (char *) "self",(char *) "s", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5607 arg2
= wxString_in_helper(obj1
);
5608 if (arg2
== NULL
) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 Py_INCREF(Py_None
); resultobj
= Py_None
;
5633 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxListBox
*arg1
= (wxListBox
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5639 (char *) "self", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5658 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5661 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5663 return Py_BuildValue((char *)"");
5665 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxWindow
*arg1
= (wxWindow
*) 0 ;
5669 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5670 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5671 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5672 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5673 int arg5
= (int) 0 ;
5674 wxString
*arg6
= (wxString
*) NULL
;
5675 long arg7
= (long) 0 ;
5676 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5677 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5678 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5680 wxCheckListBox
*result
;
5683 bool temp8
= False
;
5684 PyObject
* obj0
= 0 ;
5685 PyObject
* obj1
= 0 ;
5686 PyObject
* obj2
= 0 ;
5687 PyObject
* obj3
= 0 ;
5688 PyObject
* obj4
= 0 ;
5689 PyObject
* obj5
= 0 ;
5690 PyObject
* obj6
= 0 ;
5691 PyObject
* obj7
= 0 ;
5693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5699 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5705 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5711 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5716 arg5
= PyList_Size(obj4
);
5717 arg6
= wxString_LIST_helper(obj4
);
5718 if (arg6
== NULL
) SWIG_fail
;
5723 arg7
= (long) SWIG_PyObj_AsLong(obj5
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5728 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5730 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5735 arg9
= wxString_in_helper(obj7
);
5736 if (arg9
== NULL
) SWIG_fail
;
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5749 if (arg6
) delete [] arg6
;
5758 if (arg6
) delete [] arg6
;
5768 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxCheckListBox
*result
;
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (wxCheckListBox
*)new wxCheckListBox();
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5790 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5793 wxWindow
*arg2
= (wxWindow
*) 0 ;
5795 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5796 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5797 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5798 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5799 int arg6
= (int) 0 ;
5800 wxString
*arg7
= (wxString
*) NULL
;
5801 long arg8
= (long) 0 ;
5802 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5803 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5804 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5805 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5809 bool temp9
= False
;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5812 PyObject
* obj2
= 0 ;
5813 PyObject
* obj3
= 0 ;
5814 PyObject
* obj4
= 0 ;
5815 PyObject
* obj5
= 0 ;
5816 PyObject
* obj6
= 0 ;
5817 PyObject
* obj7
= 0 ;
5818 PyObject
* obj8
= 0 ;
5820 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5825 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5827 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5833 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5839 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5844 arg6
= PyList_Size(obj5
);
5845 arg7
= wxString_LIST_helper(obj5
);
5846 if (arg7
== NULL
) SWIG_fail
;
5851 arg8
= (long) SWIG_PyObj_AsLong(obj6
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5856 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5858 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5863 arg10
= wxString_in_helper(obj8
);
5864 if (arg10
== NULL
) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5877 if (arg7
) delete [] arg7
;
5886 if (arg7
) delete [] arg7
;
5896 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5904 (char *) "self",(char *) "index", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5910 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (bool)(arg1
)->IsChecked(arg2
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5927 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5931 int arg3
= (int) True
;
5932 PyObject
* obj0
= 0 ;
5933 PyObject
* obj1
= 0 ;
5934 PyObject
* obj2
= 0 ;
5936 (char *) "self",(char *) "index",(char *) "check", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5942 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5947 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 (arg1
)->Check(arg2
,arg3
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 Py_INCREF(Py_None
); resultobj
= Py_None
;
5965 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5971 (char *) "self", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (int)(arg1
)->GetItemHeight();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_PyObj_FromInt((int)result
);
5990 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5999 (char *) "self",(char *) "pt", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_PyObj_FromInt((int)result
);
6022 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6029 PyObject
* obj1
= 0 ;
6030 PyObject
* obj2
= 0 ;
6032 (char *) "self",(char *) "x",(char *) "y", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6038 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= SWIG_PyObj_FromInt((int)result
);
6059 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6062 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6064 return Py_BuildValue((char *)"");
6066 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6067 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6072 static PyObject
*_wrap_TextCtrlNameStr_get() {
6077 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6079 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6086 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6087 PyObject
*resultobj
;
6090 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (wxTextAttr
*)new wxTextAttr();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6105 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6106 PyObject
*resultobj
;
6107 wxColour
*arg1
= 0 ;
6108 wxColour
const &arg2_defvalue
= wxNullColour
;
6109 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6110 wxFont
const &arg3_defvalue
= wxNullFont
;
6111 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6112 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6118 PyObject
* obj2
= 0 ;
6119 PyObject
* obj3
= 0 ;
6121 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6124 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6129 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6133 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6140 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6158 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6163 argc
= PyObject_Length(args
);
6164 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6165 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6168 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6170 if ((argc
>= 1) && (argc
<= 4)) {
6173 _v
= wxColour_typecheck(argv
[0]);
6177 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6180 _v
= wxColour_typecheck(argv
[1]);
6184 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6188 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6197 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6200 SWIG_PyObj_AsInt(argv
[3]);
6201 if (PyErr_Occurred()) {
6209 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6216 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6221 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6226 (char *) "self", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 Py_INCREF(Py_None
); resultobj
= Py_None
;
6245 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 Py_INCREF(Py_None
); resultobj
= Py_None
;
6269 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6272 wxColour
*arg2
= 0 ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6277 (char *) "self",(char *) "colText", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 Py_INCREF(Py_None
); resultobj
= Py_None
;
6300 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6303 wxColour
*arg2
= 0 ;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6308 (char *) "self",(char *) "colBack", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6315 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 Py_INCREF(Py_None
); resultobj
= Py_None
;
6331 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6335 long arg3
= (long) wxTEXT_ATTR_FONT
;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 PyObject
* obj2
= 0 ;
6340 (char *) "self",(char *) "font",(char *) "flags", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6351 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 Py_INCREF(Py_None
); resultobj
= Py_None
;
6369 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6376 (char *) "self",(char *) "alignment", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6382 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 Py_INCREF(Py_None
); resultobj
= Py_None
;
6399 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6402 wxArrayInt
*arg2
= 0 ;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6406 (char *) "self",(char *) "tabs", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6412 if (! PySequence_Check(obj1
)) {
6413 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6416 arg2
= new wxArrayInt
;
6417 int i
, len
=PySequence_Length(obj1
);
6418 for (i
=0; i
<len
; i
++) {
6419 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6420 PyObject
* number
= PyNumber_Int(item
);
6421 arg2
->Add(PyInt_AS_LONG(number
));
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6435 if (arg2
) delete arg2
;
6440 if (arg2
) delete arg2
;
6446 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6451 PyObject
* obj1
= 0 ;
6453 (char *) "self",(char *) "indent", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 (arg1
)->SetLeftIndent(arg2
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 Py_INCREF(Py_None
); resultobj
= Py_None
;
6476 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6483 (char *) "self",(char *) "indent", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6489 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 (arg1
)->SetRightIndent(arg2
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 Py_INCREF(Py_None
); resultobj
= Py_None
;
6506 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
;
6508 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6513 (char *) "self",(char *) "flags", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6519 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 (arg1
)->SetFlags(arg2
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 Py_INCREF(Py_None
); resultobj
= Py_None
;
6536 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6542 (char *) "self", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6561 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6567 (char *) "self", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6586 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6590 PyObject
* obj0
= 0 ;
6592 (char *) "self", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6611 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "self", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6636 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6640 PyObject
* obj0
= 0 ;
6642 (char *) "self", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6661 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6667 (char *) "self", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6686 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6692 (char *) "self", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6711 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6719 (char *) "self",(char *) "flag", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6725 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6742 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6748 (char *) "self", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6757 result
= (wxColour
*) &_result_ref
;
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6770 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6776 (char *) "self", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6785 result
= (wxColour
*) &_result_ref
;
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6798 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6804 (char *) "self", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6813 result
= (wxFont
*) &_result_ref
;
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6826 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6832 (char *) "self", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_PyObj_FromInt((int)result
);
6851 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6855 PyObject
* obj0
= 0 ;
6857 (char *) "self", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6866 result
= (wxArrayInt
*) &_result_ref
;
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= PyList_New(0);
6875 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6876 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6877 PyList_Append(resultobj
, val
);
6887 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6891 PyObject
* obj0
= 0 ;
6893 (char *) "self", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_PyObj_FromLong((long)result
);
6912 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_PyObj_FromLong((long)result
);
6937 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6941 PyObject
* obj0
= 0 ;
6943 (char *) "self", NULL
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_PyObj_FromLong((long)result
);
6962 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "self", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6987 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxTextAttr
*arg1
= 0 ;
6990 wxTextAttr
*arg2
= 0 ;
6991 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6993 PyObject
* obj0
= 0 ;
6994 PyObject
* obj1
= 0 ;
6995 PyObject
* obj2
= 0 ;
6997 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7003 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7007 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7009 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7018 wxTextAttr
* resultptr
;
7019 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7020 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7028 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7031 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7033 return Py_BuildValue((char *)"");
7035 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxWindow
*arg1
= (wxWindow
*) 0 ;
7039 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7045 long arg6
= (long) 0 ;
7046 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7047 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7048 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7049 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7051 bool temp3
= False
;
7054 bool temp8
= False
;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 PyObject
* obj2
= 0 ;
7058 PyObject
* obj3
= 0 ;
7059 PyObject
* obj4
= 0 ;
7060 PyObject
* obj5
= 0 ;
7061 PyObject
* obj6
= 0 ;
7062 PyObject
* obj7
= 0 ;
7064 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7070 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7075 arg3
= wxString_in_helper(obj2
);
7076 if (arg3
== NULL
) SWIG_fail
;
7083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7094 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7099 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7106 arg8
= wxString_in_helper(obj7
);
7107 if (arg8
== NULL
) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= wxPyMake_wxObject(result
);
7143 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (wxTextCtrl
*)new wxTextCtrl();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= wxPyMake_wxObject(result
);
7167 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7170 wxWindow
*arg2
= (wxWindow
*) 0 ;
7172 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7173 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7174 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7175 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7176 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7177 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7178 long arg7
= (long) 0 ;
7179 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7180 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7181 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7182 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7184 bool temp4
= False
;
7187 bool temp9
= False
;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7190 PyObject
* obj2
= 0 ;
7191 PyObject
* obj3
= 0 ;
7192 PyObject
* obj4
= 0 ;
7193 PyObject
* obj5
= 0 ;
7194 PyObject
* obj6
= 0 ;
7195 PyObject
* obj7
= 0 ;
7196 PyObject
* obj8
= 0 ;
7198 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7205 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7210 arg4
= wxString_in_helper(obj3
);
7211 if (arg4
== NULL
) SWIG_fail
;
7218 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7224 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7229 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7234 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7241 arg9
= wxString_in_helper(obj8
);
7242 if (arg9
== NULL
) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7276 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "self", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7307 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7310 wxString
*arg2
= 0 ;
7311 bool temp2
= False
;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7315 (char *) "self",(char *) "value", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7321 arg2
= wxString_in_helper(obj1
);
7322 if (arg2
== NULL
) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 (arg1
)->SetValue((wxString
const &)*arg2
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 Py_INCREF(Py_None
); resultobj
= Py_None
;
7347 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7353 PyObject
* obj0
= 0 ;
7354 PyObject
* obj1
= 0 ;
7355 PyObject
* obj2
= 0 ;
7357 (char *) "self",(char *) "from",(char *) "to", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7363 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7367 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7390 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7398 (char *) "self",(char *) "lineNo", NULL
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7404 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_PyObj_FromInt((int)result
);
7421 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7426 PyObject
* obj0
= 0 ;
7427 PyObject
* obj1
= 0 ;
7429 (char *) "self",(char *) "lineNo", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7435 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7458 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7462 PyObject
* obj0
= 0 ;
7464 (char *) "self", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= SWIG_PyObj_FromInt((int)result
);
7483 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "self", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7508 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7512 PyObject
* obj0
= 0 ;
7514 (char *) "self", NULL
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7533 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7537 PyObject
* obj0
= 0 ;
7539 (char *) "self", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7558 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7564 (char *) "self", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7583 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7586 long *arg2
= (long *) 0 ;
7587 long *arg3
= (long *) 0 ;
7590 PyObject
* obj0
= 0 ;
7592 (char *) "self", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 Py_INCREF(Py_None
); resultobj
= Py_None
;
7608 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7609 resultobj
= t_output_helper(resultobj
,o
);
7612 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7613 resultobj
= t_output_helper(resultobj
,o
);
7621 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "self", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7652 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7657 (char *) "self", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7681 wxString
*arg4
= 0 ;
7682 bool temp4
= False
;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7685 PyObject
* obj2
= 0 ;
7686 PyObject
* obj3
= 0 ;
7688 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7694 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7702 arg4
= wxString_in_helper(obj3
);
7703 if (arg4
== NULL
) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7728 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7734 PyObject
* obj1
= 0 ;
7735 PyObject
* obj2
= 0 ;
7737 (char *) "self",(char *) "from",(char *) "to", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7743 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 (arg1
)->Remove(arg2
,arg3
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 Py_INCREF(Py_None
); resultobj
= Py_None
;
7764 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7767 wxString
*arg2
= 0 ;
7769 bool temp2
= False
;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7773 (char *) "self",(char *) "file", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7779 arg2
= wxString_in_helper(obj1
);
7780 if (arg2
== NULL
) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7805 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7808 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7809 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7811 bool temp2
= False
;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7815 (char *) "self",(char *) "file", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7822 arg2
= wxString_in_helper(obj1
);
7823 if (arg2
== NULL
) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7849 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7852 PyObject
* obj0
= 0 ;
7854 (char *) "self", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 (arg1
)->MarkDirty();
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 Py_INCREF(Py_None
); resultobj
= Py_None
;
7873 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7876 PyObject
* obj0
= 0 ;
7878 (char *) "self", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 (arg1
)->DiscardEdits();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 Py_INCREF(Py_None
); resultobj
= Py_None
;
7897 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7900 unsigned long arg2
;
7901 PyObject
* obj0
= 0 ;
7902 PyObject
* obj1
= 0 ;
7904 (char *) "self",(char *) "len", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7910 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 (arg1
)->SetMaxLength(arg2
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7930 wxString
*arg2
= 0 ;
7931 bool temp2
= False
;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7935 (char *) "self",(char *) "text", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7941 arg2
= wxString_in_helper(obj1
);
7942 if (arg2
== NULL
) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 (arg1
)->WriteText((wxString
const &)*arg2
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 Py_INCREF(Py_None
); resultobj
= Py_None
;
7967 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7969 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7970 wxString
*arg2
= 0 ;
7971 bool temp2
= False
;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7975 (char *) "self",(char *) "text", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7981 arg2
= wxString_in_helper(obj1
);
7982 if (arg2
== NULL
) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 (arg1
)->AppendText((wxString
const &)*arg2
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8010 wxKeyEvent
*arg2
= 0 ;
8012 PyObject
* obj0
= 0 ;
8013 PyObject
* obj1
= 0 ;
8015 (char *) "self",(char *) "event", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8038 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8043 wxTextAttr
*arg4
= 0 ;
8045 PyObject
* obj0
= 0 ;
8046 PyObject
* obj1
= 0 ;
8047 PyObject
* obj2
= 0 ;
8048 PyObject
* obj3
= 0 ;
8050 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8056 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8060 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8081 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8085 wxTextAttr
*arg3
= 0 ;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8089 PyObject
* obj2
= 0 ;
8091 (char *) "self",(char *) "position",(char *) "style", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8097 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8118 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8121 wxTextAttr
*arg2
= 0 ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8126 (char *) "self",(char *) "style", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8131 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8149 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8153 PyObject
* obj0
= 0 ;
8155 (char *) "self", NULL
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8164 result
= (wxTextAttr
*) &_result_ref
;
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8177 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8185 PyObject
* obj2
= 0 ;
8187 (char *) "self",(char *) "x",(char *) "y", NULL
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8193 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8197 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= SWIG_PyObj_FromLong((long)result
);
8214 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8218 long *arg3
= (long *) 0 ;
8219 long *arg4
= (long *) 0 ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8225 (char *) "self",(char *) "pos", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8233 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 Py_INCREF(Py_None
); resultobj
= Py_None
;
8245 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8246 resultobj
= t_output_helper(resultobj
,o
);
8249 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8250 resultobj
= t_output_helper(resultobj
,o
);
8258 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8265 (char *) "self",(char *) "pos", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 (arg1
)->ShowPosition(arg2
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 Py_INCREF(Py_None
); resultobj
= Py_None
;
8288 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8293 (char *) "self", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8312 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8315 PyObject
* obj0
= 0 ;
8317 (char *) "self", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 Py_INCREF(Py_None
); resultobj
= Py_None
;
8336 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8339 PyObject
* obj0
= 0 ;
8341 (char *) "self", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 Py_INCREF(Py_None
); resultobj
= Py_None
;
8360 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8364 PyObject
* obj0
= 0 ;
8366 (char *) "self", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8385 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8389 PyObject
* obj0
= 0 ;
8391 (char *) "self", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8410 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "self", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8435 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 Py_INCREF(Py_None
); resultobj
= Py_None
;
8459 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 Py_INCREF(Py_None
); resultobj
= Py_None
;
8483 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
;
8485 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8487 PyObject
* obj0
= 0 ;
8489 (char *) "self", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8508 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8514 (char *) "self", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8533 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8538 PyObject
* obj1
= 0 ;
8540 (char *) "self",(char *) "pos", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8546 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 (arg1
)->SetInsertionPoint(arg2
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 Py_INCREF(Py_None
); resultobj
= Py_None
;
8563 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8568 (char *) "self", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 (arg1
)->SetInsertionPointEnd();
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 Py_INCREF(Py_None
); resultobj
= Py_None
;
8587 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8591 PyObject
* obj0
= 0 ;
8593 (char *) "self", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8605 resultobj
= SWIG_PyObj_FromLong((long)result
);
8612 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
;
8614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8616 PyObject
* obj0
= 0 ;
8618 (char *) "self", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_PyObj_FromLong((long)result
);
8637 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj1
= 0 ;
8644 PyObject
* obj2
= 0 ;
8646 (char *) "self",(char *) "from",(char *) "to", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8652 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8656 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 (arg1
)->SetSelection(arg2
,arg3
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8673 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8676 PyObject
* obj0
= 0 ;
8678 (char *) "self", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 (arg1
)->SelectAll();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 Py_INCREF(Py_None
); resultobj
= Py_None
;
8697 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8704 (char *) "self",(char *) "editable", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8710 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 (arg1
)->SetEditable(arg2
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 Py_INCREF(Py_None
); resultobj
= Py_None
;
8727 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8730 wxString
*arg2
= 0 ;
8731 bool temp2
= False
;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8735 (char *) "self",(char *) "text", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8741 arg2
= wxString_in_helper(obj1
);
8742 if (arg2
== NULL
) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 Py_INCREF(Py_None
); resultobj
= Py_None
;
8767 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8775 PyObject
* obj2
= 0 ;
8777 (char *) "self",(char *) "from",(char *) "to", NULL
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8783 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8787 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8810 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8813 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8815 return Py_BuildValue((char *)"");
8817 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8820 wxMouseEvent
*arg2
= 0 ;
8823 wxTextUrlEvent
*result
;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8826 PyObject
* obj2
= 0 ;
8827 PyObject
* obj3
= 0 ;
8829 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8834 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8842 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8846 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8863 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8866 wxMouseEvent
*result
;
8867 PyObject
* obj0
= 0 ;
8869 (char *) "self", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8878 result
= (wxMouseEvent
*) &_result_ref
;
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8891 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8895 PyObject
* obj0
= 0 ;
8897 (char *) "self", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_PyObj_FromLong((long)result
);
8916 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_PyObj_FromLong((long)result
);
8941 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8944 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8946 return Py_BuildValue((char *)"");
8948 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
8949 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
8954 static PyObject
*_wrap_ScrollBarNameStr_get() {
8959 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8961 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8968 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxWindow
*arg1
= (wxWindow
*) 0 ;
8971 int arg2
= (int) -1 ;
8972 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8973 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8974 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8975 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8976 long arg5
= (long) wxSB_HORIZONTAL
;
8977 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8978 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8979 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8980 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8981 wxScrollBar
*result
;
8984 bool temp7
= False
;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8987 PyObject
* obj2
= 0 ;
8988 PyObject
* obj3
= 0 ;
8989 PyObject
* obj4
= 0 ;
8990 PyObject
* obj5
= 0 ;
8991 PyObject
* obj6
= 0 ;
8993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9000 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9013 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9018 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9023 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9030 arg7
= wxString_in_helper(obj6
);
9031 if (arg7
== NULL
) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9057 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxScrollBar
*result
;
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (wxScrollBar
*)new wxScrollBar();
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9079 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9082 wxWindow
*arg2
= (wxWindow
*) 0 ;
9083 int arg3
= (int) -1 ;
9084 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9085 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9086 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9087 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9088 long arg6
= (long) wxSB_HORIZONTAL
;
9089 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9090 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9091 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9092 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9096 bool temp8
= False
;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 PyObject
* obj3
= 0 ;
9101 PyObject
* obj4
= 0 ;
9102 PyObject
* obj5
= 0 ;
9103 PyObject
* obj6
= 0 ;
9104 PyObject
* obj7
= 0 ;
9106 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9114 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9132 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9137 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9144 arg8
= wxString_in_helper(obj7
);
9145 if (arg8
== NULL
) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9171 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= SWIG_PyObj_FromInt((int)result
);
9196 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9202 (char *) "self", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= SWIG_PyObj_FromInt((int)result
);
9221 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9225 PyObject
* obj0
= 0 ;
9227 (char *) "self", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= SWIG_PyObj_FromInt((int)result
);
9246 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9250 PyObject
* obj0
= 0 ;
9252 (char *) "self", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_PyObj_FromInt((int)result
);
9271 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9277 (char *) "self", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9296 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9303 (char *) "self",(char *) "viewStart", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9309 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 (arg1
)->SetThumbPosition(arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 Py_INCREF(Py_None
); resultobj
= Py_None
;
9326 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9333 bool arg6
= (bool) True
;
9334 PyObject
* obj0
= 0 ;
9335 PyObject
* obj1
= 0 ;
9336 PyObject
* obj2
= 0 ;
9337 PyObject
* obj3
= 0 ;
9338 PyObject
* obj4
= 0 ;
9339 PyObject
* obj5
= 0 ;
9341 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9347 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9355 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9359 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9364 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 Py_INCREF(Py_None
); resultobj
= Py_None
;
9382 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9385 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9387 return Py_BuildValue((char *)"");
9389 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9390 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9395 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9400 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9402 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9409 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9410 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9415 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9420 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9422 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9429 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxWindow
*arg1
= (wxWindow
*) 0 ;
9432 int arg2
= (int) -1 ;
9433 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9434 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9435 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9436 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9437 long arg5
= (long) wxSP_HORIZONTAL
;
9438 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9439 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9440 wxSpinButton
*result
;
9443 bool temp6
= False
;
9444 PyObject
* obj0
= 0 ;
9445 PyObject
* obj1
= 0 ;
9446 PyObject
* obj2
= 0 ;
9447 PyObject
* obj3
= 0 ;
9448 PyObject
* obj4
= 0 ;
9449 PyObject
* obj5
= 0 ;
9451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9458 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9471 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9476 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9482 arg6
= wxString_in_helper(obj5
);
9483 if (arg6
== NULL
) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9509 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxSpinButton
*result
;
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (wxSpinButton
*)new wxSpinButton();
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9531 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9534 wxWindow
*arg2
= (wxWindow
*) 0 ;
9535 int arg3
= (int) -1 ;
9536 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9537 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9538 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9539 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9540 long arg6
= (long) wxSP_HORIZONTAL
;
9541 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9542 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9546 bool temp7
= False
;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 PyObject
* obj2
= 0 ;
9550 PyObject
* obj3
= 0 ;
9551 PyObject
* obj4
= 0 ;
9552 PyObject
* obj5
= 0 ;
9553 PyObject
* obj6
= 0 ;
9555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9563 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9570 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9576 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9581 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9587 arg7
= wxString_in_helper(obj6
);
9588 if (arg7
== NULL
) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9614 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
;
9616 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9620 (char *) "self", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_PyObj_FromInt((int)result
);
9639 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9645 (char *) "self", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 resultobj
= SWIG_PyObj_FromInt((int)result
);
9664 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9668 PyObject
* obj0
= 0 ;
9670 (char *) "self", NULL
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_PyObj_FromInt((int)result
);
9689 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "val", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9702 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 (arg1
)->SetValue(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 Py_INCREF(Py_None
); resultobj
= Py_None
;
9719 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9726 (char *) "self",(char *) "minVal", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
9730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9732 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 (arg1
)->SetMin(arg2
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 Py_INCREF(Py_None
); resultobj
= Py_None
;
9749 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9753 PyObject
* obj0
= 0 ;
9754 PyObject
* obj1
= 0 ;
9756 (char *) "self",(char *) "maxVal", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9762 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 (arg1
)->SetMax(arg2
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 Py_INCREF(Py_None
); resultobj
= Py_None
;
9779 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9786 PyObject
* obj2
= 0 ;
9788 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9794 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9798 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 (arg1
)->SetRange(arg2
,arg3
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 Py_INCREF(Py_None
); resultobj
= Py_None
;
9815 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9821 (char *) "self", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9840 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
9842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9843 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
9845 return Py_BuildValue((char *)"");
9847 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
;
9849 wxWindow
*arg1
= (wxWindow
*) 0 ;
9850 int arg2
= (int) -1 ;
9851 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9852 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9857 long arg6
= (long) wxSP_ARROW_KEYS
;
9858 int arg7
= (int) 0 ;
9859 int arg8
= (int) 100 ;
9860 int arg9
= (int) 0 ;
9861 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
9862 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
9864 bool temp3
= False
;
9867 bool temp10
= False
;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9870 PyObject
* obj2
= 0 ;
9871 PyObject
* obj3
= 0 ;
9872 PyObject
* obj4
= 0 ;
9873 PyObject
* obj5
= 0 ;
9874 PyObject
* obj6
= 0 ;
9875 PyObject
* obj7
= 0 ;
9876 PyObject
* obj8
= 0 ;
9877 PyObject
* obj9
= 0 ;
9879 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9886 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9892 arg3
= wxString_in_helper(obj2
);
9893 if (arg3
== NULL
) SWIG_fail
;
9900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9911 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9917 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9923 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9929 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9935 arg10
= wxString_in_helper(obj9
);
9936 if (arg10
== NULL
) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9970 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (wxSpinCtrl
*)new wxSpinCtrl();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9992 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9995 wxWindow
*arg2
= (wxWindow
*) 0 ;
9996 int arg3
= (int) -1 ;
9997 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9998 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9999 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10000 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10001 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10002 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10003 long arg7
= (long) wxSP_ARROW_KEYS
;
10004 int arg8
= (int) 0 ;
10005 int arg9
= (int) 100 ;
10006 int arg10
= (int) 0 ;
10007 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10008 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10010 bool temp4
= False
;
10013 bool temp11
= False
;
10014 PyObject
* obj0
= 0 ;
10015 PyObject
* obj1
= 0 ;
10016 PyObject
* obj2
= 0 ;
10017 PyObject
* obj3
= 0 ;
10018 PyObject
* obj4
= 0 ;
10019 PyObject
* obj5
= 0 ;
10020 PyObject
* obj6
= 0 ;
10021 PyObject
* obj7
= 0 ;
10022 PyObject
* obj8
= 0 ;
10023 PyObject
* obj9
= 0 ;
10024 PyObject
* obj10
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10034 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10040 arg4
= wxString_in_helper(obj3
);
10041 if (arg4
== NULL
) SWIG_fail
;
10048 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10054 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10059 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10065 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10071 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10077 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10083 arg11
= wxString_in_helper(obj10
);
10084 if (arg11
== NULL
) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10118 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_PyObj_FromInt((int)result
);
10143 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self",(char *) "value", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10156 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 (arg1
)->SetValue(arg2
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 Py_INCREF(Py_None
); resultobj
= Py_None
;
10173 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10176 wxString
*arg2
= 0 ;
10177 bool temp2
= False
;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self",(char *) "text", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10187 arg2
= wxString_in_helper(obj1
);
10188 if (arg2
== NULL
) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 (arg1
)->SetValue((wxString
const &)*arg2
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 Py_INCREF(Py_None
); resultobj
= Py_None
;
10213 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 PyObject
* obj2
= 0 ;
10221 char *kwnames
[] = {
10222 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10228 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10232 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 (arg1
)->SetRange(arg2
,arg3
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 Py_INCREF(Py_None
); resultobj
= Py_None
;
10249 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10253 PyObject
* obj0
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "self", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_PyObj_FromInt((int)result
);
10274 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10278 PyObject
* obj0
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= SWIG_PyObj_FromInt((int)result
);
10299 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
;
10301 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 PyObject
* obj2
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self",(char *) "from",(char *) "to", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10314 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10318 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 (arg1
)->SetSelection(arg2
,arg3
);
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 Py_INCREF(Py_None
); resultobj
= Py_None
;
10335 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10338 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10340 return Py_BuildValue((char *)"");
10342 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10345 int arg2
= (int) 0 ;
10346 wxSpinEvent
*result
;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "commandType",(char *) "winid", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10356 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10362 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10380 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10384 PyObject
* obj0
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= SWIG_PyObj_FromInt((int)result
);
10405 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
;
10407 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10409 PyObject
* obj0
= 0 ;
10410 PyObject
* obj1
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self",(char *) "pos", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10418 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 (arg1
)->SetPosition(arg2
);
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 Py_INCREF(Py_None
); resultobj
= Py_None
;
10435 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10438 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10440 return Py_BuildValue((char *)"");
10442 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10443 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10448 static PyObject
*_wrap_RadioBoxNameStr_get() {
10453 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10455 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10462 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10463 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10468 static PyObject
*_wrap_RadioButtonNameStr_get() {
10473 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10475 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10482 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxWindow
*arg1
= (wxWindow
*) 0 ;
10486 wxString
*arg3
= 0 ;
10487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10491 int arg6
= (int) 0 ;
10492 wxString
*arg7
= (wxString
*) NULL
;
10493 int arg8
= (int) 0 ;
10494 long arg9
= (long) wxRA_HORIZONTAL
;
10495 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10496 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10497 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10498 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10499 wxRadioBox
*result
;
10500 bool temp3
= False
;
10503 bool temp10
= False
;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 PyObject
* obj2
= 0 ;
10507 PyObject
* obj3
= 0 ;
10508 PyObject
* obj4
= 0 ;
10509 PyObject
* obj5
= 0 ;
10510 PyObject
* obj6
= 0 ;
10511 PyObject
* obj7
= 0 ;
10512 PyObject
* obj8
= 0 ;
10513 PyObject
* obj9
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10521 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10525 arg3
= wxString_in_helper(obj2
);
10526 if (arg3
== NULL
) SWIG_fail
;
10532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10543 arg6
= PyList_Size(obj5
);
10544 arg7
= wxString_LIST_helper(obj5
);
10545 if (arg7
== NULL
) SWIG_fail
;
10550 arg8
= (int) SWIG_PyObj_AsInt(obj6
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10556 arg9
= (long) SWIG_PyObj_AsLong(obj7
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10561 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10562 if (arg10
== NULL
) {
10563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10568 arg11
= wxString_in_helper(obj9
);
10569 if (arg11
== NULL
) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10586 if (arg7
) delete [] arg7
;
10599 if (arg7
) delete [] arg7
;
10609 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxRadioBox
*result
;
10612 char *kwnames
[] = {
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (wxRadioBox
*)new wxRadioBox();
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10631 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10634 wxWindow
*arg2
= (wxWindow
*) 0 ;
10636 wxString
*arg4
= 0 ;
10637 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10638 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10639 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10640 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10641 int arg7
= (int) 0 ;
10642 wxString
*arg8
= (wxString
*) NULL
;
10643 int arg9
= (int) 0 ;
10644 long arg10
= (long) wxRA_HORIZONTAL
;
10645 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
10646 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
10647 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
10648 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
10650 bool temp4
= False
;
10653 bool temp11
= False
;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 PyObject
* obj2
= 0 ;
10657 PyObject
* obj3
= 0 ;
10658 PyObject
* obj4
= 0 ;
10659 PyObject
* obj5
= 0 ;
10660 PyObject
* obj6
= 0 ;
10661 PyObject
* obj7
= 0 ;
10662 PyObject
* obj8
= 0 ;
10663 PyObject
* obj9
= 0 ;
10664 PyObject
* obj10
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10673 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 arg4
= wxString_in_helper(obj3
);
10678 if (arg4
== NULL
) SWIG_fail
;
10684 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10690 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10695 arg7
= PyList_Size(obj6
);
10696 arg8
= wxString_LIST_helper(obj6
);
10697 if (arg8
== NULL
) SWIG_fail
;
10702 arg9
= (int) SWIG_PyObj_AsInt(obj7
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10708 arg10
= (long) SWIG_PyObj_AsLong(obj8
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10713 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10714 if (arg11
== NULL
) {
10715 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10720 arg12
= wxString_in_helper(obj10
);
10721 if (arg12
== NULL
) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxValidator
const &)*arg11
,(wxString
const &)*arg12
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10738 if (arg8
) delete [] arg8
;
10751 if (arg8
) delete [] arg8
;
10761 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "n", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10774 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 (arg1
)->SetSelection(arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= SWIG_PyObj_FromInt((int)result
);
10816 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10847 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10850 wxString
*arg2
= 0 ;
10852 bool temp2
= False
;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "s", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10862 arg2
= wxString_in_helper(obj1
);
10863 if (arg2
== NULL
) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10888 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
;
10890 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10892 PyObject
* obj0
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
10898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= SWIG_PyObj_FromInt((int)result
);
10913 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10916 wxString
*arg2
= 0 ;
10918 bool temp2
= False
;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "self",(char *) "s", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
10926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10928 arg2
= wxString_in_helper(obj1
);
10929 if (arg2
== NULL
) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_PyObj_FromInt((int)result
);
10954 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "n", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10968 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10991 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10995 wxString
*arg3
= 0 ;
10996 bool temp3
= False
;
10997 PyObject
* obj0
= 0 ;
10998 PyObject
* obj1
= 0 ;
10999 PyObject
* obj2
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self",(char *) "n",(char *) "label", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11007 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11011 arg3
= wxString_in_helper(obj2
);
11012 if (arg3
== NULL
) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 Py_INCREF(Py_None
); resultobj
= Py_None
;
11037 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11041 bool arg3
= (bool) True
;
11042 PyObject
* obj0
= 0 ;
11043 PyObject
* obj1
= 0 ;
11044 PyObject
* obj2
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self",(char *) "n",(char *) "enable", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11052 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11057 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 (arg1
)->Enable(arg2
,arg3
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 Py_INCREF(Py_None
); resultobj
= Py_None
;
11075 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
;
11077 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11079 bool arg3
= (bool) True
;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 PyObject
* obj2
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "n",(char *) "show", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11090 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11095 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 (arg1
)->Show(arg2
,arg3
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 Py_INCREF(Py_None
); resultobj
= Py_None
;
11113 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11117 PyObject
* obj0
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= SWIG_PyObj_FromInt((int)result
);
11138 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= SWIG_PyObj_FromInt((int)result
);
11163 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 PyObject
* obj2
= 0 ;
11173 PyObject
* obj3
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11181 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11185 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11189 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= SWIG_PyObj_FromInt((int)result
);
11206 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11209 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11211 return Py_BuildValue((char *)"");
11213 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxWindow
*arg1
= (wxWindow
*) 0 ;
11217 wxString
*arg3
= 0 ;
11218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11222 long arg6
= (long) 0 ;
11223 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11224 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11225 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11226 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11227 wxRadioButton
*result
;
11228 bool temp3
= False
;
11231 bool temp8
= False
;
11232 PyObject
* obj0
= 0 ;
11233 PyObject
* obj1
= 0 ;
11234 PyObject
* obj2
= 0 ;
11235 PyObject
* obj3
= 0 ;
11236 PyObject
* obj4
= 0 ;
11237 PyObject
* obj5
= 0 ;
11238 PyObject
* obj6
= 0 ;
11239 PyObject
* obj7
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11247 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11251 arg3
= wxString_in_helper(obj2
);
11252 if (arg3
== NULL
) SWIG_fail
;
11258 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11264 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11269 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11274 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11275 if (arg7
== NULL
) {
11276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11281 arg8
= wxString_in_helper(obj7
);
11282 if (arg8
== NULL
) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11316 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxRadioButton
*result
;
11319 char *kwnames
[] = {
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (wxRadioButton
*)new wxRadioButton();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11338 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11341 wxWindow
*arg2
= (wxWindow
*) 0 ;
11343 wxString
*arg4
= 0 ;
11344 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11345 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11346 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11347 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11348 long arg7
= (long) 0 ;
11349 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11350 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11351 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11352 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11354 bool temp4
= False
;
11357 bool temp9
= False
;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 PyObject
* obj2
= 0 ;
11361 PyObject
* obj3
= 0 ;
11362 PyObject
* obj4
= 0 ;
11363 PyObject
* obj5
= 0 ;
11364 PyObject
* obj6
= 0 ;
11365 PyObject
* obj7
= 0 ;
11366 PyObject
* obj8
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11375 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11379 arg4
= wxString_in_helper(obj3
);
11380 if (arg4
== NULL
) SWIG_fail
;
11386 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11392 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11397 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11402 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11403 if (arg8
== NULL
) {
11404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11409 arg9
= wxString_in_helper(obj8
);
11410 if (arg9
== NULL
) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11444 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11448 PyObject
* obj0
= 0 ;
11449 char *kwnames
[] = {
11450 (char *) "self", NULL
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (bool)(arg1
)->GetValue();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11469 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "value", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11482 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SetValue(arg2
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11502 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11504 return Py_BuildValue((char *)"");
11506 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
11507 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11512 static PyObject
*_wrap_SliderNameStr_get() {
11517 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11519 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11526 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxWindow
*arg1
= (wxWindow
*) 0 ;
11533 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11534 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11535 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11536 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11537 long arg8
= (long) wxSL_HORIZONTAL
;
11538 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11539 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11540 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11541 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11545 bool temp10
= False
;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 PyObject
* obj2
= 0 ;
11549 PyObject
* obj3
= 0 ;
11550 PyObject
* obj4
= 0 ;
11551 PyObject
* obj5
= 0 ;
11552 PyObject
* obj6
= 0 ;
11553 PyObject
* obj7
= 0 ;
11554 PyObject
* obj8
= 0 ;
11555 PyObject
* obj9
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11563 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11571 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11575 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11581 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11587 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11592 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11597 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11598 if (arg9
== NULL
) {
11599 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11604 arg10
= wxString_in_helper(obj9
);
11605 if (arg10
== NULL
) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11631 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
;
11634 char *kwnames
[] = {
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (wxSlider
*)new wxSlider();
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11653 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxSlider
*arg1
= (wxSlider
*) 0 ;
11656 wxWindow
*arg2
= (wxWindow
*) 0 ;
11661 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11662 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11663 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11664 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11665 long arg9
= (long) wxSL_HORIZONTAL
;
11666 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11667 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11668 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11669 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11673 bool temp11
= False
;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 PyObject
* obj2
= 0 ;
11677 PyObject
* obj3
= 0 ;
11678 PyObject
* obj4
= 0 ;
11679 PyObject
* obj5
= 0 ;
11680 PyObject
* obj6
= 0 ;
11681 PyObject
* obj7
= 0 ;
11682 PyObject
* obj8
= 0 ;
11683 PyObject
* obj9
= 0 ;
11684 PyObject
* obj10
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11693 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11701 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11705 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11711 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11717 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
11722 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11727 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11728 if (arg10
== NULL
) {
11729 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11734 arg11
= wxString_in_helper(obj10
);
11735 if (arg11
== NULL
) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11761 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxSlider
*arg1
= (wxSlider
*) 0 ;
11765 PyObject
* obj0
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
11771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 result
= (int)((wxSlider
const *)arg1
)->GetValue();
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= SWIG_PyObj_FromInt((int)result
);
11786 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxSlider
*arg1
= (wxSlider
*) 0 ;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "value", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->SetValue(arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxSlider
*arg1
= (wxSlider
*) 0 ;
11821 PyObject
* obj0
= 0 ;
11822 PyObject
* obj1
= 0 ;
11823 PyObject
* obj2
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11831 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11835 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 (arg1
)->SetRange(arg2
,arg3
);
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11845 Py_INCREF(Py_None
); resultobj
= Py_None
;
11852 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxSlider
*arg1
= (wxSlider
*) 0 ;
11856 PyObject
* obj0
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "self", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (int)((wxSlider
const *)arg1
)->GetMin();
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= SWIG_PyObj_FromInt((int)result
);
11877 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxSlider
*arg1
= (wxSlider
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (int)((wxSlider
const *)arg1
)->GetMax();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_PyObj_FromInt((int)result
);
11902 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxSlider
*arg1
= (wxSlider
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 PyObject
* obj1
= 0 ;
11908 char *kwnames
[] = {
11909 (char *) "self",(char *) "minValue", NULL
11912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
11913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11915 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 (arg1
)->SetMin(arg2
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 Py_INCREF(Py_None
); resultobj
= Py_None
;
11932 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxSlider
*arg1
= (wxSlider
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 PyObject
* obj1
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self",(char *) "maxValue", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11945 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 (arg1
)->SetMax(arg2
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 Py_INCREF(Py_None
); resultobj
= Py_None
;
11962 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxSlider
*arg1
= (wxSlider
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self",(char *) "lineSize", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11975 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 (arg1
)->SetLineSize(arg2
);
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 Py_INCREF(Py_None
); resultobj
= Py_None
;
11992 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxSlider
*arg1
= (wxSlider
*) 0 ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "pageSize", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 (arg1
)->SetPageSize(arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 Py_INCREF(Py_None
); resultobj
= Py_None
;
12022 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxSlider
*arg1
= (wxSlider
*) 0 ;
12026 PyObject
* obj0
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_PyObj_FromInt((int)result
);
12047 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxSlider
*arg1
= (wxSlider
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_PyObj_FromInt((int)result
);
12072 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxSlider
*arg1
= (wxSlider
*) 0 ;
12076 PyObject
* obj0
= 0 ;
12077 PyObject
* obj1
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self",(char *) "lenPixels", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12085 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 (arg1
)->SetThumbLength(arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 Py_INCREF(Py_None
); resultobj
= Py_None
;
12102 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxSlider
*arg1
= (wxSlider
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_PyObj_FromInt((int)result
);
12127 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxSlider
*arg1
= (wxSlider
*) 0 ;
12131 int arg3
= (int) 1 ;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 PyObject
* obj2
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self",(char *) "n",(char *) "pos", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12142 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12147 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->SetTickFreq(arg2
,arg3
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxSlider
*arg1
= (wxSlider
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_PyObj_FromInt((int)result
);
12190 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxSlider
*arg1
= (wxSlider
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 (arg1
)->ClearTicks();
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxSlider
*arg1
= (wxSlider
*) 0 ;
12218 PyObject
* obj0
= 0 ;
12219 PyObject
* obj1
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "tickPos", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 (arg1
)->SetTick(arg2
);
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12237 Py_INCREF(Py_None
); resultobj
= Py_None
;
12244 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12246 wxSlider
*arg1
= (wxSlider
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 (arg1
)->ClearSel();
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 Py_INCREF(Py_None
); resultobj
= Py_None
;
12268 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxSlider
*arg1
= (wxSlider
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_PyObj_FromInt((int)result
);
12293 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxSlider
*arg1
= (wxSlider
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= SWIG_PyObj_FromInt((int)result
);
12318 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxSlider
*arg1
= (wxSlider
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 PyObject
* obj2
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self",(char *) "min",(char *) "max", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12333 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 (arg1
)->SetSelection(arg2
,arg3
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 Py_INCREF(Py_None
); resultobj
= Py_None
;
12354 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12357 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12359 return Py_BuildValue((char *)"");
12361 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12362 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12367 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12372 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12374 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12381 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxWindow
*arg1
= (wxWindow
*) 0 ;
12385 wxString
*arg3
= 0 ;
12386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12390 long arg6
= (long) 0 ;
12391 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12392 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12393 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12395 wxToggleButton
*result
;
12396 bool temp3
= False
;
12399 bool temp8
= False
;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 PyObject
* obj2
= 0 ;
12403 PyObject
* obj3
= 0 ;
12404 PyObject
* obj4
= 0 ;
12405 PyObject
* obj5
= 0 ;
12406 PyObject
* obj6
= 0 ;
12407 PyObject
* obj7
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12415 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 arg3
= wxString_in_helper(obj2
);
12420 if (arg3
== NULL
) SWIG_fail
;
12426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12437 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12442 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12443 if (arg7
== NULL
) {
12444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12449 arg8
= wxString_in_helper(obj7
);
12450 if (arg8
== NULL
) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12484 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxToggleButton
*result
;
12487 char *kwnames
[] = {
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (wxToggleButton
*)new wxToggleButton();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12506 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12509 wxWindow
*arg2
= (wxWindow
*) 0 ;
12511 wxString
*arg4
= 0 ;
12512 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12513 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12514 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12515 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12516 long arg7
= (long) 0 ;
12517 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12518 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12519 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12520 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12522 bool temp4
= False
;
12525 bool temp9
= False
;
12526 PyObject
* obj0
= 0 ;
12527 PyObject
* obj1
= 0 ;
12528 PyObject
* obj2
= 0 ;
12529 PyObject
* obj3
= 0 ;
12530 PyObject
* obj4
= 0 ;
12531 PyObject
* obj5
= 0 ;
12532 PyObject
* obj6
= 0 ;
12533 PyObject
* obj7
= 0 ;
12534 PyObject
* obj8
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12543 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 arg4
= wxString_in_helper(obj3
);
12548 if (arg4
== NULL
) SWIG_fail
;
12554 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12560 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12565 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12570 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12571 if (arg8
== NULL
) {
12572 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12577 arg9
= wxString_in_helper(obj8
);
12578 if (arg9
== NULL
) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12612 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "value", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12625 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->SetValue(arg2
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 Py_INCREF(Py_None
); resultobj
= Py_None
;
12642 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12667 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12670 wxString
*arg2
= 0 ;
12671 bool temp2
= False
;
12672 PyObject
* obj0
= 0 ;
12673 PyObject
* obj1
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self",(char *) "label", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
12679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12681 arg2
= wxString_in_helper(obj1
);
12682 if (arg2
== NULL
) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->SetLabel((wxString
const &)*arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
12709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12710 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12712 return Py_BuildValue((char *)"");
12714 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
12715 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12720 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12725 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12727 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12734 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
12759 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self",(char *) "n", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12773 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= wxPyMake_wxObject(result
);
12792 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
;
12794 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
12802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_PyObj_FromInt((int)result
);
12817 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
;
12819 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12821 wxString
*arg3
= 0 ;
12823 bool temp3
= False
;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 PyObject
* obj2
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "self",(char *) "n",(char *) "strText", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12834 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12838 arg3
= wxString_in_helper(obj2
);
12839 if (arg3
== NULL
) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12864 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self",(char *) "n", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12878 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12901 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12904 wxImageList
*arg2
= (wxImageList
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "self",(char *) "imageList", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 (arg1
)->SetImageList(arg2
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 Py_INCREF(Py_None
); resultobj
= Py_None
;
12928 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12931 wxImageList
*arg2
= (wxImageList
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self",(char *) "imageList", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 (arg1
)->AssignImageList(arg2
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 Py_INCREF(Py_None
); resultobj
= Py_None
;
12955 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12958 wxImageList
*result
;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
12965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= wxPyMake_wxObject(result
);
12982 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
;
12984 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 PyObject
* obj1
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self",(char *) "n", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12996 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12997 if (PyErr_Occurred()) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_PyObj_FromInt((int)result
);
13013 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 PyObject
* obj2
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self",(char *) "n",(char *) "imageId", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13029 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13033 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13050 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self",(char *) "size", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13065 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 Py_INCREF(Py_None
); resultobj
= Py_None
;
13081 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
;
13083 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self",(char *) "sizePage", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13107 wxSize
* resultptr
;
13108 resultptr
= new wxSize((wxSize
&) result
);
13109 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13117 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self",(char *) "n", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13131 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (bool)(arg1
)->DeletePage(arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13148 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "n", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13162 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (bool)(arg1
)->RemovePage(arg2
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13179 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13183 PyObject
* obj0
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 result
= (bool)(arg1
)->DeleteAllPages();
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13204 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13207 wxWindow
*arg2
= (wxWindow
*) 0 ;
13208 wxString
*arg3
= 0 ;
13209 bool arg4
= (bool) False
;
13210 int arg5
= (int) -1 ;
13212 bool temp3
= False
;
13213 PyObject
* obj0
= 0 ;
13214 PyObject
* obj1
= 0 ;
13215 PyObject
* obj2
= 0 ;
13216 PyObject
* obj3
= 0 ;
13217 PyObject
* obj4
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13226 arg3
= wxString_in_helper(obj2
);
13227 if (arg3
== NULL
) SWIG_fail
;
13232 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13238 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13264 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
;
13266 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13268 wxWindow
*arg3
= (wxWindow
*) 0 ;
13269 wxString
*arg4
= 0 ;
13270 bool arg5
= (bool) False
;
13271 int arg6
= (int) -1 ;
13273 bool temp4
= False
;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 PyObject
* obj2
= 0 ;
13277 PyObject
* obj3
= 0 ;
13278 PyObject
* obj4
= 0 ;
13279 PyObject
* obj5
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13287 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13292 arg4
= wxString_in_helper(obj3
);
13293 if (arg4
== NULL
) SWIG_fail
;
13298 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13304 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13330 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "n", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13344 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (int)(arg1
)->SetSelection(arg2
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_PyObj_FromInt((int)result
);
13361 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13364 bool arg2
= (bool) True
;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "forward", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13375 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 (arg1
)->AdvanceSelection(arg2
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 Py_INCREF(Py_None
); resultobj
= Py_None
;
13393 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13396 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13398 return Py_BuildValue((char *)"");
13400 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13403 int arg2
= (int) 0 ;
13404 int arg3
= (int) -1 ;
13405 int arg4
= (int) -1 ;
13406 wxBookCtrlEvent
*result
;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 PyObject
* obj2
= 0 ;
13410 PyObject
* obj3
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13418 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13424 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13430 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13436 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13454 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= SWIG_PyObj_FromInt((int)result
);
13479 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 PyObject
* obj1
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self",(char *) "nSel", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13492 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 (arg1
)->SetSelection(arg2
);
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 Py_INCREF(Py_None
); resultobj
= Py_None
;
13509 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 resultobj
= SWIG_PyObj_FromInt((int)result
);
13534 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self",(char *) "nOldSel", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13547 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 (arg1
)->SetOldSelection(arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 Py_INCREF(Py_None
); resultobj
= Py_None
;
13564 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13567 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13569 return Py_BuildValue((char *)"");
13571 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxWindow
*arg1
= (wxWindow
*) 0 ;
13575 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13576 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13577 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13578 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13579 long arg5
= (long) 0 ;
13580 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13581 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13582 wxNotebook
*result
;
13585 bool temp6
= False
;
13586 PyObject
* obj0
= 0 ;
13587 PyObject
* obj1
= 0 ;
13588 PyObject
* obj2
= 0 ;
13589 PyObject
* obj3
= 0 ;
13590 PyObject
* obj4
= 0 ;
13591 PyObject
* obj5
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13599 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13611 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13616 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13622 arg6
= wxString_in_helper(obj5
);
13623 if (arg6
== NULL
) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= wxPyMake_wxObject(result
);
13651 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxNotebook
*result
;
13654 char *kwnames
[] = {
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (wxNotebook
*)new wxNotebook();
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= wxPyMake_wxObject(result
);
13675 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13678 wxWindow
*arg2
= (wxWindow
*) 0 ;
13680 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13681 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13682 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13683 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13684 long arg6
= (long) 0 ;
13685 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13686 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13690 bool temp7
= False
;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 PyObject
* obj2
= 0 ;
13694 PyObject
* obj3
= 0 ;
13695 PyObject
* obj4
= 0 ;
13696 PyObject
* obj5
= 0 ;
13697 PyObject
* obj6
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13706 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13718 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13723 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13729 arg7
= wxString_in_helper(obj6
);
13730 if (arg7
== NULL
) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13756 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= SWIG_PyObj_FromInt((int)result
);
13781 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self",(char *) "padding", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13796 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 (arg1
)->SetPadding((wxSize
const &)*arg2
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 Py_INCREF(Py_None
); resultobj
= Py_None
;
13812 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self",(char *) "sz", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13827 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 Py_INCREF(Py_None
); resultobj
= Py_None
;
13843 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13846 wxPoint
*arg2
= 0 ;
13847 long *arg3
= (long *) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 PyObject
* obj1
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self",(char *) "pt", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13862 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_PyObj_FromInt((int)result
);
13873 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13874 resultobj
= t_output_helper(resultobj
,o
);
13882 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 PyObject
* obj1
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self",(char *) "sizePage", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13898 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13908 wxSize
* resultptr
;
13909 resultptr
= new wxSize((wxSize
&) result
);
13910 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13918 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
13920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13921 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
13923 return Py_BuildValue((char *)"");
13925 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13928 int arg2
= (int) 0 ;
13929 int arg3
= (int) -1 ;
13930 int arg4
= (int) -1 ;
13931 wxNotebookEvent
*result
;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 PyObject
* obj2
= 0 ;
13935 PyObject
* obj3
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13943 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13949 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13955 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13961 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13972 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
13979 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13982 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
13984 return Py_BuildValue((char *)"");
13986 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxWindow
*arg1
= (wxWindow
*) 0 ;
13990 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13991 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13992 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13993 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13994 long arg5
= (long) 0 ;
13995 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13996 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13997 wxListbook
*result
;
14000 bool temp6
= False
;
14001 PyObject
* obj0
= 0 ;
14002 PyObject
* obj1
= 0 ;
14003 PyObject
* obj2
= 0 ;
14004 PyObject
* obj3
= 0 ;
14005 PyObject
* obj4
= 0 ;
14006 PyObject
* obj5
= 0 ;
14007 char *kwnames
[] = {
14008 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14014 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14031 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14037 arg6
= wxString_in_helper(obj5
);
14038 if (arg6
== NULL
) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14064 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxListbook
*result
;
14067 char *kwnames
[] = {
14071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 result
= (wxListbook
*)new wxListbook();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14086 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxListbook
*arg1
= (wxListbook
*) 0 ;
14089 wxWindow
*arg2
= (wxWindow
*) 0 ;
14091 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14092 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14093 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14094 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14095 long arg6
= (long) 0 ;
14096 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14097 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14101 bool temp7
= False
;
14102 PyObject
* obj0
= 0 ;
14103 PyObject
* obj1
= 0 ;
14104 PyObject
* obj2
= 0 ;
14105 PyObject
* obj3
= 0 ;
14106 PyObject
* obj4
= 0 ;
14107 PyObject
* obj5
= 0 ;
14108 PyObject
* obj6
= 0 ;
14109 char *kwnames
[] = {
14110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14115 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14117 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14134 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14140 arg7
= wxString_in_helper(obj6
);
14141 if (arg7
== NULL
) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14167 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxListbook
*arg1
= (wxListbook
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14192 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14195 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14197 return Py_BuildValue((char *)"");
14199 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14202 int arg2
= (int) 0 ;
14203 int arg3
= (int) -1 ;
14204 int arg4
= (int) -1 ;
14205 wxListbookEvent
*result
;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 PyObject
* obj2
= 0 ;
14209 PyObject
* obj3
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14217 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14223 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14229 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14235 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14253 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14256 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14258 return Py_BuildValue((char *)"");
14260 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14263 wxBookCtrlSizer
*result
;
14264 PyObject
* obj0
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "nb", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14285 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 (arg1
)->RecalcSizes();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 Py_INCREF(Py_None
); resultobj
= Py_None
;
14309 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "self", NULL
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (arg1
)->CalcMin();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 wxSize
* resultptr
;
14329 resultptr
= new wxSize((wxSize
&) result
);
14330 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14338 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14341 wxBookCtrl
*result
;
14342 PyObject
* obj0
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "self", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14363 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14366 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14368 return Py_BuildValue((char *)"");
14370 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14373 wxNotebookSizer
*result
;
14374 PyObject
* obj0
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "nb", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14395 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 (arg1
)->RecalcSizes();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 Py_INCREF(Py_None
); resultobj
= Py_None
;
14419 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14423 PyObject
* obj0
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (arg1
)->CalcMin();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14438 wxSize
* resultptr
;
14439 resultptr
= new wxSize((wxSize
&) result
);
14440 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14448 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14451 wxNotebook
*result
;
14452 PyObject
* obj0
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= wxPyMake_wxObject(result
);
14475 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14478 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14480 return Py_BuildValue((char *)"");
14482 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14486 PyObject
* obj0
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (int)(arg1
)->GetId();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_PyObj_FromInt((int)result
);
14507 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (wxControl
*)(arg1
)->GetControl();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= wxPyMake_wxObject(result
);
14534 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14537 wxToolBarBase
*result
;
14538 PyObject
* obj0
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self", NULL
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= wxPyMake_wxObject(result
);
14561 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 result
= (int)(arg1
)->IsButton();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= SWIG_PyObj_FromInt((int)result
);
14586 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (int)(arg1
)->IsControl();
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_PyObj_FromInt((int)result
);
14611 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (int)(arg1
)->IsSeparator();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_PyObj_FromInt((int)result
);
14636 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (int)(arg1
)->GetStyle();
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= SWIG_PyObj_FromInt((int)result
);
14661 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
;
14663 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14665 PyObject
* obj0
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "self", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (int)(arg1
)->GetKind();
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= SWIG_PyObj_FromInt((int)result
);
14686 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (bool)(arg1
)->IsEnabled();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14711 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14715 PyObject
* obj0
= 0 ;
14716 char *kwnames
[] = {
14717 (char *) "self", NULL
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= (bool)(arg1
)->IsToggled();
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14736 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (bool)(arg1
)->CanBeToggled();
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14761 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
14776 result
= (wxBitmap
*) &_result_ref
;
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14789 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
14799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
14804 result
= (wxBitmap
*) &_result_ref
;
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14817 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (arg1
)->GetBitmap();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14836 wxBitmap
* resultptr
;
14837 resultptr
= new wxBitmap((wxBitmap
&) result
);
14838 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14846 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
;
14848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 char *kwnames
[] = {
14852 (char *) "self", NULL
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
14856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (arg1
)->GetLabel();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14877 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14878 PyObject
*resultobj
;
14879 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
14887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (arg1
)->GetShortHelp();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14908 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (arg1
)->GetLongHelp();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14939 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
;
14941 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14944 PyObject
* obj0
= 0 ;
14945 PyObject
* obj1
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self",(char *) "enable", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
14951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14953 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (bool)(arg1
)->Enable(arg2
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14970 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "self", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
14979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 Py_INCREF(Py_None
); resultobj
= Py_None
;
14994 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 PyObject
* obj1
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "toggle", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15008 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= (bool)(arg1
)->SetToggle(arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15025 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15028 wxString
*arg2
= 0 ;
15030 bool temp2
= False
;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self",(char *) "help", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15040 arg2
= wxString_in_helper(obj1
);
15041 if (arg2
== NULL
) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15066 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15069 wxString
*arg2
= 0 ;
15071 bool temp2
= False
;
15072 PyObject
* obj0
= 0 ;
15073 PyObject
* obj1
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self",(char *) "help", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15081 arg2
= wxString_in_helper(obj1
);
15082 if (arg2
== NULL
) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15107 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15108 PyObject
*resultobj
;
15109 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15110 wxBitmap
*arg2
= 0 ;
15111 PyObject
* obj0
= 0 ;
15112 PyObject
* obj1
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "self",(char *) "bmp", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15120 if (arg2
== NULL
) {
15121 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 Py_INCREF(Py_None
); resultobj
= Py_None
;
15137 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15140 wxBitmap
*arg2
= 0 ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self",(char *) "bmp", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15150 if (arg2
== NULL
) {
15151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 Py_INCREF(Py_None
); resultobj
= Py_None
;
15167 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15170 wxString
*arg2
= 0 ;
15171 bool temp2
= False
;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self",(char *) "label", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15181 arg2
= wxString_in_helper(obj1
);
15182 if (arg2
== NULL
) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 (arg1
)->SetLabel((wxString
const &)*arg2
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 Py_INCREF(Py_None
); resultobj
= Py_None
;
15207 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 Py_INCREF(Py_None
); resultobj
= Py_None
;
15231 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15234 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 char *kwnames
[] = {
15238 (char *) "self",(char *) "tbar", NULL
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 (arg1
)->Attach(arg2
);
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15251 Py_INCREF(Py_None
); resultobj
= Py_None
;
15258 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= result
;
15283 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15286 PyObject
*arg2
= (PyObject
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self",(char *) "clientData", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 Py_INCREF(Py_None
); resultobj
= Py_None
;
15310 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15313 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15315 return Py_BuildValue((char *)"");
15317 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15321 wxString
*arg3
= 0 ;
15322 wxBitmap
*arg4
= 0 ;
15323 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15324 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15325 int arg6
= (int) wxITEM_NORMAL
;
15326 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15328 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15329 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15330 PyObject
*arg9
= (PyObject
*) NULL
;
15331 wxToolBarToolBase
*result
;
15332 bool temp3
= False
;
15333 bool temp7
= False
;
15334 bool temp8
= False
;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 PyObject
* obj2
= 0 ;
15338 PyObject
* obj3
= 0 ;
15339 PyObject
* obj4
= 0 ;
15340 PyObject
* obj5
= 0 ;
15341 PyObject
* obj6
= 0 ;
15342 PyObject
* obj7
= 0 ;
15343 PyObject
* obj8
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15351 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15355 arg3
= wxString_in_helper(obj2
);
15356 if (arg3
== NULL
) SWIG_fail
;
15359 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15360 if (arg4
== NULL
) {
15361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15364 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15365 if (arg5
== NULL
) {
15366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15371 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15377 arg7
= wxString_in_helper(obj6
);
15378 if (arg7
== NULL
) SWIG_fail
;
15384 arg8
= wxString_in_helper(obj7
);
15385 if (arg8
== NULL
) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= wxPyMake_wxObject(result
);
15432 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15437 wxString
*arg4
= 0 ;
15438 wxBitmap
*arg5
= 0 ;
15439 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15440 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15441 int arg7
= (int) wxITEM_NORMAL
;
15442 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15443 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15444 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15445 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15446 PyObject
*arg10
= (PyObject
*) NULL
;
15447 wxToolBarToolBase
*result
;
15448 bool temp4
= False
;
15449 bool temp8
= False
;
15450 bool temp9
= False
;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 PyObject
* obj2
= 0 ;
15454 PyObject
* obj3
= 0 ;
15455 PyObject
* obj4
= 0 ;
15456 PyObject
* obj5
= 0 ;
15457 PyObject
* obj6
= 0 ;
15458 PyObject
* obj7
= 0 ;
15459 PyObject
* obj8
= 0 ;
15460 PyObject
* obj9
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15468 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15472 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15476 arg4
= wxString_in_helper(obj3
);
15477 if (arg4
== NULL
) SWIG_fail
;
15480 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15481 if (arg5
== NULL
) {
15482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15485 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15486 if (arg6
== NULL
) {
15487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15492 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15498 arg8
= wxString_in_helper(obj7
);
15499 if (arg8
== NULL
) SWIG_fail
;
15505 arg9
= wxString_in_helper(obj8
);
15506 if (arg9
== NULL
) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 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
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= wxPyMake_wxObject(result
);
15553 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15556 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15557 wxToolBarToolBase
*result
;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self",(char *) "tool", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15566 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= wxPyMake_wxObject(result
);
15583 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15587 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15588 wxToolBarToolBase
*result
;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 PyObject
* obj2
= 0 ;
15592 char *kwnames
[] = {
15593 (char *) "self",(char *) "pos",(char *) "tool", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15599 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= wxPyMake_wxObject(result
);
15619 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15620 PyObject
*resultobj
;
15621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15622 wxControl
*arg2
= (wxControl
*) 0 ;
15623 wxToolBarToolBase
*result
;
15624 PyObject
* obj0
= 0 ;
15625 PyObject
* obj1
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self",(char *) "control", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15632 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= wxPyMake_wxObject(result
);
15649 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15653 wxControl
*arg3
= (wxControl
*) 0 ;
15654 wxToolBarToolBase
*result
;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 PyObject
* obj2
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self",(char *) "pos",(char *) "control", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15665 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15677 resultobj
= wxPyMake_wxObject(result
);
15685 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15690 PyObject
* obj0
= 0 ;
15691 PyObject
* obj1
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self",(char *) "id", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15699 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= wxPyMake_wxObject(result
);
15718 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15721 wxToolBarToolBase
*result
;
15722 PyObject
* obj0
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= wxPyMake_wxObject(result
);
15745 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15749 wxToolBarToolBase
*result
;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "pos", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15759 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15770 resultobj
= wxPyMake_wxObject(result
);
15778 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15782 wxToolBarToolBase
*result
;
15783 PyObject
* obj0
= 0 ;
15784 PyObject
* obj1
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "self",(char *) "id", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15792 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15803 resultobj
= wxPyMake_wxObject(result
);
15811 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 PyObject
* obj1
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self",(char *) "pos", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
15823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15825 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15842 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15847 PyObject
* obj0
= 0 ;
15848 PyObject
* obj1
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self",(char *) "id", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (bool)(arg1
)->DeleteTool(arg2
);
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15873 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15876 PyObject
* obj0
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 (arg1
)->ClearTools();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 Py_INCREF(Py_None
); resultobj
= Py_None
;
15897 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 char *kwnames
[] = {
15903 (char *) "self", NULL
15906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
15907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (bool)(arg1
)->Realize();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15922 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
;
15924 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15927 PyObject
* obj0
= 0 ;
15928 PyObject
* obj1
= 0 ;
15929 PyObject
* obj2
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "self",(char *) "id",(char *) "enable", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15937 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15941 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 (arg1
)->EnableTool(arg2
,arg3
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 Py_INCREF(Py_None
); resultobj
= Py_None
;
15958 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 PyObject
* obj2
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self",(char *) "id",(char *) "toggle", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15973 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15977 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 (arg1
)->ToggleTool(arg2
,arg3
);
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 Py_INCREF(Py_None
); resultobj
= Py_None
;
15994 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15996 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 PyObject
* obj2
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self",(char *) "id",(char *) "toggle", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16009 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16013 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 (arg1
)->SetToggle(arg2
,arg3
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 Py_INCREF(Py_None
); resultobj
= Py_None
;
16030 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "id", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16044 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= result
;
16061 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16065 PyObject
*arg3
= (PyObject
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 PyObject
* obj1
= 0 ;
16068 PyObject
* obj2
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self",(char *) "id",(char *) "clientData", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16076 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 Py_INCREF(Py_None
); resultobj
= Py_None
;
16094 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self",(char *) "id", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16108 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= SWIG_PyObj_FromInt((int)result
);
16125 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 PyObject
* obj1
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self",(char *) "id", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16139 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (bool)(arg1
)->GetToolState(arg2
);
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16156 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self",(char *) "id", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16170 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16187 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16191 wxString
*arg3
= 0 ;
16192 bool temp3
= False
;
16193 PyObject
* obj0
= 0 ;
16194 PyObject
* obj1
= 0 ;
16195 PyObject
* obj2
= 0 ;
16196 char *kwnames
[] = {
16197 (char *) "self",(char *) "id",(char *) "helpString", NULL
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16203 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 arg3
= wxString_in_helper(obj2
);
16208 if (arg3
== NULL
) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 Py_INCREF(Py_None
); resultobj
= Py_None
;
16233 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self",(char *) "id", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16247 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (arg1
)->GetToolShortHelp(arg2
);
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16270 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16274 wxString
*arg3
= 0 ;
16275 bool temp3
= False
;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj1
= 0 ;
16278 PyObject
* obj2
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "id",(char *) "helpString", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16286 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16290 arg3
= wxString_in_helper(obj2
);
16291 if (arg3
== NULL
) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 Py_INCREF(Py_None
); resultobj
= Py_None
;
16316 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self",(char *) "id", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16330 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (arg1
)->GetToolLongHelp(arg2
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16353 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 PyObject
* obj1
= 0 ;
16360 PyObject
* obj2
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self",(char *) "x",(char *) "y", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16368 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 (arg1
)->SetMargins(arg2
,arg3
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 Py_INCREF(Py_None
); resultobj
= Py_None
;
16389 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self",(char *) "size", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 Py_INCREF(Py_None
); resultobj
= Py_None
;
16420 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 PyObject
* obj1
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self",(char *) "packing", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16433 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 (arg1
)->SetToolPacking(arg2
);
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 Py_INCREF(Py_None
); resultobj
= Py_None
;
16450 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16454 PyObject
* obj0
= 0 ;
16455 PyObject
* obj1
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self",(char *) "separation", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16463 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 (arg1
)->SetToolSeparation(arg2
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (arg1
)->GetToolMargins();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 wxSize
* resultptr
;
16500 resultptr
= new wxSize((wxSize
&) result
);
16501 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16509 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (arg1
)->GetMargins();
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16528 wxSize
* resultptr
;
16529 resultptr
= new wxSize((wxSize
&) result
);
16530 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16538 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
;
16540 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 char *kwnames
[] = {
16544 (char *) "self", NULL
16547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (int)(arg1
)->GetToolPacking();
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= SWIG_PyObj_FromInt((int)result
);
16563 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (int)(arg1
)->GetToolSeparation();
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_PyObj_FromInt((int)result
);
16588 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self",(char *) "nRows", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16601 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 (arg1
)->SetRows(arg2
);
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 Py_INCREF(Py_None
); resultobj
= Py_None
;
16618 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 PyObject
* obj2
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self",(char *) "rows",(char *) "cols", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16633 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16637 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 Py_INCREF(Py_None
); resultobj
= Py_None
;
16654 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= (int)(arg1
)->GetMaxRows();
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= SWIG_PyObj_FromInt((int)result
);
16679 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (int)(arg1
)->GetMaxCols();
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_PyObj_FromInt((int)result
);
16704 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self",(char *) "size", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 Py_INCREF(Py_None
); resultobj
= Py_None
;
16735 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "self", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
16745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (arg1
)->GetToolBitmapSize();
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 wxSize
* resultptr
;
16755 resultptr
= new wxSize((wxSize
&) result
);
16756 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16764 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
16774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (arg1
)->GetToolSize();
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16783 wxSize
* resultptr
;
16784 resultptr
= new wxSize((wxSize
&) result
);
16785 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16793 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16798 wxToolBarToolBase
*result
;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "self",(char *) "x",(char *) "y", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16809 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16813 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= wxPyMake_wxObject(result
);
16832 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16836 wxToolBarToolBase
*result
;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self",(char *) "toolid", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
16844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16846 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= wxPyMake_wxObject(result
);
16865 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16869 PyObject
* obj0
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "self", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (bool)(arg1
)->IsVertical();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16890 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
16892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16893 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
16895 return Py_BuildValue((char *)"");
16897 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 wxWindow
*arg1
= (wxWindow
*) 0 ;
16901 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16902 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16903 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16904 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16905 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
16906 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
16907 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16911 bool temp6
= False
;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 PyObject
* obj2
= 0 ;
16915 PyObject
* obj3
= 0 ;
16916 PyObject
* obj4
= 0 ;
16917 PyObject
* obj5
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16925 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16937 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16942 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16948 arg6
= wxString_in_helper(obj5
);
16949 if (arg6
== NULL
) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= wxPyMake_wxObject(result
);
16977 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16980 char *kwnames
[] = {
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (wxToolBar
*)new wxToolBar();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= wxPyMake_wxObject(result
);
17001 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17004 wxWindow
*arg2
= (wxWindow
*) 0 ;
17006 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17007 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17008 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17009 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17010 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17011 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17016 bool temp7
= False
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 PyObject
* obj2
= 0 ;
17020 PyObject
* obj3
= 0 ;
17021 PyObject
* obj4
= 0 ;
17022 PyObject
* obj5
= 0 ;
17023 PyObject
* obj6
= 0 ;
17024 char *kwnames
[] = {
17025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17032 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17049 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17055 arg7
= wxString_in_helper(obj6
);
17056 if (arg7
== NULL
) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17082 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17087 wxToolBarToolBase
*result
;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 PyObject
* obj2
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self",(char *) "x",(char *) "y", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17098 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= wxPyMake_wxObject(result
);
17121 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17124 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17126 return Py_BuildValue((char *)"");
17128 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17129 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17134 static PyObject
*_wrap_ListCtrlNameStr_get() {
17139 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17141 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17148 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxColour
const &arg1_defvalue
= wxNullColour
;
17151 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17152 wxColour
const &arg2_defvalue
= wxNullColour
;
17153 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17154 wxFont
const &arg3_defvalue
= wxNullFont
;
17155 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17156 wxListItemAttr
*result
;
17159 PyObject
* obj0
= 0 ;
17160 PyObject
* obj1
= 0 ;
17161 PyObject
* obj2
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17170 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17176 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17180 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17181 if (arg3
== NULL
) {
17182 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17199 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17201 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17202 wxColour
*arg2
= 0 ;
17204 PyObject
* obj0
= 0 ;
17205 PyObject
* obj1
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self",(char *) "colText", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17214 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 Py_INCREF(Py_None
); resultobj
= Py_None
;
17230 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17233 wxColour
*arg2
= 0 ;
17235 PyObject
* obj0
= 0 ;
17236 PyObject
* obj1
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "self",(char *) "colBack", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17245 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 Py_INCREF(Py_None
); resultobj
= Py_None
;
17261 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self",(char *) "font", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17274 if (arg2
== NULL
) {
17275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 (arg1
)->SetFont((wxFont
const &)*arg2
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 Py_INCREF(Py_None
); resultobj
= Py_None
;
17291 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
;
17293 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17295 PyObject
* obj0
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "self", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (bool)(arg1
)->HasTextColour();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17316 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17320 PyObject
* obj0
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (bool)(arg1
)->HasBackgroundColour();
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17341 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (bool)(arg1
)->HasFont();
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17366 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17379 result
= (arg1
)->GetTextColour();
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17385 wxColour
* resultptr
;
17386 resultptr
= new wxColour((wxColour
&) result
);
17387 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17395 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 result
= (arg1
)->GetBackgroundColour();
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17414 wxColour
* resultptr
;
17415 resultptr
= new wxColour((wxColour
&) result
);
17416 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17424 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (arg1
)->GetFont();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 wxFont
* resultptr
;
17444 resultptr
= new wxFont((wxFont
&) result
);
17445 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17453 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 wxListItemAttr_Destroy(arg1
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 Py_INCREF(Py_None
); resultobj
= Py_None
;
17477 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17480 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17482 return Py_BuildValue((char *)"");
17484 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxListItem
*result
;
17487 char *kwnames
[] = {
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= (wxListItem
*)new wxListItem();
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= wxPyMake_wxObject(result
);
17508 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxListItem
*arg1
= (wxListItem
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 Py_INCREF(Py_None
); resultobj
= Py_None
;
17532 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxListItem
*arg1
= (wxListItem
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "self", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 Py_INCREF(Py_None
); resultobj
= Py_None
;
17556 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxListItem
*arg1
= (wxListItem
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 (arg1
)->ClearAttributes();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 Py_INCREF(Py_None
); resultobj
= Py_None
;
17580 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxListItem
*arg1
= (wxListItem
*) 0 ;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self",(char *) "mask", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17593 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 (arg1
)->SetMask(arg2
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 Py_INCREF(Py_None
); resultobj
= Py_None
;
17610 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxListItem
*arg1
= (wxListItem
*) 0 ;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self",(char *) "id", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17623 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 (arg1
)->SetId(arg2
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 Py_INCREF(Py_None
); resultobj
= Py_None
;
17640 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxListItem
*arg1
= (wxListItem
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self",(char *) "col", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17653 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 (arg1
)->SetColumn(arg2
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 Py_INCREF(Py_None
); resultobj
= Py_None
;
17670 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxListItem
*arg1
= (wxListItem
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self",(char *) "state", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17683 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 (arg1
)->SetState(arg2
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 Py_INCREF(Py_None
); resultobj
= Py_None
;
17700 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxListItem
*arg1
= (wxListItem
*) 0 ;
17704 PyObject
* obj0
= 0 ;
17705 PyObject
* obj1
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self",(char *) "stateMask", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17713 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 (arg1
)->SetStateMask(arg2
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 Py_INCREF(Py_None
); resultobj
= Py_None
;
17730 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxListItem
*arg1
= (wxListItem
*) 0 ;
17733 wxString
*arg2
= 0 ;
17734 bool temp2
= False
;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "text", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17744 arg2
= wxString_in_helper(obj1
);
17745 if (arg2
== NULL
) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->SetText((wxString
const &)*arg2
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 Py_INCREF(Py_None
); resultobj
= Py_None
;
17770 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxListItem
*arg1
= (wxListItem
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self",(char *) "image", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17783 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->SetImage(arg2
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 Py_INCREF(Py_None
); resultobj
= Py_None
;
17800 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxListItem
*arg1
= (wxListItem
*) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 char *kwnames
[] = {
17807 (char *) "self",(char *) "data", NULL
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17813 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 (arg1
)->SetData(arg2
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 Py_INCREF(Py_None
); resultobj
= Py_None
;
17830 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxListItem
*arg1
= (wxListItem
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 char *kwnames
[] = {
17837 (char *) "self",(char *) "width", NULL
17840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
17841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17843 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 (arg1
)->SetWidth(arg2
);
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 Py_INCREF(Py_None
); resultobj
= Py_None
;
17860 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxListItem
*arg1
= (wxListItem
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self",(char *) "align", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
17871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17873 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 Py_INCREF(Py_None
); resultobj
= Py_None
;
17890 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxListItem
*arg1
= (wxListItem
*) 0 ;
17893 wxColour
*arg2
= 0 ;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self",(char *) "colText", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17905 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 Py_INCREF(Py_None
); resultobj
= Py_None
;
17921 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxListItem
*arg1
= (wxListItem
*) 0 ;
17924 wxColour
*arg2
= 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self",(char *) "colBack", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17936 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 Py_INCREF(Py_None
); resultobj
= Py_None
;
17952 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxListItem
*arg1
= (wxListItem
*) 0 ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self",(char *) "font", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17965 if (arg2
== NULL
) {
17966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 (arg1
)->SetFont((wxFont
const &)*arg2
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 Py_INCREF(Py_None
); resultobj
= Py_None
;
17982 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxListItem
*arg1
= (wxListItem
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (long)(arg1
)->GetMask();
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= SWIG_PyObj_FromLong((long)result
);
18007 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxListItem
*arg1
= (wxListItem
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (long)(arg1
)->GetId();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= SWIG_PyObj_FromLong((long)result
);
18032 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxListItem
*arg1
= (wxListItem
*) 0 ;
18036 PyObject
* obj0
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (int)(arg1
)->GetColumn();
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_PyObj_FromInt((int)result
);
18057 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxListItem
*arg1
= (wxListItem
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (long)(arg1
)->GetState();
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_PyObj_FromLong((long)result
);
18082 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxListItem
*arg1
= (wxListItem
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 wxString
const &_result_ref
= (arg1
)->GetText();
18097 result
= (wxString
*) &_result_ref
;
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18107 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18116 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxListItem
*arg1
= (wxListItem
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= (int)(arg1
)->GetImage();
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_PyObj_FromInt((int)result
);
18141 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxListItem
*arg1
= (wxListItem
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (long)(arg1
)->GetData();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= SWIG_PyObj_FromLong((long)result
);
18166 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxListItem
*arg1
= (wxListItem
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (int)(arg1
)->GetWidth();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= SWIG_PyObj_FromInt((int)result
);
18191 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxListItem
*arg1
= (wxListItem
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (int)(arg1
)->GetAlign();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_PyObj_FromInt((int)result
);
18216 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxListItem
*arg1
= (wxListItem
*) 0 ;
18219 wxListItemAttr
*result
;
18220 PyObject
* obj0
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18241 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
;
18243 wxListItem
*arg1
= (wxListItem
*) 0 ;
18245 PyObject
* obj0
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "self", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (bool)(arg1
)->HasAttributes();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18266 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxListItem
*arg1
= (wxListItem
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18285 wxColour
* resultptr
;
18286 resultptr
= new wxColour((wxColour
&) result
);
18287 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18295 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxListItem
*arg1
= (wxListItem
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "self", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18314 wxColour
* resultptr
;
18315 resultptr
= new wxColour((wxColour
&) result
);
18316 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18324 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxListItem
*arg1
= (wxListItem
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= ((wxListItem
const *)arg1
)->GetFont();
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 wxFont
* resultptr
;
18344 resultptr
= new wxFont((wxFont
&) result
);
18345 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18353 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxListItem
*arg1
= (wxListItem
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self",(char *) "m_mask", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18366 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 if (arg1
) (arg1
)->m_mask
= arg2
;
18371 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxListItem
*arg1
= (wxListItem
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18389 result
= (long) ((arg1
)->m_mask
);
18391 resultobj
= SWIG_PyObj_FromLong((long)result
);
18398 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxListItem
*arg1
= (wxListItem
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "m_itemId", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18411 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 if (arg1
) (arg1
)->m_itemId
= arg2
;
18416 Py_INCREF(Py_None
); resultobj
= Py_None
;
18423 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxListItem
*arg1
= (wxListItem
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18434 result
= (long) ((arg1
)->m_itemId
);
18436 resultobj
= SWIG_PyObj_FromLong((long)result
);
18443 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
;
18445 wxListItem
*arg1
= (wxListItem
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 PyObject
* obj1
= 0 ;
18449 char *kwnames
[] = {
18450 (char *) "self",(char *) "m_col", NULL
18453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18456 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 if (arg1
) (arg1
)->m_col
= arg2
;
18461 Py_INCREF(Py_None
); resultobj
= Py_None
;
18468 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxListItem
*arg1
= (wxListItem
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18479 result
= (int) ((arg1
)->m_col
);
18481 resultobj
= SWIG_PyObj_FromInt((int)result
);
18488 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxListItem
*arg1
= (wxListItem
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self",(char *) "m_state", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18501 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 if (arg1
) (arg1
)->m_state
= arg2
;
18506 Py_INCREF(Py_None
); resultobj
= Py_None
;
18513 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxListItem
*arg1
= (wxListItem
*) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18524 result
= (long) ((arg1
)->m_state
);
18526 resultobj
= SWIG_PyObj_FromLong((long)result
);
18533 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxListItem
*arg1
= (wxListItem
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self",(char *) "m_stateMask", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18546 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18551 Py_INCREF(Py_None
); resultobj
= Py_None
;
18558 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxListItem
*arg1
= (wxListItem
*) 0 ;
18562 PyObject
* obj0
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18569 result
= (long) ((arg1
)->m_stateMask
);
18571 resultobj
= SWIG_PyObj_FromLong((long)result
);
18578 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxListItem
*arg1
= (wxListItem
*) 0 ;
18581 wxString
*arg2
= (wxString
*) 0 ;
18582 bool temp2
= False
;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self",(char *) "m_text", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18592 arg2
= wxString_in_helper(obj1
);
18593 if (arg2
== NULL
) SWIG_fail
;
18596 if (arg1
) (arg1
)->m_text
= *arg2
;
18598 Py_INCREF(Py_None
); resultobj
= Py_None
;
18613 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxListItem
*arg1
= (wxListItem
*) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18624 result
= (wxString
*)& ((arg1
)->m_text
);
18628 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18630 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18639 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxListItem
*arg1
= (wxListItem
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self",(char *) "m_image", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18652 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 if (arg1
) (arg1
)->m_image
= arg2
;
18657 Py_INCREF(Py_None
); resultobj
= Py_None
;
18664 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxListItem
*arg1
= (wxListItem
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18675 result
= (int) ((arg1
)->m_image
);
18677 resultobj
= SWIG_PyObj_FromInt((int)result
);
18684 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxListItem
*arg1
= (wxListItem
*) 0 ;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "self",(char *) "m_data", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18697 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 if (arg1
) (arg1
)->m_data
= arg2
;
18702 Py_INCREF(Py_None
); resultobj
= Py_None
;
18709 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxListItem
*arg1
= (wxListItem
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18720 result
= (long) ((arg1
)->m_data
);
18722 resultobj
= SWIG_PyObj_FromLong((long)result
);
18729 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
;
18731 wxListItem
*arg1
= (wxListItem
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "m_format", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18742 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 if (arg1
) (arg1
)->m_format
= arg2
;
18747 Py_INCREF(Py_None
); resultobj
= Py_None
;
18754 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 wxListItem
*arg1
= (wxListItem
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
18764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18765 result
= (int) ((arg1
)->m_format
);
18767 resultobj
= SWIG_PyObj_FromInt((int)result
);
18774 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxListItem
*arg1
= (wxListItem
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "m_width", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 if (arg1
) (arg1
)->m_width
= arg2
;
18792 Py_INCREF(Py_None
); resultobj
= Py_None
;
18799 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxListItem
*arg1
= (wxListItem
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18810 result
= (int) ((arg1
)->m_width
);
18812 resultobj
= SWIG_PyObj_FromInt((int)result
);
18819 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
18821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18822 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
18824 return Py_BuildValue((char *)"");
18826 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18829 int arg2
= (int) 0 ;
18830 wxListEvent
*result
;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "commandType",(char *) "id", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18840 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18846 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
18864 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 PyObject
* obj1
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self",(char *) "m_code", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18877 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 if (arg1
) (arg1
)->m_code
= arg2
;
18882 Py_INCREF(Py_None
); resultobj
= Py_None
;
18889 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18900 result
= (int) ((arg1
)->m_code
);
18902 resultobj
= SWIG_PyObj_FromInt((int)result
);
18909 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self",(char *) "m_oldItemIndex", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18922 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
18927 Py_INCREF(Py_None
); resultobj
= Py_None
;
18934 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
;
18936 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18938 PyObject
* obj0
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
18944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18945 result
= (long) ((arg1
)->m_oldItemIndex
);
18947 resultobj
= SWIG_PyObj_FromLong((long)result
);
18954 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self",(char *) "m_itemIndex", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18967 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
18972 Py_INCREF(Py_None
); resultobj
= Py_None
;
18979 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18983 PyObject
* obj0
= 0 ;
18984 char *kwnames
[] = {
18985 (char *) "self", NULL
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
18989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18990 result
= (long) ((arg1
)->m_itemIndex
);
18992 resultobj
= SWIG_PyObj_FromLong((long)result
);
18999 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 PyObject
* obj1
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self",(char *) "m_col", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19012 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 if (arg1
) (arg1
)->m_col
= arg2
;
19017 Py_INCREF(Py_None
); resultobj
= Py_None
;
19024 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19035 result
= (int) ((arg1
)->m_col
);
19037 resultobj
= SWIG_PyObj_FromInt((int)result
);
19044 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19047 wxPoint
*arg2
= (wxPoint
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self",(char *) "m_pointDrag", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19056 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19057 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19059 Py_INCREF(Py_None
); resultobj
= Py_None
;
19066 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19077 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19079 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19086 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19089 wxListItem
*result
;
19090 PyObject
* obj0
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "self", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19097 result
= (wxListItem
*)& ((arg1
)->m_item
);
19100 resultobj
= wxPyMake_wxObject(result
);
19108 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (int)(arg1
)->GetKeyCode();
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_PyObj_FromInt((int)result
);
19133 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= (long)(arg1
)->GetIndex();
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 resultobj
= SWIG_PyObj_FromLong((long)result
);
19158 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 result
= (int)(arg1
)->GetColumn();
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 resultobj
= SWIG_PyObj_FromInt((int)result
);
19183 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= (arg1
)->GetPoint();
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 wxPoint
* resultptr
;
19203 resultptr
= new wxPoint((wxPoint
&) result
);
19204 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19212 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 wxString
const &_result_ref
= (arg1
)->GetLabel();
19227 result
= (wxString
*) &_result_ref
;
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19237 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19246 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19248 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 wxString
const &_result_ref
= (arg1
)->GetText();
19261 result
= (wxString
*) &_result_ref
;
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19271 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19280 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "self", NULL
19289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (int)(arg1
)->GetImage();
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= SWIG_PyObj_FromInt((int)result
);
19305 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (long)(arg1
)->GetData();
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= SWIG_PyObj_FromLong((long)result
);
19330 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
;
19332 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19334 PyObject
* obj0
= 0 ;
19335 char *kwnames
[] = {
19336 (char *) "self", NULL
19339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 result
= (long)(arg1
)->GetMask();
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= SWIG_PyObj_FromLong((long)result
);
19355 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19358 wxListItem
*result
;
19359 PyObject
* obj0
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19370 result
= (wxListItem
*) &_result_ref
;
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19383 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= (long)(arg1
)->GetCacheFrom();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_PyObj_FromLong((long)result
);
19408 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19412 PyObject
* obj0
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 result
= (long)(arg1
)->GetCacheTo();
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= SWIG_PyObj_FromLong((long)result
);
19433 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
;
19435 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19437 PyObject
* obj0
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "self", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19458 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self",(char *) "editCancelled", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19471 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 (arg1
)->SetEditCanceled(arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19491 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19493 return Py_BuildValue((char *)"");
19495 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxWindow
*arg1
= (wxWindow
*) 0 ;
19498 int arg2
= (int) -1 ;
19499 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19500 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19501 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19502 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19503 long arg5
= (long) wxLC_ICON
;
19504 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19505 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19506 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19507 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19508 wxPyListCtrl
*result
;
19511 bool temp7
= False
;
19512 PyObject
* obj0
= 0 ;
19513 PyObject
* obj1
= 0 ;
19514 PyObject
* obj2
= 0 ;
19515 PyObject
* obj3
= 0 ;
19516 PyObject
* obj4
= 0 ;
19517 PyObject
* obj5
= 0 ;
19518 PyObject
* obj6
= 0 ;
19519 char *kwnames
[] = {
19520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19527 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19540 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19545 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19550 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19551 if (arg6
== NULL
) {
19552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19557 arg7
= wxString_in_helper(obj6
);
19558 if (arg7
== NULL
) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19584 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxPyListCtrl
*result
;
19587 char *kwnames
[] = {
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19606 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19609 wxWindow
*arg2
= (wxWindow
*) 0 ;
19610 int arg3
= (int) -1 ;
19611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19615 long arg6
= (long) wxLC_ICON
;
19616 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19617 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19618 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19619 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19623 bool temp8
= False
;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 PyObject
* obj2
= 0 ;
19627 PyObject
* obj3
= 0 ;
19628 PyObject
* obj4
= 0 ;
19629 PyObject
* obj5
= 0 ;
19630 PyObject
* obj6
= 0 ;
19631 PyObject
* obj7
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19641 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19648 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19654 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19659 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19664 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19665 if (arg7
== NULL
) {
19666 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19671 arg8
= wxString_in_helper(obj7
);
19672 if (arg8
== NULL
) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19698 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19701 PyObject
*arg2
= (PyObject
*) 0 ;
19702 PyObject
*arg3
= (PyObject
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 PyObject
* obj2
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self",(char *) "self",(char *) "_class", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 Py_INCREF(Py_None
); resultobj
= Py_None
;
19728 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19731 wxColour
*arg2
= 0 ;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self",(char *) "col", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19760 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19763 wxColour
*arg2
= 0 ;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self",(char *) "col", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19792 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19796 wxListItem
*result
;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "col", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19806 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= wxPyMake_wxObject(result
);
19825 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
;
19827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19829 wxListItem
*arg3
= 0 ;
19831 PyObject
* obj0
= 0 ;
19832 PyObject
* obj1
= 0 ;
19833 PyObject
* obj2
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "col",(char *) "item", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19841 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19845 if (arg3
== NULL
) {
19846 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19862 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self",(char *) "col", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19876 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= SWIG_PyObj_FromInt((int)result
);
19893 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 PyObject
* obj1
= 0 ;
19901 PyObject
* obj2
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self",(char *) "col",(char *) "width", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19909 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19930 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= SWIG_PyObj_FromInt((int)result
);
19955 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
19965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 wxRect
* resultptr
;
19975 resultptr
= new wxRect((wxRect
&) result
);
19976 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19984 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19988 int arg3
= (int) 0 ;
19989 wxListItem
*result
;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 PyObject
* obj2
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self",(char *) "itemId",(char *) "col", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20000 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20005 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= wxPyMake_wxObject(result
);
20025 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
;
20027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20028 wxListItem
*arg2
= 0 ;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self",(char *) "info", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20039 if (arg2
== NULL
) {
20040 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= (bool)(arg1
)->SetItem(*arg2
);
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20056 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20061 wxString
*arg4
= 0 ;
20062 int arg5
= (int) -1 ;
20064 bool temp4
= False
;
20065 PyObject
* obj0
= 0 ;
20066 PyObject
* obj1
= 0 ;
20067 PyObject
* obj2
= 0 ;
20068 PyObject
* obj3
= 0 ;
20069 PyObject
* obj4
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20077 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20081 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20085 arg4
= wxString_in_helper(obj3
);
20086 if (arg4
== NULL
) SWIG_fail
;
20091 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 resultobj
= SWIG_PyObj_FromLong((long)result
);
20117 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
;
20119 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 PyObject
* obj2
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20133 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20137 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20147 resultobj
= SWIG_PyObj_FromInt((int)result
);
20154 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20155 PyObject
*resultobj
;
20156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 PyObject
* obj2
= 0 ;
20164 PyObject
* obj3
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20172 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20176 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20197 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 PyObject
* obj1
= 0 ;
20206 PyObject
* obj2
= 0 ;
20207 PyObject
* obj3
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20215 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20219 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20223 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20240 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self",(char *) "item", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20254 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20277 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20281 wxString
*arg3
= 0 ;
20282 bool temp3
= False
;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 PyObject
* obj2
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "self",(char *) "item",(char *) "str", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20293 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20297 arg3
= wxString_in_helper(obj2
);
20298 if (arg3
== NULL
) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 Py_INCREF(Py_None
); resultobj
= Py_None
;
20323 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "self",(char *) "item", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20337 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= SWIG_PyObj_FromLong((long)result
);
20354 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 PyObject
* obj2
= 0 ;
20363 char *kwnames
[] = {
20364 (char *) "self",(char *) "item",(char *) "data", NULL
20367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20370 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20374 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20391 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
;
20393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20396 PyObject
* obj0
= 0 ;
20397 PyObject
* obj1
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "self",(char *) "item", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20405 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20416 wxPoint
* resultptr
;
20417 resultptr
= new wxPoint((wxPoint
&) result
);
20418 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20426 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20430 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20432 PyObject
* obj0
= 0 ;
20433 PyObject
* obj1
= 0 ;
20434 PyObject
* obj2
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "item",(char *) "code", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20442 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20447 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 wxRect
* resultptr
;
20460 resultptr
= new wxRect((wxRect
&) result
);
20461 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20469 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20473 wxPoint
*arg3
= 0 ;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 PyObject
* obj2
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self",(char *) "item",(char *) "pos", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20486 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20507 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
;
20509 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "self", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= SWIG_PyObj_FromInt((int)result
);
20532 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_PyObj_FromInt((int)result
);
20557 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20561 PyObject
* obj0
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 wxSize
* resultptr
;
20577 resultptr
= new wxSize((wxSize
&) result
);
20578 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20586 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20590 bool arg3
= (bool) False
;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 PyObject
* obj2
= 0 ;
20594 char *kwnames
[] = {
20595 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20601 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20606 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 (arg1
)->SetItemSpacing(arg2
,arg3
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 Py_INCREF(Py_None
); resultobj
= Py_None
;
20624 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20628 PyObject
* obj0
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "self", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= SWIG_PyObj_FromInt((int)result
);
20649 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20668 wxColour
* resultptr
;
20669 resultptr
= new wxColour((wxColour
&) result
);
20670 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20678 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
;
20680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20681 wxColour
*arg2
= 0 ;
20683 PyObject
* obj0
= 0 ;
20684 PyObject
* obj1
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self",(char *) "col", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20693 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20702 Py_INCREF(Py_None
); resultobj
= Py_None
;
20709 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20713 PyObject
* obj0
= 0 ;
20714 char *kwnames
[] = {
20715 (char *) "self", NULL
20718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= SWIG_PyObj_FromLong((long)result
);
20734 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20738 bool arg3
= (bool) True
;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20741 PyObject
* obj2
= 0 ;
20742 char *kwnames
[] = {
20743 (char *) "self",(char *) "style",(char *) "add", NULL
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20749 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20754 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 (arg1
)->SetSingleStyle(arg2
,arg3
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 Py_INCREF(Py_None
); resultobj
= Py_None
;
20772 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self",(char *) "style", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20785 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 (arg1
)->SetWindowStyleFlag(arg2
);
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 Py_INCREF(Py_None
); resultobj
= Py_None
;
20802 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
;
20804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20806 int arg3
= (int) wxLIST_NEXT_ALL
;
20807 int arg4
= (int) wxLIST_STATE_DONTCARE
;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 PyObject
* obj2
= 0 ;
20812 PyObject
* obj3
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20820 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20825 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20831 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 resultobj
= SWIG_PyObj_FromLong((long)result
);
20849 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20853 wxImageList
*result
;
20854 PyObject
* obj0
= 0 ;
20855 PyObject
* obj1
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self",(char *) "which", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20863 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= wxPyMake_wxObject(result
);
20882 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20885 wxImageList
*arg2
= (wxImageList
*) 0 ;
20887 PyObject
* obj0
= 0 ;
20888 PyObject
* obj1
= 0 ;
20889 PyObject
* obj2
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self",(char *) "imageList",(char *) "which", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20898 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 (arg1
)->SetImageList(arg2
,arg3
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 Py_INCREF(Py_None
); resultobj
= Py_None
;
20915 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20918 wxImageList
*arg2
= (wxImageList
*) 0 ;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 PyObject
* obj2
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self",(char *) "imageList",(char *) "which", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20931 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 (arg1
)->AssignImageList(arg2
,arg3
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 Py_INCREF(Py_None
); resultobj
= Py_None
;
20948 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20973 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self",(char *) "item", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20986 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 (arg1
)->RefreshItem(arg2
);
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20996 Py_INCREF(Py_None
); resultobj
= Py_None
;
21003 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21004 PyObject
*resultobj
;
21005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 PyObject
* obj2
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21018 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21022 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 (arg1
)->RefreshItems(arg2
,arg3
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 Py_INCREF(Py_None
); resultobj
= Py_None
;
21039 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21042 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21044 PyObject
* obj0
= 0 ;
21045 PyObject
* obj1
= 0 ;
21046 char *kwnames
[] = {
21047 (char *) "self",(char *) "flag", NULL
21050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21054 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (bool)(arg1
)->Arrange(arg2
);
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21072 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 PyObject
* obj1
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self",(char *) "item", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21086 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (bool)(arg1
)->DeleteItem(arg2
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21103 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 char *kwnames
[] = {
21109 (char *) "self", NULL
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (bool)(arg1
)->DeleteAllItems();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21128 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "self",(char *) "col", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21142 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21159 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (bool)(arg1
)->DeleteAllColumns();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21184 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "self", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 (arg1
)->ClearAll();
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 Py_INCREF(Py_None
); resultobj
= Py_None
;
21208 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self",(char *) "item", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21221 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 (arg1
)->EditLabel(arg2
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 Py_INCREF(Py_None
); resultobj
= Py_None
;
21238 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self",(char *) "item", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21252 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21269 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21273 wxString
*arg3
= 0 ;
21274 bool arg4
= (bool) False
;
21276 bool temp3
= False
;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 PyObject
* obj2
= 0 ;
21280 PyObject
* obj3
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21288 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21292 arg3
= wxString_in_helper(obj2
);
21293 if (arg3
== NULL
) SWIG_fail
;
21298 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= SWIG_PyObj_FromLong((long)result
);
21324 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 PyObject
* obj2
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self",(char *) "start",(char *) "data", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21340 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21344 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_PyObj_FromLong((long)result
);
21361 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21365 wxPoint
*arg3
= 0 ;
21369 PyObject
* obj0
= 0 ;
21370 PyObject
* obj1
= 0 ;
21371 PyObject
* obj2
= 0 ;
21372 PyObject
* obj3
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21380 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21385 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21388 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= SWIG_PyObj_FromLong((long)result
);
21405 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21408 wxPoint
*arg2
= 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "point", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_PyObj_FromLong((long)result
);
21435 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21436 resultobj
= t_output_helper(resultobj
,o
);
21444 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21447 wxListItem
*arg2
= 0 ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self",(char *) "info", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21457 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21458 if (arg2
== NULL
) {
21459 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 result
= (long)(arg1
)->InsertItem(*arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_PyObj_FromLong((long)result
);
21475 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21479 wxString
*arg3
= 0 ;
21481 bool temp3
= False
;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 PyObject
* obj2
= 0 ;
21485 char *kwnames
[] = {
21486 (char *) "self",(char *) "index",(char *) "label", NULL
21489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21492 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 arg3
= wxString_in_helper(obj2
);
21497 if (arg3
== NULL
) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_PyObj_FromLong((long)result
);
21522 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21528 PyObject
* obj0
= 0 ;
21529 PyObject
* obj1
= 0 ;
21530 PyObject
* obj2
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21538 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21542 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_PyObj_FromLong((long)result
);
21559 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21563 wxString
*arg3
= 0 ;
21566 bool temp3
= False
;
21567 PyObject
* obj0
= 0 ;
21568 PyObject
* obj1
= 0 ;
21569 PyObject
* obj2
= 0 ;
21570 PyObject
* obj3
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21578 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21582 arg3
= wxString_in_helper(obj2
);
21583 if (arg3
== NULL
) SWIG_fail
;
21587 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= SWIG_PyObj_FromLong((long)result
);
21612 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21616 wxListItem
*arg3
= 0 ;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 PyObject
* obj2
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "col",(char *) "info", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21628 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21632 if (arg3
== NULL
) {
21633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= SWIG_PyObj_FromLong((long)result
);
21649 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21653 wxString
*arg3
= 0 ;
21654 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21655 int arg5
= (int) -1 ;
21657 bool temp3
= False
;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 PyObject
* obj2
= 0 ;
21661 PyObject
* obj3
= 0 ;
21662 PyObject
* obj4
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21670 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 arg3
= wxString_in_helper(obj2
);
21675 if (arg3
== NULL
) SWIG_fail
;
21680 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21686 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 resultobj
= SWIG_PyObj_FromLong((long)result
);
21712 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self",(char *) "count", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21725 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 (arg1
)->SetItemCount(arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 Py_INCREF(Py_None
); resultobj
= Py_None
;
21742 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
;
21744 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 PyObject
* obj2
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self",(char *) "dx",(char *) "dy", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21758 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21762 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21779 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21783 wxColour
*arg3
= 0 ;
21785 PyObject
* obj0
= 0 ;
21786 PyObject
* obj1
= 0 ;
21787 PyObject
* obj2
= 0 ;
21788 char *kwnames
[] = {
21789 (char *) "self",(char *) "item",(char *) "col", NULL
21792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21795 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21800 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 Py_INCREF(Py_None
); resultobj
= Py_None
;
21816 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21821 PyObject
* obj0
= 0 ;
21822 PyObject
* obj1
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "item", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21830 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21841 wxColour
* resultptr
;
21842 resultptr
= new wxColour((wxColour
&) result
);
21843 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21851 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
;
21853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21855 wxColour
*arg3
= 0 ;
21857 PyObject
* obj0
= 0 ;
21858 PyObject
* obj1
= 0 ;
21859 PyObject
* obj2
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "item",(char *) "col", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21867 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21872 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 Py_INCREF(Py_None
); resultobj
= Py_None
;
21888 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21893 PyObject
* obj0
= 0 ;
21894 PyObject
* obj1
= 0 ;
21895 char *kwnames
[] = {
21896 (char *) "self",(char *) "item", NULL
21899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21902 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21913 wxColour
* resultptr
;
21914 resultptr
= new wxColour((wxColour
&) result
);
21915 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21923 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
;
21925 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21926 PyObject
*arg2
= (PyObject
*) 0 ;
21928 PyObject
* obj0
= 0 ;
21929 PyObject
* obj1
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self",(char *) "func", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
21935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21951 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
;
21953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21955 PyObject
* obj0
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
21961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= wxPyMake_wxObject(result
);
21978 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
21980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21981 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
21983 return Py_BuildValue((char *)"");
21985 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxWindow
*arg1
= (wxWindow
*) 0 ;
21988 int arg2
= (int) -1 ;
21989 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21990 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21991 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21992 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21993 long arg5
= (long) wxLC_REPORT
;
21994 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21995 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21996 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21997 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21998 wxListView
*result
;
22001 bool temp7
= False
;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 PyObject
* obj2
= 0 ;
22005 PyObject
* obj3
= 0 ;
22006 PyObject
* obj4
= 0 ;
22007 PyObject
* obj5
= 0 ;
22008 PyObject
* obj6
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22017 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22024 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22030 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22035 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22040 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22041 if (arg6
== NULL
) {
22042 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22047 arg7
= wxString_in_helper(obj6
);
22048 if (arg7
== NULL
) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22074 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22075 PyObject
*resultobj
;
22076 wxListView
*result
;
22077 char *kwnames
[] = {
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 result
= (wxListView
*)new wxListView();
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22096 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
;
22098 wxListView
*arg1
= (wxListView
*) 0 ;
22099 wxWindow
*arg2
= (wxWindow
*) 0 ;
22100 int arg3
= (int) -1 ;
22101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22105 long arg6
= (long) wxLC_REPORT
;
22106 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22107 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22108 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22113 bool temp8
= False
;
22114 PyObject
* obj0
= 0 ;
22115 PyObject
* obj1
= 0 ;
22116 PyObject
* obj2
= 0 ;
22117 PyObject
* obj3
= 0 ;
22118 PyObject
* obj4
= 0 ;
22119 PyObject
* obj5
= 0 ;
22120 PyObject
* obj6
= 0 ;
22121 PyObject
* obj7
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22128 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22131 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22149 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22154 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22155 if (arg7
== NULL
) {
22156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22161 arg8
= wxString_in_helper(obj7
);
22162 if (arg8
== NULL
) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22188 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxListView
*arg1
= (wxListView
*) 0 ;
22192 bool arg3
= (bool) True
;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 PyObject
* obj2
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "n",(char *) "on", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22203 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22208 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 (arg1
)->Select(arg2
,arg3
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 Py_INCREF(Py_None
); resultobj
= Py_None
;
22226 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxListView
*arg1
= (wxListView
*) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self",(char *) "index", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22239 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 (arg1
)->Focus(arg2
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 Py_INCREF(Py_None
); resultobj
= Py_None
;
22256 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxListView
*arg1
= (wxListView
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= SWIG_PyObj_FromLong((long)result
);
22281 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxListView
*arg1
= (wxListView
*) 0 ;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self",(char *) "item", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22295 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= SWIG_PyObj_FromLong((long)result
);
22312 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxListView
*arg1
= (wxListView
*) 0 ;
22316 PyObject
* obj0
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= SWIG_PyObj_FromLong((long)result
);
22337 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxListView
*arg1
= (wxListView
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self",(char *) "index", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22351 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (bool)(arg1
)->IsSelected(arg2
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22368 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxListView
*arg1
= (wxListView
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 PyObject
* obj2
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self",(char *) "col",(char *) "image", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22383 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22387 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 (arg1
)->SetColumnImage(arg2
,arg3
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 Py_INCREF(Py_None
); resultobj
= Py_None
;
22404 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxListView
*arg1
= (wxListView
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self",(char *) "col", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22417 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 (arg1
)->ClearColumnImage(arg2
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 Py_INCREF(Py_None
); resultobj
= Py_None
;
22434 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22437 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22439 return Py_BuildValue((char *)"");
22441 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
22442 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22447 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22452 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22454 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22461 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxTreeItemId
*result
;
22464 char *kwnames
[] = {
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (wxTreeItemId
*)new wxTreeItemId();
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22483 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 Py_INCREF(Py_None
); resultobj
= Py_None
;
22507 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22511 PyObject
* obj0
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22532 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22535 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "other", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22560 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22563 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self",(char *) "other", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22573 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22588 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
;
22590 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22591 void *arg2
= (void *) 0 ;
22592 PyObject
* obj0
= 0 ;
22593 PyObject
* obj1
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "m_pItem", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22601 if (arg1
) (arg1
)->m_pItem
= arg2
;
22603 Py_INCREF(Py_None
); resultobj
= Py_None
;
22610 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22621 result
= (void *) ((arg1
)->m_pItem
);
22623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22630 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22633 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22635 return Py_BuildValue((char *)"");
22637 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 PyObject
*arg1
= (PyObject
*) NULL
;
22640 wxPyTreeItemData
*result
;
22641 PyObject
* obj0
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "obj", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
22664 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (PyObject
*)(arg1
)->GetData();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= result
;
22689 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22692 PyObject
*arg2
= (PyObject
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self",(char *) "obj", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 (arg1
)->SetData(arg2
);
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 Py_INCREF(Py_None
); resultobj
= Py_None
;
22716 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22719 wxTreeItemId
*result
;
22720 PyObject
* obj0
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
22726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
22731 result
= (wxTreeItemId
*) &_result_ref
;
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
22744 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22747 wxTreeItemId
*arg2
= 0 ;
22748 PyObject
* obj0
= 0 ;
22749 PyObject
* obj1
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self",(char *) "id", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22757 if (arg2
== NULL
) {
22758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 Py_INCREF(Py_None
); resultobj
= Py_None
;
22774 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
22783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 wxPyTreeItemData_Destroy(arg1
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 Py_INCREF(Py_None
); resultobj
= Py_None
;
22798 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
22800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22801 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
22803 return Py_BuildValue((char *)"");
22805 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
;
22807 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22808 int arg2
= (int) 0 ;
22809 wxTreeEvent
*result
;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "commandType",(char *) "id", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22819 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22825 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
22843 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22846 wxTreeItemId result
;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
22853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22862 wxTreeItemId
* resultptr
;
22863 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22872 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22874 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22875 wxTreeItemId
*arg2
= 0 ;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self",(char *) "item", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22885 if (arg2
== NULL
) {
22886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22890 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 Py_INCREF(Py_None
); resultobj
= Py_None
;
22902 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22905 wxTreeItemId result
;
22906 PyObject
* obj0
= 0 ;
22907 char *kwnames
[] = {
22908 (char *) "self", NULL
22911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
22912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22921 wxTreeItemId
* resultptr
;
22922 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22923 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22931 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22934 wxTreeItemId
*arg2
= 0 ;
22935 PyObject
* obj0
= 0 ;
22936 PyObject
* obj1
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self",(char *) "item", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22944 if (arg2
== NULL
) {
22945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 Py_INCREF(Py_None
); resultobj
= Py_None
;
22961 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22965 PyObject
* obj0
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 wxPoint
* resultptr
;
22981 resultptr
= new wxPoint((wxPoint
&) result
);
22982 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22990 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
;
22992 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22993 wxPoint
*arg2
= 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self",(char *) "pt", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23005 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 Py_INCREF(Py_None
); resultobj
= Py_None
;
23021 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23024 wxKeyEvent
*result
;
23025 PyObject
* obj0
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23036 result
= (wxKeyEvent
*) &_result_ref
;
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23049 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23053 PyObject
* obj0
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_PyObj_FromInt((int)result
);
23074 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23075 PyObject
*resultobj
;
23076 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23077 wxKeyEvent
*arg2
= 0 ;
23078 PyObject
* obj0
= 0 ;
23079 PyObject
* obj1
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self",(char *) "evt", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23087 if (arg2
== NULL
) {
23088 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 Py_INCREF(Py_None
); resultobj
= Py_None
;
23104 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
;
23106 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23108 PyObject
* obj0
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23119 result
= (wxString
*) &_result_ref
;
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23129 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23138 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23141 wxString
*arg2
= 0 ;
23142 bool temp2
= False
;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "label", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23152 arg2
= wxString_in_helper(obj1
);
23153 if (arg2
== NULL
) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 (arg1
)->SetLabel((wxString
const &)*arg2
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 Py_INCREF(Py_None
); resultobj
= Py_None
;
23178 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23182 PyObject
* obj0
= 0 ;
23183 char *kwnames
[] = {
23184 (char *) "self", NULL
23187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23203 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self",(char *) "editCancelled", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23216 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 (arg1
)->SetEditCanceled(arg2
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 Py_INCREF(Py_None
); resultobj
= Py_None
;
23233 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23236 wxString
*arg2
= 0 ;
23237 bool temp2
= False
;
23238 PyObject
* obj0
= 0 ;
23239 PyObject
* obj1
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self",(char *) "toolTip", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23247 arg2
= wxString_in_helper(obj1
);
23248 if (arg2
== NULL
) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 Py_INCREF(Py_None
); resultobj
= Py_None
;
23273 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23276 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23278 return Py_BuildValue((char *)"");
23280 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxWindow
*arg1
= (wxWindow
*) 0 ;
23283 int arg2
= (int) -1 ;
23284 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23285 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23286 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23287 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23288 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23289 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23290 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23291 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23292 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23293 wxPyTreeCtrl
*result
;
23296 bool temp7
= False
;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 PyObject
* obj2
= 0 ;
23300 PyObject
* obj3
= 0 ;
23301 PyObject
* obj4
= 0 ;
23302 PyObject
* obj5
= 0 ;
23303 PyObject
* obj6
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23312 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23319 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23325 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23330 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23335 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23336 if (arg6
== NULL
) {
23337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23342 arg7
= wxString_in_helper(obj6
);
23343 if (arg7
== NULL
) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= wxPyMake_wxObject(result
);
23371 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxPyTreeCtrl
*result
;
23374 char *kwnames
[] = {
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= wxPyMake_wxObject(result
);
23395 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23398 wxWindow
*arg2
= (wxWindow
*) 0 ;
23399 int arg3
= (int) -1 ;
23400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23404 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23405 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23406 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23407 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23408 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23412 bool temp8
= False
;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 PyObject
* obj3
= 0 ;
23417 PyObject
* obj4
= 0 ;
23418 PyObject
* obj5
= 0 ;
23419 PyObject
* obj6
= 0 ;
23420 PyObject
* obj7
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23430 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23448 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23453 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23454 if (arg7
== NULL
) {
23455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23460 arg8
= wxString_in_helper(obj7
);
23461 if (arg8
== NULL
) SWIG_fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23487 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23490 PyObject
*arg2
= (PyObject
*) 0 ;
23491 PyObject
*arg3
= (PyObject
*) 0 ;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 PyObject
* obj2
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "self",(char *) "_class", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23510 Py_INCREF(Py_None
); resultobj
= Py_None
;
23517 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
;
23519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23521 PyObject
* obj0
= 0 ;
23522 char *kwnames
[] = {
23523 (char *) "self", NULL
23526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23542 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23545 unsigned int result
;
23546 PyObject
* obj0
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23567 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23570 unsigned int arg2
;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self",(char *) "indent", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23580 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 (arg1
)->SetIndent(arg2
);
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 Py_INCREF(Py_None
); resultobj
= Py_None
;
23597 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23600 unsigned int result
;
23601 PyObject
* obj0
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23622 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23625 unsigned int arg2
;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "spacing", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23635 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 (arg1
)->SetSpacing(arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23655 wxImageList
*result
;
23656 PyObject
* obj0
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= wxPyMake_wxObject(result
);
23679 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23682 wxImageList
*result
;
23683 PyObject
* obj0
= 0 ;
23684 char *kwnames
[] = {
23685 (char *) "self", NULL
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23698 resultobj
= wxPyMake_wxObject(result
);
23706 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23709 wxImageList
*arg2
= (wxImageList
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 PyObject
* obj1
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self",(char *) "imageList", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 (arg1
)->SetImageList(arg2
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 Py_INCREF(Py_None
); resultobj
= Py_None
;
23733 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
;
23735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23736 wxImageList
*arg2
= (wxImageList
*) 0 ;
23737 PyObject
* obj0
= 0 ;
23738 PyObject
* obj1
= 0 ;
23739 char *kwnames
[] = {
23740 (char *) "self",(char *) "imageList", NULL
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 (arg1
)->SetStateImageList(arg2
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 Py_INCREF(Py_None
); resultobj
= Py_None
;
23760 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23763 wxImageList
*arg2
= (wxImageList
*) 0 ;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self",(char *) "imageList", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 (arg1
)->AssignImageList(arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 Py_INCREF(Py_None
); resultobj
= Py_None
;
23787 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23790 wxImageList
*arg2
= (wxImageList
*) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 PyObject
* obj1
= 0 ;
23793 char *kwnames
[] = {
23794 (char *) "self",(char *) "imageList", NULL
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 (arg1
)->AssignStateImageList(arg2
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 Py_INCREF(Py_None
); resultobj
= Py_None
;
23814 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23817 wxTreeItemId
*arg2
= 0 ;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "self",(char *) "item", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
23826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23827 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23828 if (arg2
== NULL
) {
23829 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23851 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23854 wxTreeItemId
*arg2
= 0 ;
23855 int arg3
= (int) wxTreeItemIcon_Normal
;
23857 PyObject
* obj0
= 0 ;
23858 PyObject
* obj1
= 0 ;
23859 PyObject
* obj2
= 0 ;
23860 char *kwnames
[] = {
23861 (char *) "self",(char *) "item",(char *) "which", NULL
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23867 if (arg2
== NULL
) {
23868 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23872 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_PyObj_FromInt((int)result
);
23890 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23893 wxTreeItemId
*arg2
= 0 ;
23894 wxPyTreeItemData
*result
;
23895 PyObject
* obj0
= 0 ;
23896 PyObject
* obj1
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "self",(char *) "item", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
23902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23904 if (arg2
== NULL
) {
23905 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
23921 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23924 wxTreeItemId
*arg2
= 0 ;
23926 PyObject
* obj0
= 0 ;
23927 PyObject
* obj1
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "self",(char *) "item", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
23933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23935 if (arg2
== NULL
) {
23936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= result
;
23952 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23955 wxTreeItemId
*arg2
= 0 ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self",(char *) "item", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23965 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23966 if (arg2
== NULL
) {
23967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23977 wxColour
* resultptr
;
23978 resultptr
= new wxColour((wxColour
&) result
);
23979 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
23987 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
;
23989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23990 wxTreeItemId
*arg2
= 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "item", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24001 if (arg2
== NULL
) {
24002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24012 wxColour
* resultptr
;
24013 resultptr
= new wxColour((wxColour
&) result
);
24014 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24022 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24025 wxTreeItemId
*arg2
= 0 ;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self",(char *) "item", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24035 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24036 if (arg2
== NULL
) {
24037 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 wxFont
* resultptr
;
24048 resultptr
= new wxFont((wxFont
&) result
);
24049 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24057 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24060 wxTreeItemId
*arg2
= 0 ;
24061 wxString
*arg3
= 0 ;
24062 bool temp3
= False
;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 PyObject
* obj2
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "item",(char *) "text", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24073 if (arg2
== NULL
) {
24074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24077 arg3
= wxString_in_helper(obj2
);
24078 if (arg3
== NULL
) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 Py_INCREF(Py_None
); resultobj
= Py_None
;
24103 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24106 wxTreeItemId
*arg2
= 0 ;
24108 int arg4
= (int) wxTreeItemIcon_Normal
;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24111 PyObject
* obj2
= 0 ;
24112 PyObject
* obj3
= 0 ;
24113 char *kwnames
[] = {
24114 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24120 if (arg2
== NULL
) {
24121 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24124 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24129 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24150 wxTreeItemId
*arg2
= 0 ;
24151 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 PyObject
* obj2
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "item",(char *) "data", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24162 if (arg2
== NULL
) {
24163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24165 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 Py_INCREF(Py_None
); resultobj
= Py_None
;
24180 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24183 wxTreeItemId
*arg2
= 0 ;
24184 PyObject
*arg3
= (PyObject
*) 0 ;
24185 PyObject
* obj0
= 0 ;
24186 PyObject
* obj1
= 0 ;
24187 PyObject
* obj2
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self",(char *) "item",(char *) "obj", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24194 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24195 if (arg2
== NULL
) {
24196 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 Py_INCREF(Py_None
); resultobj
= Py_None
;
24213 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24216 wxTreeItemId
*arg2
= 0 ;
24217 bool arg3
= (bool) True
;
24218 PyObject
* obj0
= 0 ;
24219 PyObject
* obj1
= 0 ;
24220 PyObject
* obj2
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self",(char *) "item",(char *) "has", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24228 if (arg2
== NULL
) {
24229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24233 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24239 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 Py_INCREF(Py_None
); resultobj
= Py_None
;
24251 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24254 wxTreeItemId
*arg2
= 0 ;
24255 bool arg3
= (bool) True
;
24256 PyObject
* obj0
= 0 ;
24257 PyObject
* obj1
= 0 ;
24258 PyObject
* obj2
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self",(char *) "item",(char *) "bold", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24266 if (arg2
== NULL
) {
24267 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24271 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 Py_INCREF(Py_None
); resultobj
= Py_None
;
24289 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24292 wxTreeItemId
*arg2
= 0 ;
24293 wxColour
*arg3
= 0 ;
24295 PyObject
* obj0
= 0 ;
24296 PyObject
* obj1
= 0 ;
24297 PyObject
* obj2
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "self",(char *) "item",(char *) "col", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24305 if (arg2
== NULL
) {
24306 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24310 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24319 Py_INCREF(Py_None
); resultobj
= Py_None
;
24326 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
;
24328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24329 wxTreeItemId
*arg2
= 0 ;
24330 wxColour
*arg3
= 0 ;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 PyObject
* obj2
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self",(char *) "item",(char *) "col", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24342 if (arg2
== NULL
) {
24343 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24347 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 Py_INCREF(Py_None
); resultobj
= Py_None
;
24363 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24366 wxTreeItemId
*arg2
= 0 ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 PyObject
* obj2
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self",(char *) "item",(char *) "font", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24378 if (arg2
== NULL
) {
24379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24381 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24382 if (arg3
== NULL
) {
24383 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 Py_INCREF(Py_None
); resultobj
= Py_None
;
24399 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24402 wxTreeItemId
*arg2
= 0 ;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "item", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24413 if (arg2
== NULL
) {
24414 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24430 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24433 wxTreeItemId
*arg2
= 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self",(char *) "item", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24443 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24444 if (arg2
== NULL
) {
24445 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24461 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24464 wxTreeItemId
*arg2
= 0 ;
24466 PyObject
* obj0
= 0 ;
24467 PyObject
* obj1
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self",(char *) "item", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24475 if (arg2
== NULL
) {
24476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24492 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24495 wxTreeItemId
*arg2
= 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "self",(char *) "item", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24506 if (arg2
== NULL
) {
24507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24523 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24526 wxTreeItemId
*arg2
= 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self",(char *) "item", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24537 if (arg2
== NULL
) {
24538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24554 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
;
24556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24557 wxTreeItemId
*arg2
= 0 ;
24558 bool arg3
= (bool) True
;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 PyObject
* obj2
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "item",(char *) "recursively", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24570 if (arg2
== NULL
) {
24571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24575 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24593 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24596 wxTreeItemId result
;
24597 PyObject
* obj0
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24612 wxTreeItemId
* resultptr
;
24613 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24614 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24622 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24625 wxTreeItemId result
;
24626 PyObject
* obj0
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24641 wxTreeItemId
* resultptr
;
24642 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24643 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24651 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24655 PyObject
* obj0
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= result
;
24676 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
;
24678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24679 wxTreeItemId
*arg2
= 0 ;
24680 wxTreeItemId result
;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self",(char *) "item", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24689 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24690 if (arg2
== NULL
) {
24691 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 wxTreeItemId
* resultptr
;
24702 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24703 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24711 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24714 wxTreeItemId
*arg2
= 0 ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self",(char *) "item", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24724 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24725 if (arg2
== NULL
) {
24726 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= result
;
24742 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
;
24744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24745 wxTreeItemId
*arg2
= 0 ;
24746 void *arg3
= (void *) 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 PyObject
* obj2
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self",(char *) "item",(char *) "cookie", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24758 if (arg2
== NULL
) {
24759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24761 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= result
;
24776 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24779 wxTreeItemId
*arg2
= 0 ;
24780 wxTreeItemId result
;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char *kwnames
[] = {
24784 (char *) "self",(char *) "item", NULL
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24789 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24790 if (arg2
== NULL
) {
24791 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24801 wxTreeItemId
* resultptr
;
24802 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24803 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24811 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
;
24813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24814 wxTreeItemId
*arg2
= 0 ;
24815 wxTreeItemId result
;
24816 PyObject
* obj0
= 0 ;
24817 PyObject
* obj1
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self",(char *) "item", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24825 if (arg2
== NULL
) {
24826 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24836 wxTreeItemId
* resultptr
;
24837 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24838 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24846 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24849 wxTreeItemId
*arg2
= 0 ;
24850 wxTreeItemId result
;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self",(char *) "item", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24859 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24860 if (arg2
== NULL
) {
24861 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 wxTreeItemId
* resultptr
;
24872 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24873 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24881 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24884 wxTreeItemId result
;
24885 PyObject
* obj0
= 0 ;
24886 char *kwnames
[] = {
24887 (char *) "self", NULL
24890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
24891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24900 wxTreeItemId
* resultptr
;
24901 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24902 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24910 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
;
24912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24913 wxTreeItemId
*arg2
= 0 ;
24914 wxTreeItemId result
;
24915 PyObject
* obj0
= 0 ;
24916 PyObject
* obj1
= 0 ;
24917 char *kwnames
[] = {
24918 (char *) "self",(char *) "item", NULL
24921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24924 if (arg2
== NULL
) {
24925 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24935 wxTreeItemId
* resultptr
;
24936 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24937 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24945 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24948 wxTreeItemId
*arg2
= 0 ;
24949 wxTreeItemId result
;
24950 PyObject
* obj0
= 0 ;
24951 PyObject
* obj1
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "self",(char *) "item", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24959 if (arg2
== NULL
) {
24960 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24970 wxTreeItemId
* resultptr
;
24971 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24972 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24980 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24983 wxString
*arg2
= 0 ;
24984 int arg3
= (int) -1 ;
24985 int arg4
= (int) -1 ;
24986 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
24987 wxTreeItemId result
;
24988 bool temp2
= False
;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 PyObject
* obj2
= 0 ;
24992 PyObject
* obj3
= 0 ;
24993 PyObject
* obj4
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25001 arg2
= wxString_in_helper(obj1
);
25002 if (arg2
== NULL
) SWIG_fail
;
25007 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25013 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25018 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25028 wxTreeItemId
* resultptr
;
25029 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25030 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25046 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25049 wxTreeItemId
*arg2
= 0 ;
25050 wxString
*arg3
= 0 ;
25051 int arg4
= (int) -1 ;
25052 int arg5
= (int) -1 ;
25053 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25054 wxTreeItemId result
;
25055 bool temp3
= False
;
25056 PyObject
* obj0
= 0 ;
25057 PyObject
* obj1
= 0 ;
25058 PyObject
* obj2
= 0 ;
25059 PyObject
* obj3
= 0 ;
25060 PyObject
* obj4
= 0 ;
25061 PyObject
* obj5
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25069 if (arg2
== NULL
) {
25070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25073 arg3
= wxString_in_helper(obj2
);
25074 if (arg3
== NULL
) SWIG_fail
;
25079 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25085 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25090 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25100 wxTreeItemId
* resultptr
;
25101 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25102 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25118 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25121 wxTreeItemId
*arg2
= 0 ;
25122 wxTreeItemId
*arg3
= 0 ;
25123 wxString
*arg4
= 0 ;
25124 int arg5
= (int) -1 ;
25125 int arg6
= (int) -1 ;
25126 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25127 wxTreeItemId result
;
25128 bool temp4
= False
;
25129 PyObject
* obj0
= 0 ;
25130 PyObject
* obj1
= 0 ;
25131 PyObject
* obj2
= 0 ;
25132 PyObject
* obj3
= 0 ;
25133 PyObject
* obj4
= 0 ;
25134 PyObject
* obj5
= 0 ;
25135 PyObject
* obj6
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25143 if (arg2
== NULL
) {
25144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25146 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25147 if (arg3
== NULL
) {
25148 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25151 arg4
= wxString_in_helper(obj3
);
25152 if (arg4
== NULL
) SWIG_fail
;
25157 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25163 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25168 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 wxTreeItemId
* resultptr
;
25179 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25180 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25196 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25199 wxTreeItemId
*arg2
= 0 ;
25201 wxString
*arg4
= 0 ;
25202 int arg5
= (int) -1 ;
25203 int arg6
= (int) -1 ;
25204 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25205 wxTreeItemId result
;
25206 bool temp4
= False
;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 PyObject
* obj2
= 0 ;
25210 PyObject
* obj3
= 0 ;
25211 PyObject
* obj4
= 0 ;
25212 PyObject
* obj5
= 0 ;
25213 PyObject
* obj6
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25221 if (arg2
== NULL
) {
25222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25225 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25229 arg4
= wxString_in_helper(obj3
);
25230 if (arg4
== NULL
) SWIG_fail
;
25235 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25241 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25246 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25256 wxTreeItemId
* resultptr
;
25257 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25258 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25274 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25277 wxTreeItemId
*arg2
= 0 ;
25278 wxString
*arg3
= 0 ;
25279 int arg4
= (int) -1 ;
25280 int arg5
= (int) -1 ;
25281 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25282 wxTreeItemId result
;
25283 bool temp3
= False
;
25284 PyObject
* obj0
= 0 ;
25285 PyObject
* obj1
= 0 ;
25286 PyObject
* obj2
= 0 ;
25287 PyObject
* obj3
= 0 ;
25288 PyObject
* obj4
= 0 ;
25289 PyObject
* obj5
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25297 if (arg2
== NULL
) {
25298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25301 arg3
= wxString_in_helper(obj2
);
25302 if (arg3
== NULL
) SWIG_fail
;
25307 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25313 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25318 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25324 wxPyEndAllowThreads(__tstate
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25328 wxTreeItemId
* resultptr
;
25329 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25330 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25346 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25349 wxTreeItemId
*arg2
= 0 ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "item", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25359 if (arg2
== NULL
) {
25360 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 Py_INCREF(Py_None
); resultobj
= Py_None
;
25376 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25379 wxTreeItemId
*arg2
= 0 ;
25380 PyObject
* obj0
= 0 ;
25381 PyObject
* obj1
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self",(char *) "item", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25389 if (arg2
== NULL
) {
25390 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 Py_INCREF(Py_None
); resultobj
= Py_None
;
25406 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 (arg1
)->DeleteAllItems();
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 Py_INCREF(Py_None
); resultobj
= Py_None
;
25430 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25433 wxTreeItemId
*arg2
= 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 char *kwnames
[] = {
25437 (char *) "self",(char *) "item", NULL
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25442 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25443 if (arg2
== NULL
) {
25444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 Py_INCREF(Py_None
); resultobj
= Py_None
;
25460 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25463 wxTreeItemId
*arg2
= 0 ;
25464 PyObject
* obj0
= 0 ;
25465 PyObject
* obj1
= 0 ;
25466 char *kwnames
[] = {
25467 (char *) "self",(char *) "item", NULL
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25473 if (arg2
== NULL
) {
25474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 Py_INCREF(Py_None
); resultobj
= Py_None
;
25490 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25493 wxTreeItemId
*arg2
= 0 ;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self",(char *) "item", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25503 if (arg2
== NULL
) {
25504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 Py_INCREF(Py_None
); resultobj
= Py_None
;
25520 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25523 wxTreeItemId
*arg2
= 0 ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 char *kwnames
[] = {
25527 (char *) "self",(char *) "item", NULL
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25533 if (arg2
== NULL
) {
25534 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25543 Py_INCREF(Py_None
); resultobj
= Py_None
;
25550 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
;
25552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25553 PyObject
* obj0
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 (arg1
)->Unselect();
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25567 Py_INCREF(Py_None
); resultobj
= Py_None
;
25574 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
;
25576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25577 PyObject
* obj0
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->UnselectAll();
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 Py_INCREF(Py_None
); resultobj
= Py_None
;
25598 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25601 wxTreeItemId
*arg2
= 0 ;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 char *kwnames
[] = {
25605 (char *) "self",(char *) "item", NULL
25608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25611 if (arg2
== NULL
) {
25612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25621 Py_INCREF(Py_None
); resultobj
= Py_None
;
25628 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25629 PyObject
*resultobj
;
25630 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25631 wxTreeItemId
*arg2
= 0 ;
25632 PyObject
* obj0
= 0 ;
25633 PyObject
* obj1
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "self",(char *) "item", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25641 if (arg2
== NULL
) {
25642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 Py_INCREF(Py_None
); resultobj
= Py_None
;
25658 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25661 wxTreeItemId
*arg2
= 0 ;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self",(char *) "item", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25671 if (arg2
== NULL
) {
25672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25681 Py_INCREF(Py_None
); resultobj
= Py_None
;
25688 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25691 wxTreeItemId
*arg2
= 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "item", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25701 if (arg2
== NULL
) {
25702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 Py_INCREF(Py_None
); resultobj
= Py_None
;
25718 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
;
25720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25721 wxTextCtrl
*result
;
25722 PyObject
* obj0
= 0 ;
25723 char *kwnames
[] = {
25724 (char *) "self", NULL
25727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
25728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= wxPyMake_wxObject(result
);
25745 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25748 wxTreeItemId
*arg2
= 0 ;
25749 PyObject
* obj0
= 0 ;
25750 PyObject
* obj1
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self",(char *) "item", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25758 if (arg2
== NULL
) {
25759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 Py_INCREF(Py_None
); resultobj
= Py_None
;
25775 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25778 wxPoint
*arg2
= 0 ;
25780 wxTreeItemId result
;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self",(char *) "point", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25794 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25804 wxTreeItemId
* resultptr
;
25805 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25806 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25809 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25810 resultobj
= t_output_helper(resultobj
,o
);
25818 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25819 PyObject
*resultobj
;
25820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25821 wxTreeItemId
*arg2
= 0 ;
25822 bool arg3
= (bool) False
;
25824 PyObject
* obj0
= 0 ;
25825 PyObject
* obj1
= 0 ;
25826 PyObject
* obj2
= 0 ;
25827 char *kwnames
[] = {
25828 (char *) "self",(char *) "item",(char *) "textOnly", NULL
25831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25834 if (arg2
== NULL
) {
25835 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25839 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 resultobj
= result
;
25857 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
25859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25860 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
25862 return Py_BuildValue((char *)"");
25864 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
25865 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
25870 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
25875 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
25877 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
25884 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxWindow
*arg1
= (wxWindow
*) 0 ;
25887 int arg2
= (int) (int)-1 ;
25888 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
25889 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
25890 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25891 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25892 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25893 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25894 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
25895 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25896 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25897 int arg8
= (int) 0 ;
25898 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
25899 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
25900 wxGenericDirCtrl
*result
;
25901 bool temp3
= False
;
25904 bool temp7
= False
;
25905 bool temp9
= False
;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 PyObject
* obj2
= 0 ;
25909 PyObject
* obj3
= 0 ;
25910 PyObject
* obj4
= 0 ;
25911 PyObject
* obj5
= 0 ;
25912 PyObject
* obj6
= 0 ;
25913 PyObject
* obj7
= 0 ;
25914 PyObject
* obj8
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25923 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25929 arg3
= wxString_in_helper(obj2
);
25930 if (arg3
== NULL
) SWIG_fail
;
25937 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25943 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25948 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25954 arg7
= wxString_in_helper(obj6
);
25955 if (arg7
== NULL
) SWIG_fail
;
25961 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25967 arg9
= wxString_in_helper(obj8
);
25968 if (arg9
== NULL
) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26010 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxGenericDirCtrl
*result
;
26013 char *kwnames
[] = {
26017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26032 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26035 wxWindow
*arg2
= (wxWindow
*) 0 ;
26036 int arg3
= (int) (int)-1 ;
26037 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26038 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26039 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26040 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26041 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26042 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26043 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26044 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26045 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26046 int arg9
= (int) 0 ;
26047 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26048 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26050 bool temp4
= False
;
26053 bool temp8
= False
;
26054 bool temp10
= False
;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 PyObject
* obj2
= 0 ;
26058 PyObject
* obj3
= 0 ;
26059 PyObject
* obj4
= 0 ;
26060 PyObject
* obj5
= 0 ;
26061 PyObject
* obj6
= 0 ;
26062 PyObject
* obj7
= 0 ;
26063 PyObject
* obj8
= 0 ;
26064 PyObject
* obj9
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26074 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26080 arg4
= wxString_in_helper(obj3
);
26081 if (arg4
== NULL
) SWIG_fail
;
26088 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26094 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26099 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26105 arg8
= wxString_in_helper(obj7
);
26106 if (arg8
== NULL
) SWIG_fail
;
26112 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26118 arg10
= wxString_in_helper(obj9
);
26119 if (arg10
== NULL
) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26130 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26161 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
;
26163 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26164 wxString
*arg2
= 0 ;
26166 bool temp2
= False
;
26167 PyObject
* obj0
= 0 ;
26168 PyObject
* obj1
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self",(char *) "path", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26176 arg2
= wxString_in_helper(obj1
);
26177 if (arg2
== NULL
) SWIG_fail
;
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26202 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
;
26204 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26206 PyObject
* obj0
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26233 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26236 wxString
*arg2
= 0 ;
26237 bool temp2
= False
;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self",(char *) "path", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26247 arg2
= wxString_in_helper(obj1
);
26248 if (arg2
== NULL
) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 Py_INCREF(Py_None
); resultobj
= Py_None
;
26273 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
;
26275 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26277 PyObject
* obj0
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26304 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26308 PyObject
* obj0
= 0 ;
26309 char *kwnames
[] = {
26310 (char *) "self", NULL
26313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26335 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26336 PyObject
*resultobj
;
26337 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26338 wxString
*arg2
= 0 ;
26339 bool temp2
= False
;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "path", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26349 arg2
= wxString_in_helper(obj1
);
26350 if (arg2
== NULL
) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->SetPath((wxString
const &)*arg2
);
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 Py_INCREF(Py_None
); resultobj
= Py_None
;
26375 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self",(char *) "show", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26388 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 (arg1
)->ShowHidden(arg2
);
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 Py_INCREF(Py_None
); resultobj
= Py_None
;
26405 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
;
26407 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26409 PyObject
* obj0
= 0 ;
26410 char *kwnames
[] = {
26411 (char *) "self", NULL
26414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 result
= (bool)(arg1
)->GetShowHidden();
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26430 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26434 PyObject
* obj0
= 0 ;
26435 char *kwnames
[] = {
26436 (char *) "self", NULL
26439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26461 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26464 wxString
*arg2
= 0 ;
26465 bool temp2
= False
;
26466 PyObject
* obj0
= 0 ;
26467 PyObject
* obj1
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self",(char *) "filter", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26475 arg2
= wxString_in_helper(obj1
);
26476 if (arg2
== NULL
) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 (arg1
)->SetFilter((wxString
const &)*arg2
);
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 Py_INCREF(Py_None
); resultobj
= Py_None
;
26501 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= SWIG_PyObj_FromInt((int)result
);
26526 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
;
26528 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self",(char *) "n", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26539 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26544 (arg1
)->SetFilterIndex(arg2
);
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 Py_INCREF(Py_None
); resultobj
= Py_None
;
26556 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
;
26558 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26559 wxTreeItemId result
;
26560 PyObject
* obj0
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 result
= (arg1
)->GetRootId();
26571 wxPyEndAllowThreads(__tstate
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26575 wxTreeItemId
* resultptr
;
26576 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26577 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26585 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
;
26587 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26588 wxPyTreeCtrl
*result
;
26589 PyObject
* obj0
= 0 ;
26590 char *kwnames
[] = {
26591 (char *) "self", NULL
26594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
26595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= wxPyMake_wxObject(result
);
26612 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
;
26614 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26615 wxDirFilterListCtrl
*result
;
26616 PyObject
* obj0
= 0 ;
26617 char *kwnames
[] = {
26618 (char *) "self", NULL
26621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
26622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
26637 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26638 PyObject
*resultobj
;
26639 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26640 wxTreeItemId arg2
;
26641 wxString
*arg3
= 0 ;
26643 wxTreeItemId result
;
26644 wxTreeItemId
*argp2
;
26645 bool temp3
= False
;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 PyObject
* obj2
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "self",(char *) "parentId",(char *) "path", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26657 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
26660 arg3
= wxString_in_helper(obj2
);
26661 if (arg3
== NULL
) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26672 wxTreeItemId
* resultptr
;
26673 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26674 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26677 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26678 resultobj
= t_output_helper(resultobj
,o
);
26694 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
;
26696 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26697 PyObject
* obj0
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "self", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
26703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 (arg1
)->DoResize();
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 Py_INCREF(Py_None
); resultobj
= Py_None
;
26718 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26719 PyObject
*resultobj
;
26720 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 char *kwnames
[] = {
26723 (char *) "self", NULL
26726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
26727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 (arg1
)->ReCreateTree();
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 Py_INCREF(Py_None
); resultobj
= Py_None
;
26742 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26745 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
26747 return Py_BuildValue((char *)"");
26749 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
;
26751 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26752 int arg2
= (int) (int)-1 ;
26753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26757 long arg5
= (long) 0 ;
26758 wxDirFilterListCtrl
*result
;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 PyObject
* obj2
= 0 ;
26764 PyObject
* obj3
= 0 ;
26765 PyObject
* obj4
= 0 ;
26766 char *kwnames
[] = {
26767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26774 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26787 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26792 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26810 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
;
26812 wxDirFilterListCtrl
*result
;
26813 char *kwnames
[] = {
26817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26832 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
26835 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
26836 int arg3
= (int) (int)-1 ;
26837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26841 long arg6
= (long) 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 PyObject
* obj2
= 0 ;
26848 PyObject
* obj3
= 0 ;
26849 PyObject
* obj4
= 0 ;
26850 PyObject
* obj5
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26860 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26878 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26884 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
26886 wxPyEndAllowThreads(__tstate
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26896 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
;
26898 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
26899 wxString
*arg2
= 0 ;
26901 bool temp2
= False
;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 PyObject
* obj2
= 0 ;
26905 char *kwnames
[] = {
26906 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
26909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26912 arg2
= wxString_in_helper(obj1
);
26913 if (arg2
== NULL
) SWIG_fail
;
26917 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 Py_INCREF(Py_None
); resultobj
= Py_None
;
26942 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26945 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
26947 return Py_BuildValue((char *)"");
26949 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxWindow
*arg1
= (wxWindow
*) 0 ;
26953 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26954 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26955 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26956 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26957 long arg5
= (long) 0 ;
26958 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26959 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26960 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
26961 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26962 wxPyControl
*result
;
26965 bool temp7
= False
;
26966 PyObject
* obj0
= 0 ;
26967 PyObject
* obj1
= 0 ;
26968 PyObject
* obj2
= 0 ;
26969 PyObject
* obj3
= 0 ;
26970 PyObject
* obj4
= 0 ;
26971 PyObject
* obj5
= 0 ;
26972 PyObject
* obj6
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26980 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26986 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26992 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26997 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27002 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27003 if (arg6
== NULL
) {
27004 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27009 arg7
= wxString_in_helper(obj6
);
27010 if (arg7
== NULL
) SWIG_fail
;
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27036 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27039 PyObject
*arg2
= (PyObject
*) 0 ;
27040 PyObject
*arg3
= (PyObject
*) 0 ;
27041 PyObject
* obj0
= 0 ;
27042 PyObject
* obj1
= 0 ;
27043 PyObject
* obj2
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self",(char *) "self",(char *) "_class", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 Py_INCREF(Py_None
); resultobj
= Py_None
;
27066 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 PyObject
* obj2
= 0 ;
27076 PyObject
* obj3
= 0 ;
27077 PyObject
* obj4
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27085 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27089 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27097 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 Py_INCREF(Py_None
); resultobj
= Py_None
;
27114 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27115 PyObject
*resultobj
;
27116 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27121 int arg6
= (int) wxSIZE_AUTO
;
27122 PyObject
* obj0
= 0 ;
27123 PyObject
* obj1
= 0 ;
27124 PyObject
* obj2
= 0 ;
27125 PyObject
* obj3
= 0 ;
27126 PyObject
* obj4
= 0 ;
27127 PyObject
* obj5
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27135 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27139 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27147 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27152 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 Py_INCREF(Py_None
); resultobj
= Py_None
;
27170 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 PyObject
* obj2
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "width",(char *) "height", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27185 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27189 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27199 Py_INCREF(Py_None
); resultobj
= Py_None
;
27206 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 PyObject
* obj2
= 0 ;
27214 char *kwnames
[] = {
27215 (char *) "self",(char *) "x",(char *) "y", NULL
27218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27221 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27225 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 Py_INCREF(Py_None
); resultobj
= Py_None
;
27242 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
;
27244 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27245 int *arg2
= (int *) 0 ;
27246 int *arg3
= (int *) 0 ;
27249 PyObject
* obj0
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self", NULL
27256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 Py_INCREF(Py_None
); resultobj
= Py_None
;
27267 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27268 resultobj
= t_output_helper(resultobj
,o
);
27271 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27272 resultobj
= t_output_helper(resultobj
,o
);
27280 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
;
27282 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27283 int *arg2
= (int *) 0 ;
27284 int *arg3
= (int *) 0 ;
27287 PyObject
* obj0
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 Py_INCREF(Py_None
); resultobj
= Py_None
;
27305 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27306 resultobj
= t_output_helper(resultobj
,o
);
27309 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27310 resultobj
= t_output_helper(resultobj
,o
);
27318 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27321 int *arg2
= (int *) 0 ;
27322 int *arg3
= (int *) 0 ;
27325 PyObject
* obj0
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self", NULL
27332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 Py_INCREF(Py_None
); resultobj
= Py_None
;
27343 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27344 resultobj
= t_output_helper(resultobj
,o
);
27347 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27348 resultobj
= t_output_helper(resultobj
,o
);
27356 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27360 PyObject
* obj0
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27375 wxSize
* resultptr
;
27376 resultptr
= new wxSize((wxSize
&) result
);
27377 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27385 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
;
27387 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27389 PyObject
* obj0
= 0 ;
27390 char *kwnames
[] = {
27391 (char *) "self", NULL
27394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27404 wxSize
* resultptr
;
27405 resultptr
= new wxSize((wxSize
&) result
);
27406 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27414 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27417 PyObject
* obj0
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 (arg1
)->base_InitDialog();
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 Py_INCREF(Py_None
); resultobj
= Py_None
;
27438 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27442 PyObject
* obj0
= 0 ;
27443 char *kwnames
[] = {
27444 (char *) "self", NULL
27447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 result
= (bool)(arg1
)->base_TransferDataToWindow();
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27463 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
;
27465 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27467 PyObject
* obj0
= 0 ;
27468 char *kwnames
[] = {
27469 (char *) "self", NULL
27472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27488 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 result
= (bool)(arg1
)->base_Validate();
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27513 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27538 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 char *kwnames
[] = {
27544 (char *) "self", NULL
27547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= SWIG_PyObj_FromBool((bool)result
);
27563 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27567 PyObject
* obj0
= 0 ;
27568 char *kwnames
[] = {
27569 (char *) "self", NULL
27572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27576 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27578 wxPyEndAllowThreads(__tstate
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27582 wxSize
* resultptr
;
27583 resultptr
= new wxSize((wxSize
&) result
);
27584 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27592 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27595 wxWindow
*arg2
= (wxWindow
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 PyObject
* obj1
= 0 ;
27598 char *kwnames
[] = {
27599 (char *) "self",(char *) "child", NULL
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 (arg1
)->base_AddChild(arg2
);
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 Py_INCREF(Py_None
); resultobj
= Py_None
;
27619 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27622 wxWindow
*arg2
= (wxWindow
*) 0 ;
27623 PyObject
* obj0
= 0 ;
27624 PyObject
* obj1
= 0 ;
27625 char *kwnames
[] = {
27626 (char *) "self",(char *) "child", NULL
27629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 (arg1
)->base_RemoveChild(arg2
);
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27639 Py_INCREF(Py_None
); resultobj
= Py_None
;
27646 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
27648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27649 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
27651 return Py_BuildValue((char *)"");
27653 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
;
27655 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27656 int arg2
= (int) 0 ;
27657 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27658 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27659 wxHelpEvent
*result
;
27661 PyObject
* obj0
= 0 ;
27662 PyObject
* obj1
= 0 ;
27663 PyObject
* obj2
= 0 ;
27664 char *kwnames
[] = {
27665 (char *) "type",(char *) "winid",(char *) "pt", NULL
27668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27671 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27677 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27684 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
27701 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
;
27703 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27705 PyObject
* obj0
= 0 ;
27706 char *kwnames
[] = {
27707 (char *) "self", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
27711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
27716 result
= (wxPoint
*) &_result_ref
;
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
27729 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27732 wxPoint
*arg2
= 0 ;
27734 PyObject
* obj0
= 0 ;
27735 PyObject
* obj1
= 0 ;
27736 char *kwnames
[] = {
27737 (char *) "self",(char *) "pos", NULL
27740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
27741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27744 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 Py_INCREF(Py_None
); resultobj
= Py_None
;
27760 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
27770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
27775 result
= (wxString
*) &_result_ref
;
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27783 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27785 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27794 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27795 PyObject
*resultobj
;
27796 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27797 wxString
*arg2
= 0 ;
27798 bool temp2
= False
;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "link", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
27806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27808 arg2
= wxString_in_helper(obj1
);
27809 if (arg2
== NULL
) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 (arg1
)->SetLink((wxString
const &)*arg2
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 Py_INCREF(Py_None
); resultobj
= Py_None
;
27834 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
;
27836 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27838 PyObject
* obj0
= 0 ;
27839 char *kwnames
[] = {
27840 (char *) "self", NULL
27843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
27844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27848 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
27849 result
= (wxString
*) &_result_ref
;
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27857 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27859 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27868 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27871 wxString
*arg2
= 0 ;
27872 bool temp2
= False
;
27873 PyObject
* obj0
= 0 ;
27874 PyObject
* obj1
= 0 ;
27875 char *kwnames
[] = {
27876 (char *) "self",(char *) "target", NULL
27879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27882 arg2
= wxString_in_helper(obj1
);
27883 if (arg2
== NULL
) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 (arg1
)->SetTarget((wxString
const &)*arg2
);
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 Py_INCREF(Py_None
); resultobj
= Py_None
;
27908 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
27910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27911 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
27913 return Py_BuildValue((char *)"");
27915 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxWindow
*arg1
= (wxWindow
*) NULL
;
27918 bool arg2
= (bool) True
;
27919 wxContextHelp
*result
;
27920 PyObject
* obj0
= 0 ;
27921 PyObject
* obj1
= 0 ;
27922 char *kwnames
[] = {
27923 (char *) "window",(char *) "doNow", NULL
27926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
27928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27932 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
27940 wxPyEndAllowThreads(__tstate
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
27950 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
;
27952 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
27953 PyObject
* obj0
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
27959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 Py_INCREF(Py_None
); resultobj
= Py_None
;
27974 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
27977 wxWindow
*arg2
= (wxWindow
*) NULL
;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "self",(char *) "window", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
27986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28004 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28005 PyObject
*resultobj
;
28006 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28008 PyObject
* obj0
= 0 ;
28009 char *kwnames
[] = {
28010 (char *) "self", NULL
28013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 result
= (bool)(arg1
)->EndContextHelp();
28019 wxPyEndAllowThreads(__tstate
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28022 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28029 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28032 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28034 return Py_BuildValue((char *)"");
28036 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxWindow
*arg1
= (wxWindow
*) 0 ;
28039 int arg2
= (int) wxID_CONTEXT_HELP
;
28040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28044 long arg5
= (long) wxBU_AUTODRAW
;
28045 wxContextHelpButton
*result
;
28048 PyObject
* obj0
= 0 ;
28049 PyObject
* obj1
= 0 ;
28050 PyObject
* obj2
= 0 ;
28051 PyObject
* obj3
= 0 ;
28052 PyObject
* obj4
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28061 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28068 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28074 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28079 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28097 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28100 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28102 return Py_BuildValue((char *)"");
28104 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28107 wxHelpProvider
*result
;
28108 PyObject
* obj0
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "helpProvider", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28117 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28119 wxPyEndAllowThreads(__tstate
);
28120 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28129 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28130 PyObject
*resultobj
;
28131 wxHelpProvider
*result
;
28132 char *kwnames
[] = {
28136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28151 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
;
28153 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28154 wxWindow
*arg2
= (wxWindow
*) 0 ;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 char *kwnames
[] = {
28159 (char *) "self",(char *) "window", NULL
28162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28185 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28186 PyObject
*resultobj
;
28187 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28188 wxWindow
*arg2
= (wxWindow
*) 0 ;
28190 PyObject
* obj0
= 0 ;
28191 PyObject
* obj1
= 0 ;
28192 char *kwnames
[] = {
28193 (char *) "self",(char *) "window", NULL
28196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (bool)(arg1
)->ShowHelp(arg2
);
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28206 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28213 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
;
28215 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28216 wxWindow
*arg2
= (wxWindow
*) 0 ;
28217 wxString
*arg3
= 0 ;
28218 bool temp3
= False
;
28219 PyObject
* obj0
= 0 ;
28220 PyObject
* obj1
= 0 ;
28221 PyObject
* obj2
= 0 ;
28222 char *kwnames
[] = {
28223 (char *) "self",(char *) "window",(char *) "text", NULL
28226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28230 arg3
= wxString_in_helper(obj2
);
28231 if (arg3
== NULL
) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 Py_INCREF(Py_None
); resultobj
= Py_None
;
28256 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28260 wxString
*arg3
= 0 ;
28261 bool temp3
= False
;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 PyObject
* obj2
= 0 ;
28265 char *kwnames
[] = {
28266 (char *) "self",(char *) "id",(char *) "text", NULL
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28272 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28276 arg3
= wxString_in_helper(obj2
);
28277 if (arg3
== NULL
) SWIG_fail
;
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 Py_INCREF(Py_None
); resultobj
= Py_None
;
28302 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
;
28304 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28305 PyObject
* obj0
= 0 ;
28306 char *kwnames
[] = {
28307 (char *) "self", NULL
28310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 wxHelpProvider_Destroy(arg1
);
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 Py_INCREF(Py_None
); resultobj
= Py_None
;
28326 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28329 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28331 return Py_BuildValue((char *)"");
28333 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
;
28335 wxSimpleHelpProvider
*result
;
28336 char *kwnames
[] = {
28340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28343 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28345 wxPyEndAllowThreads(__tstate
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28355 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28358 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28360 return Py_BuildValue((char *)"");
28362 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
;
28364 wxBitmap
*arg1
= 0 ;
28365 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28366 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28367 wxGenericDragImage
*result
;
28368 PyObject
* obj0
= 0 ;
28369 PyObject
* obj1
= 0 ;
28370 char *kwnames
[] = {
28371 (char *) "image",(char *) "cursor", NULL
28374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28376 if (arg1
== NULL
) {
28377 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28381 if (arg2
== NULL
) {
28382 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28399 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
;
28402 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28403 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28404 wxGenericDragImage
*result
;
28405 PyObject
* obj0
= 0 ;
28406 PyObject
* obj1
= 0 ;
28407 char *kwnames
[] = {
28408 (char *) "image",(char *) "cursor", NULL
28411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28413 if (arg1
== NULL
) {
28414 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28418 if (arg2
== NULL
) {
28419 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28436 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
;
28438 wxString
*arg1
= 0 ;
28439 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28440 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28441 wxGenericDragImage
*result
;
28442 bool temp1
= False
;
28443 PyObject
* obj0
= 0 ;
28444 PyObject
* obj1
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "str",(char *) "cursor", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28451 arg1
= wxString_in_helper(obj0
);
28452 if (arg1
== NULL
) SWIG_fail
;
28456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28457 if (arg2
== NULL
) {
28458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28483 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxPyTreeCtrl
*arg1
= 0 ;
28486 wxTreeItemId
*arg2
= 0 ;
28487 wxGenericDragImage
*result
;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "treeCtrl",(char *) "id", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28496 if (arg1
== NULL
) {
28497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28499 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28500 if (arg2
== NULL
) {
28501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28517 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28518 PyObject
*resultobj
;
28519 wxPyListCtrl
*arg1
= 0 ;
28521 wxGenericDragImage
*result
;
28522 PyObject
* obj0
= 0 ;
28523 PyObject
* obj1
= 0 ;
28524 char *kwnames
[] = {
28525 (char *) "listCtrl",(char *) "id", NULL
28528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28530 if (arg1
== NULL
) {
28531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28534 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28551 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
;
28553 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28554 PyObject
* obj0
= 0 ;
28555 char *kwnames
[] = {
28556 (char *) "self", NULL
28559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28565 wxPyEndAllowThreads(__tstate
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28568 Py_INCREF(Py_None
); resultobj
= Py_None
;
28575 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28576 PyObject
*resultobj
;
28577 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28578 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
28579 PyObject
* obj0
= 0 ;
28580 PyObject
* obj1
= 0 ;
28581 char *kwnames
[] = {
28582 (char *) "self",(char *) "bitmap", NULL
28585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28587 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 (arg1
)->SetBackingBitmap(arg2
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 Py_INCREF(Py_None
); resultobj
= Py_None
;
28602 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
;
28604 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28605 wxPoint
*arg2
= 0 ;
28606 wxWindow
*arg3
= (wxWindow
*) 0 ;
28607 bool arg4
= (bool) False
;
28608 wxRect
*arg5
= (wxRect
*) NULL
;
28611 PyObject
* obj0
= 0 ;
28612 PyObject
* obj1
= 0 ;
28613 PyObject
* obj2
= 0 ;
28614 PyObject
* obj3
= 0 ;
28615 PyObject
* obj4
= 0 ;
28616 char *kwnames
[] = {
28617 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28626 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28629 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28634 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28650 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
;
28652 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28653 wxPoint
*arg2
= 0 ;
28654 wxWindow
*arg3
= (wxWindow
*) 0 ;
28655 wxWindow
*arg4
= (wxWindow
*) 0 ;
28658 PyObject
* obj0
= 0 ;
28659 PyObject
* obj1
= 0 ;
28660 PyObject
* obj2
= 0 ;
28661 PyObject
* obj3
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28672 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28673 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28688 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28689 PyObject
*resultobj
;
28690 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28692 PyObject
* obj0
= 0 ;
28693 char *kwnames
[] = {
28694 (char *) "self", NULL
28697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
28698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 result
= (bool)(arg1
)->EndDrag();
28703 wxPyEndAllowThreads(__tstate
);
28704 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28713 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
;
28715 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28716 wxPoint
*arg2
= 0 ;
28719 PyObject
* obj0
= 0 ;
28720 PyObject
* obj1
= 0 ;
28721 char *kwnames
[] = {
28722 (char *) "self",(char *) "pt", NULL
28725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
28726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28729 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28745 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28746 PyObject
*resultobj
;
28747 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28749 PyObject
* obj0
= 0 ;
28750 char *kwnames
[] = {
28751 (char *) "self", NULL
28754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
28755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 result
= (bool)(arg1
)->Show();
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28770 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28774 PyObject
* obj0
= 0 ;
28775 char *kwnames
[] = {
28776 (char *) "self", NULL
28779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
28780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 result
= (bool)(arg1
)->Hide();
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28795 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
;
28797 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28798 wxPoint
*arg2
= 0 ;
28801 PyObject
* obj0
= 0 ;
28802 PyObject
* obj1
= 0 ;
28803 char *kwnames
[] = {
28804 (char *) "self",(char *) "pos", NULL
28807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28811 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28821 wxRect
* resultptr
;
28822 resultptr
= new wxRect((wxRect
&) result
);
28823 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
28831 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
;
28833 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28835 wxPoint
*arg3
= 0 ;
28838 PyObject
* obj0
= 0 ;
28839 PyObject
* obj1
= 0 ;
28840 PyObject
* obj2
= 0 ;
28841 char *kwnames
[] = {
28842 (char *) "self",(char *) "dc",(char *) "pos", NULL
28845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28848 if (arg2
== NULL
) {
28849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28853 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28869 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28873 wxMemoryDC
*arg3
= 0 ;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 PyObject
* obj2
= 0 ;
28882 PyObject
* obj3
= 0 ;
28883 PyObject
* obj4
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28891 if (arg2
== NULL
) {
28892 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28894 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28895 if (arg3
== NULL
) {
28896 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28900 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28904 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28920 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
;
28922 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28923 wxPoint
*arg2
= 0 ;
28924 wxPoint
*arg3
= 0 ;
28930 PyObject
* obj0
= 0 ;
28931 PyObject
* obj1
= 0 ;
28932 PyObject
* obj2
= 0 ;
28933 PyObject
* obj3
= 0 ;
28934 PyObject
* obj4
= 0 ;
28935 char *kwnames
[] = {
28936 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
28939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28947 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28950 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28954 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28964 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28971 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
28973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28974 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
28976 return Py_BuildValue((char *)"");
28978 static PyMethodDef SwigMethods
[] = {
28979 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
28985 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29000 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29002 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29011 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29013 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29015 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29016 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29017 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29020 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29027 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29030 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29031 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29033 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29034 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29035 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29038 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29039 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29041 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29042 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29043 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29044 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29045 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29046 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29047 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29048 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29049 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29050 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29051 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29052 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29053 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29054 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29055 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29056 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29057 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29058 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29059 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29060 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29061 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29062 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29063 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29064 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29065 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29066 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29067 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29068 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29069 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29070 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29071 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29072 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29073 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29074 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29075 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29076 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29077 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29078 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29079 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29080 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29081 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29082 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29083 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29084 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29085 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29086 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29087 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29088 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29089 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29090 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29091 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29092 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29093 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29094 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29095 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29096 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29097 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29098 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29099 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29100 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29101 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29102 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29103 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29104 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29105 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29106 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29107 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29108 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29109 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29110 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29111 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29112 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29113 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29114 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29115 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29116 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29117 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29118 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29119 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29120 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29121 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29122 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29123 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29124 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29125 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29126 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29127 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29128 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29129 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29130 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29131 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29132 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29133 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29134 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29135 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29136 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29137 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29138 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29139 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29140 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29141 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29142 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29143 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29144 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29145 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29146 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29147 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29148 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29149 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29150 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29151 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29152 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29153 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29154 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29155 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29156 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29157 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29158 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29159 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29160 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29161 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29162 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29163 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29164 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29165 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29166 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29167 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29168 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29169 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29170 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29171 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29172 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29173 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29174 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29175 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29176 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29177 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29178 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29179 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29180 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29181 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29182 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29183 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29184 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29185 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29186 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29187 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29188 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29189 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29190 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29191 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29192 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29193 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29194 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29195 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29196 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29197 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29198 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29199 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29200 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29201 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29202 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29203 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29204 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29205 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29206 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29207 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29208 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29209 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29210 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29211 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29212 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29213 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29214 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29215 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29216 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29217 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29218 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29219 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29220 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29221 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29222 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29223 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29224 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29225 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29226 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29227 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29228 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29229 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29230 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29231 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29232 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29233 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29234 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29235 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29236 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29237 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29238 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29239 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29240 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29241 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29242 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29243 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29244 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29245 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29246 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29247 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29248 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29249 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29250 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29251 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29252 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29253 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29254 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29255 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29256 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29257 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29258 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29259 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29260 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29261 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29262 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29263 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29264 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29265 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29266 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29267 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29268 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29269 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29270 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29271 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29272 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29273 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29274 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29275 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29276 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29277 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29278 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29279 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29280 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29281 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29282 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29283 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29284 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29285 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29286 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29287 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29288 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29289 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29290 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29291 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29292 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29293 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29294 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29295 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29296 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29297 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29298 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29299 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29300 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29301 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29302 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29303 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29304 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29305 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29306 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29307 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29308 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29309 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29310 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29311 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29312 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29313 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29314 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29315 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29316 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29317 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29318 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29319 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29320 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29321 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29322 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29323 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29324 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29325 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29326 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29327 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29328 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29329 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29330 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29331 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29332 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29333 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29334 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29335 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29336 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29337 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29338 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29339 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29340 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29341 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29342 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29343 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29344 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29345 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29346 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29347 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29348 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29349 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29350 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29351 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29352 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29353 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29354 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29355 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29356 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29357 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29358 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29359 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29360 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29361 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29362 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29363 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29364 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29365 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29366 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29367 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29368 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29369 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29370 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29371 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29372 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29373 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29374 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29375 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29376 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29377 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29378 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29379 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29380 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29381 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29382 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29383 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29384 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29385 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29386 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29387 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29388 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29389 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29390 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29391 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29392 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29393 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29394 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29395 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29396 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29397 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29398 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29399 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29400 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29401 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29402 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29403 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29404 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29405 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29406 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29407 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29408 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29409 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29410 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29411 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29412 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29413 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29414 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29415 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29419 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29420 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29421 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29422 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29423 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29425 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29426 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29427 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29429 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29430 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29431 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29432 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29436 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29437 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29438 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29440 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29442 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29443 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29446 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29447 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29448 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29450 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29453 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29456 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29457 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29458 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29463 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29467 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29472 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29473 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29474 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29476 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29478 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29479 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29483 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29486 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29487 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29488 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29490 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29491 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29495 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29496 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29497 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29501 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29502 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29504 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29505 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29506 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
29575 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
29582 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29586 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
29587 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
29595 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
29602 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
29618 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29628 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
29690 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
29712 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
29717 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
29738 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
29746 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
29751 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
29753 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
29761 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
29763 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
29785 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29787 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
29788 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29790 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
29791 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29793 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
29794 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
29796 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
29797 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29799 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
29800 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29802 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
29803 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
29805 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
29806 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29808 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
29809 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
29811 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
29812 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
29814 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
29815 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
29817 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29820 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29821 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29823 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29824 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29826 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29827 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29829 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29830 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29832 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
29833 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
29835 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29836 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29838 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29839 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29841 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29844 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
29845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
29847 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
29848 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
29850 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29851 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29853 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29854 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29856 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
29857 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
29859 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
29860 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29862 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
29863 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29865 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
29866 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
29868 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29869 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29871 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29874 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29875 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29877 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29878 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29880 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29881 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29883 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29884 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29886 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29887 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29889 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29890 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29892 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29893 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29895 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29896 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29898 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29901 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29902 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29904 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29905 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29907 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29908 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29910 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29911 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29913 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29914 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29916 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29917 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29919 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29920 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29922 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29923 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29925 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29926 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29928 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29931 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29932 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29934 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29935 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29937 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29938 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29940 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29941 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29943 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
29944 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
29946 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
29947 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
29949 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
29950 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
29952 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
29953 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
29955 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
29956 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
29958 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
29959 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
29961 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
29962 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
29964 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
29965 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
29967 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
29968 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
29970 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
29971 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
29973 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
29974 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
29976 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
29977 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
29979 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
29980 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
29982 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
29983 return (void *)((wxControl
*) ((wxComboBox
*) x
));
29985 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
29986 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
29988 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
29989 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
29991 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
29992 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
29994 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
29995 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
29997 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
29998 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30000 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30001 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30003 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30004 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30006 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30007 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30009 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30010 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30012 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30013 return (void *)((wxControl
*) ((wxGauge
*) x
));
30015 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30016 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30018 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30019 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30021 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30022 return (void *)((wxControl
*) ((wxButton
*) x
));
30024 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30025 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30027 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30028 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30030 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30031 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30033 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30034 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30036 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30037 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30039 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30040 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30042 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30043 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30045 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30046 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30048 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30049 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30051 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30052 return (void *)((wxControl
*) ((wxSlider
*) x
));
30054 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30055 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30057 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30058 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30060 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30061 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30063 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30064 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30066 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30067 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30069 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30070 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30072 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30073 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30075 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30076 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30078 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30079 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30081 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30082 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30084 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30085 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30087 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30088 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30090 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30093 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30094 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30096 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30097 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30099 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30100 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30102 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30105 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30106 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30108 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30111 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30114 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30115 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30117 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30118 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30120 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30123 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30126 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30129 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30132 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30135 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30136 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30138 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30141 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30144 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30147 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30150 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30153 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30156 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30159 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30162 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30165 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30168 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30171 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30174 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30177 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30180 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30183 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30186 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30189 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30192 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30195 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30198 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30201 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30204 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30207 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30210 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30211 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30213 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30214 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30216 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30217 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30219 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30220 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30222 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30223 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30225 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30226 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30228 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30229 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30231 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30232 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30234 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30235 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30237 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30238 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30240 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30243 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30244 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30246 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30249 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30252 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30253 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30255 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30256 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30258 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30259 return (void *)((wxObject
*) ((wxSizer
*) x
));
30261 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30262 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30264 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30267 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30270 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30271 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30273 static void *_p_wxEventTo_p_wxObject(void *x
) {
30274 return (void *)((wxObject
*) ((wxEvent
*) x
));
30276 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30277 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30279 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30280 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30282 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30283 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30285 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30288 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30291 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30294 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30295 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30297 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30298 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30300 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30301 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30303 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30304 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30306 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30307 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30309 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30310 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30312 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30315 static void *_p_wxControlTo_p_wxObject(void *x
) {
30316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30318 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30321 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30324 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30327 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30330 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30333 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30334 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30336 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30339 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30340 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30342 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30343 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30345 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30348 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30351 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30354 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30355 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30357 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30360 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30363 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30364 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30366 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30369 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30372 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30373 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30375 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30376 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30378 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30381 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30382 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30384 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30385 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30387 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30388 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30390 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30391 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30393 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30394 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30396 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30397 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30399 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30402 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30403 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30405 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30406 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30408 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30411 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30412 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30414 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30415 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30417 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30418 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30420 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30421 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30423 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30424 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30426 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30427 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30429 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30430 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30432 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30435 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30436 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30438 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30439 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30441 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30442 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30444 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30447 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30450 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30453 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30456 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30459 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30462 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30465 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30468 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30469 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30471 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30474 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30477 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30480 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30483 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30484 return (void *)((wxObject
*) ((wxListItem
*) x
));
30486 static void *_p_wxImageTo_p_wxObject(void *x
) {
30487 return (void *)((wxObject
*) ((wxImage
*) x
));
30489 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30490 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30492 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30493 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30495 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30498 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30499 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30501 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30504 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30505 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30507 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30510 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30513 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30514 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30516 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30517 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30519 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30520 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30522 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30523 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30525 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30528 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30529 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30531 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30534 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30535 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30537 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30538 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30540 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30541 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30543 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30544 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30546 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30547 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30549 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30552 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30553 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30555 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30556 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30558 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
30559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30561 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30562 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30564 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30565 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30567 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30570 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30573 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
30574 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
30576 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
30577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30579 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30582 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30583 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30585 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
30586 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
30588 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
30589 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
30591 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30592 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30594 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
30595 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30597 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
30598 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
30600 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
30601 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
30603 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
30604 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
30606 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30607 return (void *)((wxWindow
*) ((wxControl
*) x
));
30609 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
30610 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
30612 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
30613 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30615 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
30616 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
30618 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
30619 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
30621 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
30622 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
30624 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
30625 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
30627 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30628 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30630 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
30631 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
30633 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
30634 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
30636 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
30637 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30639 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
30640 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
30642 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
30643 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
30645 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
30646 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
30648 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
30649 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30651 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
30652 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30654 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
30655 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30657 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
30658 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30660 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
30661 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30663 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
30664 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
30666 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
30667 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
30669 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
30670 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
30672 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
30673 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
30675 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
30676 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
30678 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
30679 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
30681 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
30682 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
30684 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
30685 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30687 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
30688 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30690 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
30691 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
30693 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
30694 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30696 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
30697 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30699 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
30700 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30702 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
30703 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
30705 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
30706 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30708 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
30709 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30711 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
30712 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30714 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
30715 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30717 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
30718 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30720 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
30721 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
30723 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
30724 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30726 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
30727 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30729 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
30730 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30732 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
30733 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
30735 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
30736 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30738 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
30739 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30741 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
30742 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30744 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
30745 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
30747 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
30748 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
30750 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
30751 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
30753 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
30754 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
30756 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
30757 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}};
30758 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}};
30759 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
30760 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
30761 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}};
30762 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
30763 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
30764 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
30765 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}};
30766 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
30767 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
30768 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
30769 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}};
30770 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
30771 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
30772 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
30773 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
30774 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
30775 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
30776 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
30777 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
30778 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
30779 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
30780 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
30781 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
30782 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
30783 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
30784 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
30785 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
30786 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
30787 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}};
30788 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
30789 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
30790 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
30791 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
30792 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
30793 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
30794 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
30795 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
30796 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}};
30797 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
30798 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
30799 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
30800 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}};
30801 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
30802 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}};
30803 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
30804 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
30805 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
30806 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
30807 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
30808 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
30809 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
30810 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
30811 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
30812 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
30813 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
30814 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
30815 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
30816 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
30817 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
30818 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
30819 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
30820 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
30821 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
30822 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
30823 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
30824 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}};
30825 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
30826 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
30827 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}};
30828 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
30829 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
30830 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
30831 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
30832 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}};
30833 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
30834 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}};
30835 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
30836 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
30837 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
30838 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
30839 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
30841 static swig_type_info
*swig_types_initial
[] = {
30842 _swigt__p_wxTextUrlEvent
,
30843 _swigt__p_wxBookCtrlEvent
,
30845 _swigt__p_wxCheckBox
,
30846 _swigt__p_wxPyTreeCtrl
,
30848 _swigt__p_wxGenericDirCtrl
,
30850 _swigt__p_wxPyTreeItemData
,
30851 _swigt__p_wxItemContainer
,
30852 _swigt__p_wxDirFilterListCtrl
,
30853 _swigt__p_wxPyListCtrl
,
30854 _swigt__p_wxStaticLine
,
30855 _swigt__p_wxControl
,
30856 _swigt__p_wxPyControl
,
30858 _swigt__p_wxToolBarBase
,
30860 _swigt__p_wxToggleButton
,
30861 _swigt__p_wxRadioButton
,
30862 _swigt__p_wxChoice
,
30863 _swigt__p_wxMemoryDC
,
30864 _swigt__p_wxListItemAttr
,
30869 _swigt__p_wxListView
,
30871 _swigt__p_wxTextCtrl
,
30872 _swigt__p_wxNotebook
,
30873 _swigt__p_wxNotifyEvent
,
30874 _swigt__p_wxArrayString
,
30875 _swigt__p_wxListbook
,
30876 _swigt__p_wxStaticBitmap
,
30877 _swigt__p_wxSlider
,
30878 _swigt__p_wxStaticBox
,
30879 _swigt__p_wxArrayInt
,
30880 _swigt__p_wxContextHelp
,
30882 _swigt__p_wxEvtHandler
,
30883 _swigt__p_wxListEvent
,
30884 _swigt__p_wxListBox
,
30885 _swigt__p_wxCheckListBox
,
30886 _swigt__p_wxBookCtrl
,
30887 _swigt__p_wxSpinButton
,
30888 _swigt__p_wxButton
,
30889 _swigt__p_wxBitmapButton
,
30891 _swigt__p_wxContextHelpButton
,
30892 _swigt__p_wxRadioBox
,
30893 _swigt__p_wxScrollBar
,
30895 _swigt__p_wxTreeItemId
,
30896 _swigt__p_wxComboBox
,
30897 _swigt__p_wxHelpEvent
,
30898 _swigt__p_wxListItem
,
30899 _swigt__p_wxNotebookSizer
,
30900 _swigt__p_wxSpinEvent
,
30901 _swigt__p_wxGenericDragImage
,
30902 _swigt__p_wxSpinCtrl
,
30903 _swigt__p_wxImageList
,
30904 _swigt__p_wxHelpProvider
,
30905 _swigt__p_wxTextAttr
,
30906 _swigt__p_wxSimpleHelpProvider
,
30908 _swigt__p_wxListbookEvent
,
30909 _swigt__p_wxNotebookEvent
,
30910 _swigt__p_wxObject
,
30911 _swigt__p_wxCursor
,
30912 _swigt__p_wxKeyEvent
,
30913 _swigt__p_wxWindow
,
30914 _swigt__p_wxString
,
30915 _swigt__p_wxBitmap
,
30916 _swigt__p_wxTreeEvent
,
30917 _swigt__p_wxMouseEvent
,
30918 _swigt__p_wxCommandEvent
,
30919 _swigt__p_wxStaticText
,
30920 _swigt__p_wxControlWithItems
,
30921 _swigt__p_wxToolBarToolBase
,
30922 _swigt__p_wxColour
,
30923 _swigt__p_wxToolBar
,
30924 _swigt__p_wxBookCtrlSizer
,
30925 _swigt__p_wxValidator
,
30930 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30932 static swig_const_info swig_const_table
[] = {
30942 SWIGEXPORT(void) SWIG_init(void) {
30943 static PyObject
*SWIG_globals
= 0;
30944 static int typeinit
= 0;
30947 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30948 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30949 d
= PyModule_GetDict(m
);
30952 for (i
= 0; swig_types_initial
[i
]; i
++) {
30953 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30957 SWIG_InstallConstants(d
,swig_const_table
);
30959 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30960 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
30961 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
30962 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
30963 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
30964 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
30965 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
30966 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
30967 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
30968 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
30969 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
30970 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
30971 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
30972 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
30973 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
30974 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
30975 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
30976 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
30977 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
30978 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
30979 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
30980 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
30981 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
30982 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
30983 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
30984 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
30985 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
30986 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
30987 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
30988 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
30989 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
30990 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
30991 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
30992 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
30993 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
30994 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
30995 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
30996 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
30997 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
30998 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
30999 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31000 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31001 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31002 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31003 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31004 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31005 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31006 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31007 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31008 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31009 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31010 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31011 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31012 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31013 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31014 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31015 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31016 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31017 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31018 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31019 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31020 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31021 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31022 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31023 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31024 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31025 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31026 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31027 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31028 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31029 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31030 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31031 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31032 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31033 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31034 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31035 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31036 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31037 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31038 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31039 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31040 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31041 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31042 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31043 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31044 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31045 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31046 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31047 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31048 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31049 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31050 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31051 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31052 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31053 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31054 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31055 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31056 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31057 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31058 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31059 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31060 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31061 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31062 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31063 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31064 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31065 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31066 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31067 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31068 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31069 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31070 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31071 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31072 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31073 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31074 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31075 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31076 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31077 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31078 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31079 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31080 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31081 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31082 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31083 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31084 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31085 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31086 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31087 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31088 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31089 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31090 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31091 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31092 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31093 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31094 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31095 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31096 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31097 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31098 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31099 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31100 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31101 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31102 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31103 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31104 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31105 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31106 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31107 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31108 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31109 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31110 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31111 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31112 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31113 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31114 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31115 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31116 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31117 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31118 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31119 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31120 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31121 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31122 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31123 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31124 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31125 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31126 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31127 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31128 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31129 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31130 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31131 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31132 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31133 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31134 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31135 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31136 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31137 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31138 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31139 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31140 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31141 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31142 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31143 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31144 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31145 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31146 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31147 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31150 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31151 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31152 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31153 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31154 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31155 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31156 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31157 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31158 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31159 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31160 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31161 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31162 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31163 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31164 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31166 // Map renamed classes back to their common name for OOR
31167 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31169 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31170 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31171 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31172 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31173 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31174 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31175 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31176 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31177 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31178 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31179 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31180 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31181 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31182 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31183 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31184 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31185 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31186 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31187 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31188 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31189 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31190 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31191 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31192 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31193 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31194 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31195 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31196 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31197 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31198 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31199 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31200 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31201 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31202 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31203 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31204 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31205 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31206 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31207 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31208 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31209 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31210 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31211 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31212 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31213 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31214 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31215 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31216 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31217 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31218 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31219 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31220 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31221 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31222 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31223 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31224 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31226 // Map renamed classes back to their common name for OOR
31227 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31228 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31230 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31231 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31232 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31233 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31234 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31235 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31236 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31237 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31238 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31239 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31241 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");