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
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
123 /***********************************************************************
124 * pyrun.swg for wxPython
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
131 ************************************************************************/
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
146 /* Flags for pointer conversion */
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
154 /* Constant information structure */
155 typedef struct swig_const_info
{
161 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
192 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
195 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
200 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
204 /* Contract support */
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
222 /* -------- TYPES TABLE (BEGIN) -------- */
224 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
225 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
226 #define SWIGTYPE_p_wxSizer swig_types[2]
227 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
228 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
229 #define SWIGTYPE_p_wxCheckBox swig_types[5]
230 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
231 #define SWIGTYPE_p_wxEvent swig_types[7]
232 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
233 #define SWIGTYPE_p_bool swig_types[9]
234 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
235 #define SWIGTYPE_p_wxItemContainer swig_types[11]
236 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
237 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
238 #define SWIGTYPE_p_wxStaticLine swig_types[14]
239 #define SWIGTYPE_p_wxControl swig_types[15]
240 #define SWIGTYPE_p_wxPyControl swig_types[16]
241 #define SWIGTYPE_p_wxGauge swig_types[17]
242 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
243 #define SWIGTYPE_p_wxFont swig_types[19]
244 #define SWIGTYPE_p_wxToggleButton swig_types[20]
245 #define SWIGTYPE_p_wxRadioButton swig_types[21]
246 #define SWIGTYPE_p_wxChoice swig_types[22]
247 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
248 #define SWIGTYPE_p_int swig_types[24]
249 #define SWIGTYPE_p_wxSize swig_types[25]
250 #define SWIGTYPE_p_wxListView swig_types[26]
251 #define SWIGTYPE_p_wxIcon swig_types[27]
252 #define SWIGTYPE_p_wxTextCtrl swig_types[28]
253 #define SWIGTYPE_p_wxNotebook swig_types[29]
254 #define SWIGTYPE_p_wxNotifyEvent swig_types[30]
255 #define SWIGTYPE_p_wxArrayString swig_types[31]
256 #define SWIGTYPE_p_wxListbook swig_types[32]
257 #define SWIGTYPE_p_wxStaticBitmap swig_types[33]
258 #define SWIGTYPE_p_wxSlider swig_types[34]
259 #define SWIGTYPE_p_wxStaticBox swig_types[35]
260 #define SWIGTYPE_p_wxArrayInt swig_types[36]
261 #define SWIGTYPE_p_wxContextHelp swig_types[37]
262 #define SWIGTYPE_p_long swig_types[38]
263 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
264 #define SWIGTYPE_p_wxListEvent swig_types[40]
265 #define SWIGTYPE_p_wxListBox swig_types[41]
266 #define SWIGTYPE_p_wxCheckListBox swig_types[42]
267 #define SWIGTYPE_p_wxBookCtrl swig_types[43]
268 #define SWIGTYPE_p_wxSpinButton swig_types[44]
269 #define SWIGTYPE_p_wxButton swig_types[45]
270 #define SWIGTYPE_p_wxBitmapButton swig_types[46]
271 #define SWIGTYPE_p_wxRect swig_types[47]
272 #define SWIGTYPE_p_wxContextHelpButton swig_types[48]
273 #define SWIGTYPE_p_wxRadioBox swig_types[49]
274 #define SWIGTYPE_p_wxScrollBar swig_types[50]
275 #define SWIGTYPE_p_wxTreeItemId swig_types[51]
276 #define SWIGTYPE_p_wxComboBox swig_types[52]
277 #define SWIGTYPE_p_wxHelpEvent swig_types[53]
278 #define SWIGTYPE_p_wxListItem swig_types[54]
279 #define SWIGTYPE_p_wxNotebookSizer swig_types[55]
280 #define SWIGTYPE_p_wxSpinCtrl swig_types[56]
281 #define SWIGTYPE_p_wxImageList swig_types[57]
282 #define SWIGTYPE_p_wxHelpProvider swig_types[58]
283 #define SWIGTYPE_p_wxTextAttr swig_types[59]
284 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[60]
285 #define SWIGTYPE_p_wxPoint swig_types[61]
286 #define SWIGTYPE_p_wxListbookEvent swig_types[62]
287 #define SWIGTYPE_p_wxNotebookEvent swig_types[63]
288 #define SWIGTYPE_p_wxObject swig_types[64]
289 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
290 #define SWIGTYPE_p_wxWindow swig_types[66]
291 #define SWIGTYPE_p_wxString swig_types[67]
292 #define SWIGTYPE_p_wxBitmap swig_types[68]
293 #define SWIGTYPE_p_wxTreeEvent swig_types[69]
294 #define SWIGTYPE_p_wxMouseEvent swig_types[70]
295 #define SWIGTYPE_p_wxCommandEvent swig_types[71]
296 #define SWIGTYPE_p_wxStaticText swig_types[72]
297 #define SWIGTYPE_p_wxControlWithItems swig_types[73]
298 #define SWIGTYPE_p_wxToolBarToolBase swig_types[74]
299 #define SWIGTYPE_p_wxColour swig_types[75]
300 #define SWIGTYPE_p_wxToolBar swig_types[76]
301 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[77]
302 #define SWIGTYPE_p_wxValidator swig_types[78]
303 static swig_type_info
*swig_types
[80];
305 /* -------- TYPES TABLE (END) -------- */
308 /*-----------------------------------------------
309 @(target):= _controls.so
310 ------------------------------------------------*/
311 #define SWIG_init init_controls
313 #define SWIG_name "_controls"
315 #include "wx/wxPython/wxPython.h"
316 #include "wx/wxPython/pyclasses.h"
318 DECLARE_DEF_STRING(PanelNameStr
);
319 DECLARE_DEF_STRING(EmptyString
);
320 DECLARE_DEF_STRING(ControlNameStr
);
324 DECLARE_DEF_STRING(ButtonNameStr
);
327 DECLARE_DEF_STRING(CheckBoxNameStr
);
330 DECLARE_DEF_STRING(ChoiceNameStr
);
333 DECLARE_DEF_STRING(ComboBoxNameStr
);
336 DECLARE_DEF_STRING(GaugeNameStr
);
339 DECLARE_DEF_STRING(StaticBitmapNameStr
);
340 DECLARE_DEF_STRING(StaticBoxNameStr
);
341 DECLARE_DEF_STRING(StaticTextNameStr
);
344 #include <wx/checklst.h>
346 DECLARE_DEF_STRING(ListBoxNameStr
);
348 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
350 wxPyClientData
* data
= new wxPyClientData(clientData
);
351 self
->Insert(item
, pos
, data
);
353 self
->Insert(item
, pos
);
355 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
357 self
->GetSelections(lst
);
358 PyObject
*tup
= PyTuple_New(lst
.GetCount());
359 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
360 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
365 DECLARE_DEF_STRING(TextCtrlNameStr
);
368 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
374 } else if (target
== Py_None
) {
378 if (!PyTuple_Check(target
)) {
380 target
= PyTuple_New(1);
381 PyTuple_SetItem(target
, 0, o2
);
384 PyTuple_SetItem(o3
, 0, o
);
387 target
= PySequence_Concat(o2
, o3
);
394 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
395 self
->AppendText(text
);
397 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
398 return self
->GetValue().Mid(from
, to
- from
);
401 DECLARE_DEF_STRING(ScrollBarNameStr
);
404 DECLARE_DEF_STRING(SPIN_BUTTON_NAME
);
405 wxChar
* wxSpinCtrlNameStr
= _T("wxSpinCtrl");
406 DECLARE_DEF_STRING(SpinCtrlNameStr
);
408 void wxSpinCtrl_SetSelection(wxSpinCtrl
*self
,long from
,long to
){
411 DECLARE_DEF_STRING(RadioBoxNameStr
);
412 DECLARE_DEF_STRING(RadioButtonNameStr
);
414 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
415 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
416 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
418 #include <wx/slider.h>
420 DECLARE_DEF_STRING(SliderNameStr
);
423 wxChar
* wxToggleButtonNameStr
= _T("wxToggleButton");
424 DECLARE_DEF_STRING(ToggleButtonNameStr
);
428 // implement dummy classes and such for wxMac
430 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
432 class wxToggleButton
: public wxControl
435 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
436 const wxPoint
&, const wxSize
&, long,
437 const wxValidator
&, const wxString
&)
438 { PyErr_SetNone(PyExc_NotImplementedError
); }
441 { PyErr_SetNone(PyExc_NotImplementedError
); }
446 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
449 DECLARE_DEF_STRING(ToolBarNameStr
);
451 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
452 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
454 Py_INCREF(udata
->m_obj
);
461 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
462 self
->SetClientData(new wxPyUserData(clientData
));
464 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
){
465 wxPyUserData
* udata
= NULL
;
466 if (clientData
&& clientData
!= Py_None
)
467 udata
= new wxPyUserData(clientData
);
468 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
469 shortHelp
, longHelp
, udata
);
471 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
){
472 wxPyUserData
* udata
= NULL
;
473 if (clientData
&& clientData
!= Py_None
)
474 udata
= new wxPyUserData(clientData
);
475 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
476 shortHelp
, longHelp
, udata
);
478 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
479 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
481 Py_INCREF(udata
->m_obj
);
488 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
489 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
492 #include <wx/listctrl.h>
494 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
495 DECLARE_DEF_STRING(ListCtrlNameStr
);
497 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
498 // Python aware sorting function for wxPyListCtrl
499 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
501 PyObject
* func
= (PyObject
*)funcPtr
;
502 wxPyBeginBlockThreads();
504 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
505 PyObject
* result
= PyEval_CallObject(func
, args
);
508 retval
= PyInt_AsLong(result
);
512 wxPyEndBlockThreads();
516 // C++ Version of a Python aware class
517 class wxPyListCtrl
: public wxListCtrl
{
518 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
520 wxPyListCtrl() : wxListCtrl() {}
521 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
525 const wxValidator
& validator
,
526 const wxString
& name
) :
527 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
529 bool Create(wxWindow
* parent
, wxWindowID id
,
533 const wxValidator
& validator
,
534 const wxString
& name
) {
535 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
538 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
539 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
540 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
545 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
547 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
548 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
549 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
551 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
553 item
.SetMask( wxLIST_MASK_STATE
|
561 if (self
->GetColumn(col
, item
))
562 return new wxListItem(item
);
566 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
567 wxListItem
* info
= new wxListItem
;
568 info
->m_itemId
= itemId
;
570 info
->m_mask
= 0xFFFF;
571 self
->GetItem(*info
);
574 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
576 self
->GetItemPosition(item
, pos
);
579 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
581 self
->GetItemRect(item
, rect
, code
);
584 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
585 if (!PyCallable_Check(func
))
587 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
589 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
593 return (wxWindow
*)self
->m_mainWin
;
597 #include <wx/treectrl.h>
598 #include "wx/wxPython/pytree.h"
600 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
601 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
603 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
604 if (!other
) return false;
605 return *self
== *other
;
607 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
608 if (!other
) return true;
609 return *self
!= *other
;
611 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
612 // C++ version of Python aware wxTreeCtrl
613 class wxPyTreeCtrl
: public wxTreeCtrl
{
614 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
616 wxPyTreeCtrl() : wxTreeCtrl() {}
617 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
621 const wxValidator
& validator
,
622 const wxString
& name
) :
623 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
625 bool Create(wxWindow
*parent
, wxWindowID id
,
629 const wxValidator
& validator
,
630 const wxString
& name
) {
631 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
635 int OnCompareItems(const wxTreeItemId
& item1
,
636 const wxTreeItemId
& item2
) {
639 wxPyBeginBlockThreads();
640 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
641 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
642 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
643 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
647 wxPyEndBlockThreads();
649 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
655 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
658 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
659 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
661 data
= new wxPyTreeItemData();
662 data
->SetId(item
); // set the id
663 self
->SetItemData(item
, data
);
667 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
668 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
670 data
= new wxPyTreeItemData();
671 data
->SetId(item
); // set the id
672 self
->SetItemData(item
, data
);
674 return data
->GetData();
676 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
677 data
->SetId(item
); // set the id
678 self
->SetItemData(item
, data
);
680 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
681 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
683 data
= new wxPyTreeItemData(obj
);
684 data
->SetId(item
); // set the id
685 self
->SetItemData(item
, data
);
689 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
690 wxPyBeginBlockThreads();
691 PyObject
* rval
= PyList_New(0);
692 wxArrayTreeItemIds array
;
694 num
= self
->GetSelections(array
);
695 for (x
=0; x
< num
; x
++) {
696 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
697 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
698 PyList_Append(rval
, item
);
700 wxPyEndBlockThreads();
703 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
704 wxTreeItemIdValue cookie
= 0;
705 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
706 wxPyBeginBlockThreads();
707 PyObject
* tup
= PyTuple_New(2);
708 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), true));
709 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), true));
710 wxPyEndBlockThreads();
713 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
714 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
715 wxPyBeginBlockThreads();
716 PyObject
* tup
= PyTuple_New(2);
717 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), true));
718 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), true));
719 wxPyEndBlockThreads();
722 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
724 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
725 wxPyBeginBlockThreads();
726 wxRect
* r
= new wxRect(rect
);
727 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
728 wxPyEndBlockThreads();
735 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
737 // C++ version of Python aware wxControl
738 class wxPyControl
: public wxControl
740 DECLARE_DYNAMIC_CLASS(wxPyControl
)
742 wxPyControl() : wxControl() {}
743 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
744 const wxPoint
& pos
= wxDefaultPosition
,
745 const wxSize
& size
= wxDefaultSize
,
747 const wxValidator
& validator
=wxDefaultValidator
,
748 const wxString
& name
= wxPyControlNameStr
)
749 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
752 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
753 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
754 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
755 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
757 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
758 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
759 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
761 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
762 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
764 DEC_PYCALLBACK__(InitDialog
);
765 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
766 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
767 DEC_PYCALLBACK_BOOL_(Validate
);
769 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
770 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
771 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
773 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
774 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
779 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
781 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
782 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
783 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
784 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
786 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
787 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
788 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
790 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
791 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
793 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
794 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
795 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
796 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
798 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
799 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
800 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
802 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
803 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
808 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
812 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
814 wxWindow
*arg1
= (wxWindow
*) 0 ;
817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
821 long arg6
= (long) 0 ;
822 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
823 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
824 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
831 PyObject
* obj0
= 0 ;
832 PyObject
* obj2
= 0 ;
833 PyObject
* obj3
= 0 ;
834 PyObject
* obj4
= 0 ;
835 PyObject
* obj6
= 0 ;
836 PyObject
* obj7
= 0 ;
838 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
844 arg3
= wxString_in_helper(obj2
);
845 if (arg3
== NULL
) SWIG_fail
;
851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
861 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
863 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
868 arg8
= wxString_in_helper(obj7
);
869 if (arg8
== NULL
) SWIG_fail
;
874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
875 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
877 wxPyEndAllowThreads(__tstate
);
878 if (PyErr_Occurred()) SWIG_fail
;
881 resultobj
= wxPyMake_wxObject(result
);
905 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 result
= (wxButton
*)new wxButton();
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) SWIG_fail
;
921 resultobj
= wxPyMake_wxObject(result
);
929 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 wxButton
*arg1
= (wxButton
*) 0 ;
932 wxWindow
*arg2
= (wxWindow
*) 0 ;
935 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
936 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
937 wxSize
const &arg6_defvalue
= wxDefaultSize
;
938 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
939 long arg7
= (long) 0 ;
940 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
941 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
942 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
943 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
949 PyObject
* obj0
= 0 ;
950 PyObject
* obj1
= 0 ;
951 PyObject
* obj3
= 0 ;
952 PyObject
* obj4
= 0 ;
953 PyObject
* obj5
= 0 ;
954 PyObject
* obj7
= 0 ;
955 PyObject
* obj8
= 0 ;
957 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
964 arg4
= wxString_in_helper(obj3
);
965 if (arg4
== NULL
) SWIG_fail
;
971 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
977 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
981 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
983 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
988 arg9
= wxString_in_helper(obj8
);
989 if (arg9
== NULL
) SWIG_fail
;
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
995 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) SWIG_fail
;
1000 resultobj
= PyInt_FromLong((long)result
);
1023 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
*resultobj
;
1025 wxButton
*arg1
= (wxButton
*) 0 ;
1026 PyObject
* obj0
= 0 ;
1028 (char *) "self", NULL
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 (arg1
)->SetDefault();
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) SWIG_fail
;
1040 Py_INCREF(Py_None
); resultobj
= Py_None
;
1047 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
*resultobj
;
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 result
= wxButton::GetDefaultSize();
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1064 resultptr
= new wxSize((wxSize
&) result
);
1065 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1073 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1076 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1078 return Py_BuildValue((char *)"");
1080 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
*resultobj
;
1082 wxWindow
*arg1
= (wxWindow
*) 0 ;
1084 wxBitmap
*arg3
= 0 ;
1085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1089 long arg6
= (long) wxBU_AUTODRAW
;
1090 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1091 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1092 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1094 wxBitmapButton
*result
;
1097 bool temp8
= false ;
1098 PyObject
* obj0
= 0 ;
1099 PyObject
* obj2
= 0 ;
1100 PyObject
* obj3
= 0 ;
1101 PyObject
* obj4
= 0 ;
1102 PyObject
* obj6
= 0 ;
1103 PyObject
* obj7
= 0 ;
1105 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1110 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1117 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1123 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1127 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1129 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1134 arg8
= wxString_in_helper(obj7
);
1135 if (arg8
== NULL
) SWIG_fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1147 resultobj
= wxPyMake_wxObject(result
);
1163 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
*resultobj
;
1165 wxBitmapButton
*result
;
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1173 result
= (wxBitmapButton
*)new wxBitmapButton();
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) SWIG_fail
;
1179 resultobj
= wxPyMake_wxObject(result
);
1187 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
*resultobj
;
1189 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1190 wxWindow
*arg2
= (wxWindow
*) 0 ;
1192 wxBitmap
*arg4
= 0 ;
1193 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1194 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1195 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1196 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1197 long arg7
= (long) wxBU_AUTODRAW
;
1198 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1199 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1200 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1201 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1205 bool temp9
= false ;
1206 PyObject
* obj0
= 0 ;
1207 PyObject
* obj1
= 0 ;
1208 PyObject
* obj3
= 0 ;
1209 PyObject
* obj4
= 0 ;
1210 PyObject
* obj5
= 0 ;
1211 PyObject
* obj7
= 0 ;
1212 PyObject
* obj8
= 0 ;
1214 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1220 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1227 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1233 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1237 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1244 arg9
= wxString_in_helper(obj8
);
1245 if (arg9
== NULL
) SWIG_fail
;
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1256 resultobj
= PyInt_FromLong((long)result
);
1271 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
*resultobj
;
1273 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1275 PyObject
* obj0
= 0 ;
1277 (char *) "self", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1284 result
= (arg1
)->GetBitmapLabel();
1286 wxPyEndAllowThreads(__tstate
);
1287 if (PyErr_Occurred()) SWIG_fail
;
1290 wxBitmap
* resultptr
;
1291 resultptr
= new wxBitmap((wxBitmap
&) result
);
1292 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1300 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1302 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1304 PyObject
* obj0
= 0 ;
1306 (char *) "self", NULL
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 result
= (arg1
)->GetBitmapDisabled();
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) SWIG_fail
;
1319 wxBitmap
* resultptr
;
1320 resultptr
= new wxBitmap((wxBitmap
&) result
);
1321 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1329 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
*resultobj
;
1331 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1333 PyObject
* obj0
= 0 ;
1335 (char *) "self", NULL
1338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 result
= (arg1
)->GetBitmapFocus();
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1348 wxBitmap
* resultptr
;
1349 resultptr
= new wxBitmap((wxBitmap
&) result
);
1350 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1358 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
*resultobj
;
1360 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1362 PyObject
* obj0
= 0 ;
1364 (char *) "self", NULL
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1371 result
= (arg1
)->GetBitmapSelected();
1373 wxPyEndAllowThreads(__tstate
);
1374 if (PyErr_Occurred()) SWIG_fail
;
1377 wxBitmap
* resultptr
;
1378 resultptr
= new wxBitmap((wxBitmap
&) result
);
1379 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1387 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
*resultobj
;
1389 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1390 wxBitmap
*arg2
= 0 ;
1391 PyObject
* obj0
= 0 ;
1392 PyObject
* obj1
= 0 ;
1394 (char *) "self",(char *) "bitmap", NULL
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) SWIG_fail
;
1410 Py_INCREF(Py_None
); resultobj
= Py_None
;
1417 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
*resultobj
;
1419 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1420 wxBitmap
*arg2
= 0 ;
1421 PyObject
* obj0
= 0 ;
1422 PyObject
* obj1
= 0 ;
1424 (char *) "self",(char *) "bitmap", NULL
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1440 Py_INCREF(Py_None
); resultobj
= Py_None
;
1447 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1449 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1450 wxBitmap
*arg2
= 0 ;
1451 PyObject
* obj0
= 0 ;
1452 PyObject
* obj1
= 0 ;
1454 (char *) "self",(char *) "bitmap", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1461 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1465 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1467 wxPyEndAllowThreads(__tstate
);
1468 if (PyErr_Occurred()) SWIG_fail
;
1470 Py_INCREF(Py_None
); resultobj
= Py_None
;
1477 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1480 wxBitmap
*arg2
= 0 ;
1481 PyObject
* obj0
= 0 ;
1482 PyObject
* obj1
= 0 ;
1484 (char *) "self",(char *) "bitmap", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1500 Py_INCREF(Py_None
); resultobj
= Py_None
;
1507 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
*resultobj
;
1509 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1512 PyObject
* obj0
= 0 ;
1514 (char *) "self",(char *) "x",(char *) "y", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 (arg1
)->SetMargins(arg2
,arg3
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1526 Py_INCREF(Py_None
); resultobj
= Py_None
;
1533 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1535 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1537 PyObject
* obj0
= 0 ;
1539 (char *) "self", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1551 resultobj
= PyInt_FromLong((long)result
);
1558 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
*resultobj
;
1560 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1562 PyObject
* obj0
= 0 ;
1564 (char *) "self", NULL
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= PyInt_FromLong((long)result
);
1583 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1586 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1588 return Py_BuildValue((char *)"");
1590 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxWindow
*arg1
= (wxWindow
*) 0 ;
1594 wxString
*arg3
= 0 ;
1595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1599 long arg6
= (long) 0 ;
1600 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1601 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1602 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1603 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1605 bool temp3
= false ;
1608 bool temp8
= false ;
1609 PyObject
* obj0
= 0 ;
1610 PyObject
* obj2
= 0 ;
1611 PyObject
* obj3
= 0 ;
1612 PyObject
* obj4
= 0 ;
1613 PyObject
* obj6
= 0 ;
1614 PyObject
* obj7
= 0 ;
1616 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1622 arg3
= wxString_in_helper(obj2
);
1623 if (arg3
== NULL
) SWIG_fail
;
1629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1639 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1646 arg8
= wxString_in_helper(obj7
);
1647 if (arg8
== NULL
) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1681 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 result
= (wxCheckBox
*)new wxCheckBox();
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1696 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1703 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
*resultobj
;
1705 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1706 wxWindow
*arg2
= (wxWindow
*) 0 ;
1708 wxString
*arg4
= 0 ;
1709 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1710 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1711 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1712 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1713 long arg7
= (long) 0 ;
1714 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1715 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1716 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1717 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1719 bool temp4
= false ;
1722 bool temp9
= false ;
1723 PyObject
* obj0
= 0 ;
1724 PyObject
* obj1
= 0 ;
1725 PyObject
* obj3
= 0 ;
1726 PyObject
* obj4
= 0 ;
1727 PyObject
* obj5
= 0 ;
1728 PyObject
* obj7
= 0 ;
1729 PyObject
* obj8
= 0 ;
1731 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1738 arg4
= wxString_in_helper(obj3
);
1739 if (arg4
== NULL
) SWIG_fail
;
1745 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1751 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1755 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1762 arg9
= wxString_in_helper(obj8
);
1763 if (arg9
== NULL
) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 resultobj
= PyInt_FromLong((long)result
);
1797 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1801 PyObject
* obj0
= 0 ;
1803 (char *) "self", NULL
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= (bool)(arg1
)->GetValue();
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 resultobj
= PyInt_FromLong((long)result
);
1822 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
*resultobj
;
1824 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1826 PyObject
* obj0
= 0 ;
1828 (char *) "self", NULL
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 result
= (bool)(arg1
)->IsChecked();
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1840 resultobj
= PyInt_FromLong((long)result
);
1847 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
*resultobj
;
1849 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1851 PyObject
* obj0
= 0 ;
1852 PyObject
* obj1
= 0 ;
1854 (char *) "self",(char *) "state", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1859 arg2
= PyInt_AsLong(obj1
) ? true : false;
1860 if (PyErr_Occurred()) SWIG_fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 (arg1
)->SetValue(arg2
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 Py_INCREF(Py_None
); resultobj
= Py_None
;
1875 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1879 PyObject
* obj0
= 0 ;
1881 (char *) "self", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 resultobj
= PyInt_FromLong((long)result
);
1900 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
*resultobj
;
1902 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1904 PyObject
* obj0
= 0 ;
1906 (char *) "self",(char *) "state", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 Py_INCREF(Py_None
); resultobj
= Py_None
;
1925 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1931 (char *) "self", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= PyInt_FromLong((long)result
);
1950 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
*resultobj
;
1952 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1956 (char *) "self", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1968 resultobj
= PyInt_FromLong((long)result
);
1975 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
1977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1978 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
1980 return Py_BuildValue((char *)"");
1982 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxWindow
*arg1
= (wxWindow
*) 0 ;
1986 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1987 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1988 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1989 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1990 int arg5
= (int) 0 ;
1991 wxString
*arg6
= (wxString
*) NULL
;
1992 long arg7
= (long) 0 ;
1993 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1994 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1995 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
1996 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2000 bool temp8
= false ;
2001 PyObject
* obj0
= 0 ;
2002 PyObject
* obj2
= 0 ;
2003 PyObject
* obj3
= 0 ;
2004 PyObject
* obj4
= 0 ;
2005 PyObject
* obj6
= 0 ;
2006 PyObject
* obj7
= 0 ;
2008 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2022 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2027 arg5
= PyList_Size(obj4
);
2028 arg6
= wxString_LIST_helper(obj4
);
2029 if (arg6
== NULL
) SWIG_fail
;
2033 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2040 arg9
= wxString_in_helper(obj7
);
2041 if (arg9
== NULL
) SWIG_fail
;
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2052 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2054 if (arg6
) delete [] arg6
;
2063 if (arg6
) delete [] arg6
;
2073 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
*resultobj
;
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 result
= (wxChoice
*)new wxChoice();
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2088 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2095 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2097 wxChoice
*arg1
= (wxChoice
*) 0 ;
2098 wxWindow
*arg2
= (wxWindow
*) 0 ;
2100 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2101 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2102 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2103 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2104 int arg6
= (int) 0 ;
2105 wxString
*arg7
= (wxString
*) NULL
;
2106 long arg8
= (long) 0 ;
2107 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2108 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2109 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2110 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2114 bool temp9
= false ;
2115 PyObject
* obj0
= 0 ;
2116 PyObject
* obj1
= 0 ;
2117 PyObject
* obj3
= 0 ;
2118 PyObject
* obj4
= 0 ;
2119 PyObject
* obj5
= 0 ;
2120 PyObject
* obj7
= 0 ;
2121 PyObject
* obj8
= 0 ;
2123 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2128 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2143 arg6
= PyList_Size(obj5
);
2144 arg7
= wxString_LIST_helper(obj5
);
2145 if (arg7
== NULL
) SWIG_fail
;
2149 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2156 arg10
= wxString_in_helper(obj8
);
2157 if (arg10
== NULL
) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= PyInt_FromLong((long)result
);
2170 if (arg7
) delete [] arg7
;
2179 if (arg7
) delete [] arg7
;
2189 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 wxChoice
*arg1
= (wxChoice
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2195 (char *) "self", NULL
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 result
= (int)(arg1
)->GetColumns();
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= PyInt_FromLong((long)result
);
2214 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxChoice
*arg1
= (wxChoice
*) 0 ;
2217 int arg2
= (int) (int)1 ;
2218 PyObject
* obj0
= 0 ;
2220 (char *) "self",(char *) "n", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 (arg1
)->SetColumns(arg2
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 Py_INCREF(Py_None
); resultobj
= Py_None
;
2239 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 wxChoice
*arg1
= (wxChoice
*) 0 ;
2243 PyObject
* obj0
= 0 ;
2245 (char *) "self",(char *) "n", NULL
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 (arg1
)->SetSelection(arg2
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2257 Py_INCREF(Py_None
); resultobj
= Py_None
;
2264 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2266 wxChoice
*arg1
= (wxChoice
*) 0 ;
2267 wxString
*arg2
= 0 ;
2268 bool temp2
= false ;
2269 PyObject
* obj0
= 0 ;
2270 PyObject
* obj1
= 0 ;
2272 (char *) "self",(char *) "string", NULL
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2278 arg2
= wxString_in_helper(obj1
);
2279 if (arg2
== NULL
) SWIG_fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 Py_INCREF(Py_None
); resultobj
= Py_None
;
2304 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
*resultobj
;
2306 wxChoice
*arg1
= (wxChoice
*) 0 ;
2308 wxString
*arg3
= 0 ;
2309 bool temp3
= false ;
2310 PyObject
* obj0
= 0 ;
2311 PyObject
* obj2
= 0 ;
2313 (char *) "self",(char *) "n",(char *) "s", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2319 arg3
= wxString_in_helper(obj2
);
2320 if (arg3
== NULL
) SWIG_fail
;
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2330 Py_INCREF(Py_None
); resultobj
= Py_None
;
2345 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2348 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2350 return Py_BuildValue((char *)"");
2352 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxWindow
*arg1
= (wxWindow
*) 0 ;
2356 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2357 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2362 int arg6
= (int) 0 ;
2363 wxString
*arg7
= (wxString
*) NULL
;
2364 long arg8
= (long) 0 ;
2365 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2366 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2367 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2368 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2370 bool temp3
= false ;
2373 bool temp9
= false ;
2374 PyObject
* obj0
= 0 ;
2375 PyObject
* obj2
= 0 ;
2376 PyObject
* obj3
= 0 ;
2377 PyObject
* obj4
= 0 ;
2378 PyObject
* obj5
= 0 ;
2379 PyObject
* obj7
= 0 ;
2380 PyObject
* obj8
= 0 ;
2382 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2389 arg3
= wxString_in_helper(obj2
);
2390 if (arg3
== NULL
) SWIG_fail
;
2397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2408 arg6
= PyList_Size(obj5
);
2409 arg7
= wxString_LIST_helper(obj5
);
2410 if (arg7
== NULL
) SWIG_fail
;
2414 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2416 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2421 arg10
= wxString_in_helper(obj8
);
2422 if (arg10
== NULL
) SWIG_fail
;
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2433 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2439 if (arg7
) delete [] arg7
;
2452 if (arg7
) delete [] arg7
;
2462 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
*resultobj
;
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 result
= (wxComboBox
*)new wxComboBox();
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2484 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2487 wxWindow
*arg2
= (wxWindow
*) 0 ;
2489 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2490 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2491 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2492 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2493 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2494 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2495 int arg7
= (int) 0 ;
2496 wxString
*arg8
= (wxString
*) NULL
;
2497 long arg9
= (long) 0 ;
2498 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2499 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2500 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2501 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2503 bool temp4
= false ;
2506 bool temp10
= false ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2509 PyObject
* obj3
= 0 ;
2510 PyObject
* obj4
= 0 ;
2511 PyObject
* obj5
= 0 ;
2512 PyObject
* obj6
= 0 ;
2513 PyObject
* obj8
= 0 ;
2514 PyObject
* obj9
= 0 ;
2516 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2524 arg4
= wxString_in_helper(obj3
);
2525 if (arg4
== NULL
) SWIG_fail
;
2532 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2538 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2543 arg7
= PyList_Size(obj6
);
2544 arg8
= wxString_LIST_helper(obj6
);
2545 if (arg8
== NULL
) SWIG_fail
;
2549 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2550 if (arg10
== NULL
) {
2551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2556 arg11
= wxString_in_helper(obj9
);
2557 if (arg11
== NULL
) SWIG_fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 resultobj
= PyInt_FromLong((long)result
);
2574 if (arg8
) delete [] arg8
;
2587 if (arg8
) delete [] arg8
;
2597 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
*resultobj
;
2599 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2601 PyObject
* obj0
= 0 ;
2603 (char *) "self", NULL
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2610 result
= ((wxComboBox
const *)arg1
)->GetValue();
2612 wxPyEndAllowThreads(__tstate
);
2613 if (PyErr_Occurred()) SWIG_fail
;
2617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2628 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
*resultobj
;
2630 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2631 wxString
*arg2
= 0 ;
2632 bool temp2
= false ;
2633 PyObject
* obj0
= 0 ;
2634 PyObject
* obj1
= 0 ;
2636 (char *) "self",(char *) "value", NULL
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2642 arg2
= wxString_in_helper(obj1
);
2643 if (arg2
== NULL
) SWIG_fail
;
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 (arg1
)->SetValue((wxString
const &)*arg2
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2653 Py_INCREF(Py_None
); resultobj
= Py_None
;
2668 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2671 PyObject
* obj0
= 0 ;
2673 (char *) "self", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2685 Py_INCREF(Py_None
); resultobj
= Py_None
;
2692 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2695 PyObject
* obj0
= 0 ;
2697 (char *) "self", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2709 Py_INCREF(Py_None
); resultobj
= Py_None
;
2716 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2719 PyObject
* obj0
= 0 ;
2721 (char *) "self", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) SWIG_fail
;
2733 Py_INCREF(Py_None
); resultobj
= Py_None
;
2740 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2744 PyObject
* obj0
= 0 ;
2746 (char *) "self",(char *) "pos", NULL
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 (arg1
)->SetInsertionPoint(arg2
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 Py_INCREF(Py_None
); resultobj
= Py_None
;
2765 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2769 PyObject
* obj0
= 0 ;
2771 (char *) "self", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 resultobj
= PyInt_FromLong((long)result
);
2790 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2794 PyObject
* obj0
= 0 ;
2796 (char *) "self", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
2800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2803 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
2805 wxPyEndAllowThreads(__tstate
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2808 resultobj
= PyInt_FromLong((long)result
);
2815 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2820 wxString
*arg4
= 0 ;
2821 bool temp4
= false ;
2822 PyObject
* obj0
= 0 ;
2823 PyObject
* obj3
= 0 ;
2825 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2831 arg4
= wxString_in_helper(obj3
);
2832 if (arg4
== NULL
) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 Py_INCREF(Py_None
); resultobj
= Py_None
;
2857 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2862 PyObject
* obj0
= 0 ;
2864 (char *) "self",(char *) "from",(char *) "to", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 (arg1
)->SetSelection(arg2
,arg3
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2876 Py_INCREF(Py_None
); resultobj
= Py_None
;
2883 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2887 PyObject
* obj0
= 0 ;
2888 PyObject
* obj1
= 0 ;
2890 (char *) "self",(char *) "editable", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
2894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2895 arg2
= PyInt_AsLong(obj1
) ? true : false;
2896 if (PyErr_Occurred()) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 (arg1
)->SetEditable(arg2
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 Py_INCREF(Py_None
); resultobj
= Py_None
;
2911 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2914 PyObject
* obj0
= 0 ;
2916 (char *) "self", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 (arg1
)->SetInsertionPointEnd();
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2928 Py_INCREF(Py_None
); resultobj
= Py_None
;
2935 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2937 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2940 PyObject
* obj0
= 0 ;
2942 (char *) "self",(char *) "from",(char *) "to", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 (arg1
)->Remove(arg2
,arg3
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2954 Py_INCREF(Py_None
); resultobj
= Py_None
;
2961 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
2963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2964 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
2966 return Py_BuildValue((char *)"");
2968 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxWindow
*arg1
= (wxWindow
*) 0 ;
2973 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2974 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2975 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2976 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2977 long arg6
= (long) wxGA_HORIZONTAL
;
2978 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2979 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2980 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
2981 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2985 bool temp8
= false ;
2986 PyObject
* obj0
= 0 ;
2987 PyObject
* obj3
= 0 ;
2988 PyObject
* obj4
= 0 ;
2989 PyObject
* obj6
= 0 ;
2990 PyObject
* obj7
= 0 ;
2992 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
2996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3000 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3006 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3010 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3012 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3017 arg8
= wxString_in_helper(obj7
);
3018 if (arg8
== NULL
) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3044 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 result
= (wxGauge
*)new wxGauge();
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) SWIG_fail
;
3059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3066 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxGauge
*arg1
= (wxGauge
*) 0 ;
3069 wxWindow
*arg2
= (wxWindow
*) 0 ;
3072 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3073 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3074 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3075 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3076 long arg7
= (long) wxGA_HORIZONTAL
;
3077 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3078 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3079 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3080 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3084 bool temp9
= false ;
3085 PyObject
* obj0
= 0 ;
3086 PyObject
* obj1
= 0 ;
3087 PyObject
* obj4
= 0 ;
3088 PyObject
* obj5
= 0 ;
3089 PyObject
* obj7
= 0 ;
3090 PyObject
* obj8
= 0 ;
3092 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3101 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3107 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3111 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3118 arg9
= wxString_in_helper(obj8
);
3119 if (arg9
== NULL
) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3130 resultobj
= PyInt_FromLong((long)result
);
3145 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
*resultobj
;
3147 wxGauge
*arg1
= (wxGauge
*) 0 ;
3149 PyObject
* obj0
= 0 ;
3151 (char *) "self",(char *) "range", NULL
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 (arg1
)->SetRange(arg2
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3163 Py_INCREF(Py_None
); resultobj
= Py_None
;
3170 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3172 wxGauge
*arg1
= (wxGauge
*) 0 ;
3174 PyObject
* obj0
= 0 ;
3176 (char *) "self", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3188 resultobj
= PyInt_FromLong((long)result
);
3195 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxGauge
*arg1
= (wxGauge
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3201 (char *) "self",(char *) "pos", NULL
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 (arg1
)->SetValue(arg2
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3213 Py_INCREF(Py_None
); resultobj
= Py_None
;
3220 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxGauge
*arg1
= (wxGauge
*) 0 ;
3224 PyObject
* obj0
= 0 ;
3226 (char *) "self", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 resultobj
= PyInt_FromLong((long)result
);
3245 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxGauge
*arg1
= (wxGauge
*) 0 ;
3249 PyObject
* obj0
= 0 ;
3251 (char *) "self", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 resultobj
= PyInt_FromLong((long)result
);
3270 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxGauge
*arg1
= (wxGauge
*) 0 ;
3274 PyObject
* obj0
= 0 ;
3276 (char *) "self",(char *) "w", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 (arg1
)->SetShadowWidth(arg2
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 Py_INCREF(Py_None
); resultobj
= Py_None
;
3295 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxGauge
*arg1
= (wxGauge
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3301 (char *) "self", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3313 resultobj
= PyInt_FromLong((long)result
);
3320 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
*resultobj
;
3322 wxGauge
*arg1
= (wxGauge
*) 0 ;
3324 PyObject
* obj0
= 0 ;
3326 (char *) "self",(char *) "w", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 (arg1
)->SetBezelFace(arg2
);
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3338 Py_INCREF(Py_None
); resultobj
= Py_None
;
3345 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxGauge
*arg1
= (wxGauge
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 resultobj
= PyInt_FromLong((long)result
);
3370 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3373 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3375 return Py_BuildValue((char *)"");
3377 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxWindow
*arg1
= (wxWindow
*) 0 ;
3381 wxString
*arg3
= 0 ;
3382 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3383 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3384 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3385 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3386 long arg6
= (long) 0 ;
3387 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3388 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3389 wxStaticBox
*result
;
3390 bool temp3
= false ;
3393 bool temp7
= false ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj2
= 0 ;
3396 PyObject
* obj3
= 0 ;
3397 PyObject
* obj4
= 0 ;
3398 PyObject
* obj6
= 0 ;
3400 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3406 arg3
= wxString_in_helper(obj2
);
3407 if (arg3
== NULL
) SWIG_fail
;
3413 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3419 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3424 arg7
= wxString_in_helper(obj6
);
3425 if (arg7
== NULL
) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3437 resultobj
= wxPyMake_wxObject(result
);
3461 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxStaticBox
*result
;
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (wxStaticBox
*)new wxStaticBox();
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= wxPyMake_wxObject(result
);
3485 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3488 wxWindow
*arg2
= (wxWindow
*) 0 ;
3490 wxString
*arg4
= 0 ;
3491 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3492 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3493 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3494 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3495 long arg7
= (long) 0 ;
3496 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3497 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3499 bool temp4
= false ;
3502 bool temp8
= false ;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3505 PyObject
* obj3
= 0 ;
3506 PyObject
* obj4
= 0 ;
3507 PyObject
* obj5
= 0 ;
3508 PyObject
* obj7
= 0 ;
3510 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3515 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3517 arg4
= wxString_in_helper(obj3
);
3518 if (arg4
== NULL
) SWIG_fail
;
3524 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3530 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3535 arg8
= wxString_in_helper(obj7
);
3536 if (arg8
== NULL
) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 resultobj
= PyInt_FromLong((long)result
);
3570 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3573 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3575 return Py_BuildValue((char *)"");
3577 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3579 wxWindow
*arg1
= (wxWindow
*) 0 ;
3581 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3582 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3583 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3584 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3585 long arg5
= (long) wxLI_HORIZONTAL
;
3586 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3587 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3588 wxStaticLine
*result
;
3591 bool temp6
= false ;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj2
= 0 ;
3594 PyObject
* obj3
= 0 ;
3595 PyObject
* obj5
= 0 ;
3597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3611 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3616 arg6
= wxString_in_helper(obj5
);
3617 if (arg6
== NULL
) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3643 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxStaticLine
*result
;
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (wxStaticLine
*)new wxStaticLine();
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3665 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3668 wxWindow
*arg2
= (wxWindow
*) 0 ;
3670 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3671 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3672 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3673 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3674 long arg6
= (long) wxLI_HORIZONTAL
;
3675 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3680 bool temp7
= false ;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3683 PyObject
* obj3
= 0 ;
3684 PyObject
* obj4
= 0 ;
3685 PyObject
* obj6
= 0 ;
3687 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3696 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3702 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3707 arg7
= wxString_in_helper(obj6
);
3708 if (arg7
== NULL
) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= PyInt_FromLong((long)result
);
3734 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3740 (char *) "self", NULL
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 resultobj
= PyInt_FromLong((long)result
);
3759 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= (int)wxStaticLine::GetDefaultSize();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= PyInt_FromLong((long)result
);
3781 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3784 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3786 return Py_BuildValue((char *)"");
3788 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
*resultobj
;
3790 wxWindow
*arg1
= (wxWindow
*) 0 ;
3792 wxString
*arg3
= 0 ;
3793 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3794 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3795 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3796 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3797 long arg6
= (long) 0 ;
3798 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3799 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3800 wxStaticText
*result
;
3801 bool temp3
= false ;
3804 bool temp7
= false ;
3805 PyObject
* obj0
= 0 ;
3806 PyObject
* obj2
= 0 ;
3807 PyObject
* obj3
= 0 ;
3808 PyObject
* obj4
= 0 ;
3809 PyObject
* obj6
= 0 ;
3811 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3817 arg3
= wxString_in_helper(obj2
);
3818 if (arg3
== NULL
) SWIG_fail
;
3824 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3830 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3835 arg7
= wxString_in_helper(obj6
);
3836 if (arg7
== NULL
) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3870 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxStaticText
*result
;
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (wxStaticText
*)new wxStaticText();
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3892 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
3895 wxWindow
*arg2
= (wxWindow
*) 0 ;
3897 wxString
*arg4
= 0 ;
3898 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3899 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3900 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3901 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3902 long arg7
= (long) 0 ;
3903 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
3904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3906 bool temp4
= false ;
3909 bool temp8
= false ;
3910 PyObject
* obj0
= 0 ;
3911 PyObject
* obj1
= 0 ;
3912 PyObject
* obj3
= 0 ;
3913 PyObject
* obj4
= 0 ;
3914 PyObject
* obj5
= 0 ;
3915 PyObject
* obj7
= 0 ;
3917 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3924 arg4
= wxString_in_helper(obj3
);
3925 if (arg4
== NULL
) SWIG_fail
;
3931 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3937 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3942 arg8
= wxString_in_helper(obj7
);
3943 if (arg8
== NULL
) SWIG_fail
;
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 resultobj
= PyInt_FromLong((long)result
);
3977 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
3979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3980 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
3982 return Py_BuildValue((char *)"");
3984 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxWindow
*arg1
= (wxWindow
*) 0 ;
3988 wxBitmap
*arg3
= 0 ;
3989 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3990 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3991 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3992 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3993 long arg6
= (long) 0 ;
3994 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
3995 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3996 wxStaticBitmap
*result
;
3999 bool temp7
= false ;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj2
= 0 ;
4002 PyObject
* obj3
= 0 ;
4003 PyObject
* obj4
= 0 ;
4004 PyObject
* obj6
= 0 ;
4006 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4011 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4013 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4029 arg7
= wxString_in_helper(obj6
);
4030 if (arg7
== NULL
) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4056 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxStaticBitmap
*result
;
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4078 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4081 wxWindow
*arg2
= (wxWindow
*) 0 ;
4083 wxBitmap
*arg4
= 0 ;
4084 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4085 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4086 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4087 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4088 long arg7
= (long) 0 ;
4089 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4090 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4094 bool temp8
= false ;
4095 PyObject
* obj0
= 0 ;
4096 PyObject
* obj1
= 0 ;
4097 PyObject
* obj3
= 0 ;
4098 PyObject
* obj4
= 0 ;
4099 PyObject
* obj5
= 0 ;
4100 PyObject
* obj7
= 0 ;
4102 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4108 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4115 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4121 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4126 arg8
= wxString_in_helper(obj7
);
4127 if (arg8
== NULL
) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= PyInt_FromLong((long)result
);
4153 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4157 PyObject
* obj0
= 0 ;
4159 (char *) "self", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (arg1
)->GetBitmap();
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4172 wxBitmap
* resultptr
;
4173 resultptr
= new wxBitmap((wxBitmap
&) result
);
4174 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4182 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4185 wxBitmap
*arg2
= 0 ;
4186 PyObject
* obj0
= 0 ;
4187 PyObject
* obj1
= 0 ;
4189 (char *) "self",(char *) "bitmap", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4194 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4196 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 (char *) "self",(char *) "icon", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 Py_INCREF(Py_None
); resultobj
= Py_None
;
4242 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4245 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4247 return Py_BuildValue((char *)"");
4249 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxWindow
*arg1
= (wxWindow
*) 0 ;
4253 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4254 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4255 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4256 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4257 int arg5
= (int) 0 ;
4258 wxString
*arg6
= (wxString
*) NULL
;
4259 long arg7
= (long) 0 ;
4260 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4261 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4262 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4263 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4267 bool temp8
= false ;
4268 PyObject
* obj0
= 0 ;
4269 PyObject
* obj2
= 0 ;
4270 PyObject
* obj3
= 0 ;
4271 PyObject
* obj4
= 0 ;
4272 PyObject
* obj6
= 0 ;
4273 PyObject
* obj7
= 0 ;
4275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4283 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4289 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4294 arg5
= PyList_Size(obj4
);
4295 arg6
= wxString_LIST_helper(obj4
);
4296 if (arg6
== NULL
) SWIG_fail
;
4300 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4307 arg9
= wxString_in_helper(obj7
);
4308 if (arg9
== NULL
) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4321 if (arg6
) delete [] arg6
;
4330 if (arg6
) delete [] arg6
;
4340 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= (wxListBox
*)new wxListBox();
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4362 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxListBox
*arg1
= (wxListBox
*) 0 ;
4365 wxWindow
*arg2
= (wxWindow
*) 0 ;
4367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4371 int arg6
= (int) 0 ;
4372 wxString
*arg7
= (wxString
*) NULL
;
4373 long arg8
= (long) 0 ;
4374 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4375 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4376 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4377 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4381 bool temp9
= false ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4384 PyObject
* obj3
= 0 ;
4385 PyObject
* obj4
= 0 ;
4386 PyObject
* obj5
= 0 ;
4387 PyObject
* obj7
= 0 ;
4388 PyObject
* obj8
= 0 ;
4390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4410 arg6
= PyList_Size(obj5
);
4411 arg7
= wxString_LIST_helper(obj5
);
4412 if (arg7
== NULL
) SWIG_fail
;
4416 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4418 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4423 arg10
= wxString_in_helper(obj8
);
4424 if (arg10
== NULL
) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= PyInt_FromLong((long)result
);
4437 if (arg7
) delete [] arg7
;
4446 if (arg7
) delete [] arg7
;
4456 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxListBox
*arg1
= (wxListBox
*) 0 ;
4459 wxString
*arg2
= 0 ;
4461 PyObject
*arg4
= (PyObject
*) NULL
;
4462 bool temp2
= false ;
4463 PyObject
* obj0
= 0 ;
4464 PyObject
* obj1
= 0 ;
4465 PyObject
* obj3
= 0 ;
4467 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4473 arg2
= wxString_in_helper(obj1
);
4474 if (arg2
== NULL
) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 Py_INCREF(Py_None
); resultobj
= Py_None
;
4502 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxListBox
*arg1
= (wxListBox
*) 0 ;
4505 wxArrayString
*arg2
= 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "self",(char *) "items",(char *) "pos", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4516 if (! PySequence_Check(obj1
)) {
4517 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4520 arg2
= new wxArrayString
;
4521 int i
, len
=PySequence_Length(obj1
);
4522 for (i
=0; i
<len
; i
++) {
4523 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4525 PyObject
* str
= PyObject_Unicode(item
);
4527 PyObject
* str
= PyObject_Str(item
);
4529 arg2
->Add(Py2wxString(str
));
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 Py_INCREF(Py_None
); resultobj
= Py_None
;
4543 if (arg2
) delete arg2
;
4548 if (arg2
) delete arg2
;
4554 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxListBox
*arg1
= (wxListBox
*) 0 ;
4557 wxArrayString
*arg2
= 0 ;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4561 (char *) "self",(char *) "items", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4567 if (! PySequence_Check(obj1
)) {
4568 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4571 arg2
= new wxArrayString
;
4572 int i
, len
=PySequence_Length(obj1
);
4573 for (i
=0; i
<len
; i
++) {
4574 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4576 PyObject
* str
= PyObject_Unicode(item
);
4578 PyObject
* str
= PyObject_Str(item
);
4580 arg2
->Add(Py2wxString(str
));
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 (arg1
)->Set((wxArrayString
const &)*arg2
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 Py_INCREF(Py_None
); resultobj
= Py_None
;
4594 if (arg2
) delete arg2
;
4599 if (arg2
) delete arg2
;
4605 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxListBox
*arg1
= (wxListBox
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4612 (char *) "self",(char *) "n", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 resultobj
= PyInt_FromLong((long)result
);
4631 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxListBox
*arg1
= (wxListBox
*) 0 ;
4635 bool arg3
= (bool) TRUE
;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj2
= 0 ;
4639 (char *) "self",(char *) "n",(char *) "select", NULL
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4645 arg3
= PyInt_AsLong(obj2
) ? true : false;
4646 if (PyErr_Occurred()) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 (arg1
)->SetSelection(arg2
,arg3
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxListBox
*arg1
= (wxListBox
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self",(char *) "n", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 (arg1
)->Select(arg2
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 Py_INCREF(Py_None
); resultobj
= Py_None
;
4687 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxListBox
*arg1
= (wxListBox
*) 0 ;
4691 PyObject
* obj0
= 0 ;
4693 (char *) "self",(char *) "n", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
4697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 (arg1
)->Deselect(arg2
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxListBox
*arg1
= (wxListBox
*) 0 ;
4715 int arg2
= (int) -1 ;
4716 PyObject
* obj0
= 0 ;
4718 (char *) "self",(char *) "itemToLeaveSelected", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 (arg1
)->DeselectAll(arg2
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 Py_INCREF(Py_None
); resultobj
= Py_None
;
4737 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxListBox
*arg1
= (wxListBox
*) 0 ;
4740 wxString
*arg2
= 0 ;
4741 bool arg3
= (bool) TRUE
;
4743 bool temp2
= false ;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4746 PyObject
* obj2
= 0 ;
4748 (char *) "self",(char *) "s",(char *) "select", NULL
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4754 arg2
= wxString_in_helper(obj1
);
4755 if (arg2
== NULL
) SWIG_fail
;
4759 arg3
= PyInt_AsLong(obj2
) ? true : false;
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4769 resultobj
= PyInt_FromLong((long)result
);
4784 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxListBox
*arg1
= (wxListBox
*) 0 ;
4788 PyObject
* obj0
= 0 ;
4790 (char *) "self", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
4794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4809 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxListBox
*arg1
= (wxListBox
*) 0 ;
4813 PyObject
* obj0
= 0 ;
4815 (char *) "self",(char *) "n", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 (arg1
)->SetFirstItem(arg2
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 Py_INCREF(Py_None
); resultobj
= Py_None
;
4834 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxListBox
*arg1
= (wxListBox
*) 0 ;
4837 wxString
*arg2
= 0 ;
4838 bool temp2
= false ;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4842 (char *) "self",(char *) "s", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
4846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4848 arg2
= wxString_in_helper(obj1
);
4849 if (arg2
== NULL
) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 Py_INCREF(Py_None
); resultobj
= Py_None
;
4874 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxListBox
*arg1
= (wxListBox
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4880 (char *) "self",(char *) "n", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->EnsureVisible(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 Py_INCREF(Py_None
); resultobj
= Py_None
;
4899 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxListBox
*arg1
= (wxListBox
*) 0 ;
4902 wxString
*arg2
= 0 ;
4903 bool temp2
= false ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4907 (char *) "self",(char *) "s", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
4911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4913 arg2
= wxString_in_helper(obj1
);
4914 if (arg2
== NULL
) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 Py_INCREF(Py_None
); resultobj
= Py_None
;
4939 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxListBox
*arg1
= (wxListBox
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4945 (char *) "self", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= PyInt_FromLong((long)result
);
4964 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
4966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4967 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
4969 return Py_BuildValue((char *)"");
4971 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxWindow
*arg1
= (wxWindow
*) 0 ;
4975 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4976 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4977 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4978 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4979 int arg5
= (int) 0 ;
4980 wxString
*arg6
= (wxString
*) NULL
;
4981 long arg7
= (long) 0 ;
4982 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4983 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4984 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4985 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4986 wxCheckListBox
*result
;
4989 bool temp8
= false ;
4990 PyObject
* obj0
= 0 ;
4991 PyObject
* obj2
= 0 ;
4992 PyObject
* obj3
= 0 ;
4993 PyObject
* obj4
= 0 ;
4994 PyObject
* obj6
= 0 ;
4995 PyObject
* obj7
= 0 ;
4997 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5005 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5011 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5016 arg5
= PyList_Size(obj4
);
5017 arg6
= wxString_LIST_helper(obj4
);
5018 if (arg6
== NULL
) SWIG_fail
;
5022 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5029 arg9
= wxString_in_helper(obj7
);
5030 if (arg9
== NULL
) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5043 if (arg6
) delete [] arg6
;
5052 if (arg6
) delete [] arg6
;
5062 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxCheckListBox
*result
;
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (wxCheckListBox
*)new wxCheckListBox();
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5084 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5087 wxWindow
*arg2
= (wxWindow
*) 0 ;
5089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5093 int arg6
= (int) 0 ;
5094 wxString
*arg7
= (wxString
*) NULL
;
5095 long arg8
= (long) 0 ;
5096 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5097 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5098 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5099 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5103 bool temp9
= false ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5106 PyObject
* obj3
= 0 ;
5107 PyObject
* obj4
= 0 ;
5108 PyObject
* obj5
= 0 ;
5109 PyObject
* obj7
= 0 ;
5110 PyObject
* obj8
= 0 ;
5112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5132 arg6
= PyList_Size(obj5
);
5133 arg7
= wxString_LIST_helper(obj5
);
5134 if (arg7
== NULL
) SWIG_fail
;
5138 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5145 arg10
= wxString_in_helper(obj8
);
5146 if (arg10
== NULL
) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= PyInt_FromLong((long)result
);
5159 if (arg7
) delete [] arg7
;
5168 if (arg7
) delete [] arg7
;
5178 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5185 (char *) "self",(char *) "index", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (bool)(arg1
)->IsChecked(arg2
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= PyInt_FromLong((long)result
);
5204 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5208 int arg3
= (int) TRUE
;
5209 PyObject
* obj0
= 0 ;
5211 (char *) "self",(char *) "index",(char *) "check", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 (arg1
)->Check(arg2
,arg3
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 Py_INCREF(Py_None
); resultobj
= Py_None
;
5230 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5234 PyObject
* obj0
= 0 ;
5236 (char *) "self", NULL
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 result
= (int)(arg1
)->GetItemHeight();
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 resultobj
= PyInt_FromLong((long)result
);
5255 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5262 PyObject
* obj1
= 0 ;
5264 (char *) "self",(char *) "pt", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= PyInt_FromLong((long)result
);
5287 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5295 (char *) "self",(char *) "x",(char *) "y", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= PyInt_FromLong((long)result
);
5314 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5317 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5319 return Py_BuildValue((char *)"");
5321 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5322 PyObject
*resultobj
;
5325 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (wxTextAttr
*)new wxTextAttr();
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5340 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5341 PyObject
*resultobj
;
5342 wxColour
*arg1
= 0 ;
5343 wxColour
const &arg2_defvalue
= wxNullColour
;
5344 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5345 wxFont
const &arg3_defvalue
= wxNullFont
;
5346 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5347 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5353 PyObject
* obj2
= 0 ;
5355 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5358 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5367 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5386 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5391 argc
= PyObject_Length(args
);
5392 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5393 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5396 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5398 if ((argc
>= 1) && (argc
<= 4)) {
5401 _v
= wxColour_typecheck(argv
[0]);
5405 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5408 _v
= wxColour_typecheck(argv
[1]);
5412 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5416 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5425 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5428 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5431 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5438 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5443 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5446 PyObject
* obj0
= 0 ;
5448 (char *) "self", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 Py_INCREF(Py_None
); resultobj
= Py_None
;
5467 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5470 wxColour
*arg2
= 0 ;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5475 (char *) "self",(char *) "colText", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5482 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 Py_INCREF(Py_None
); resultobj
= Py_None
;
5498 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5501 wxColour
*arg2
= 0 ;
5503 PyObject
* obj0
= 0 ;
5504 PyObject
* obj1
= 0 ;
5506 (char *) "self",(char *) "colBack", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 Py_INCREF(Py_None
); resultobj
= Py_None
;
5529 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5533 long arg3
= (long) wxTEXT_ATTR_FONT
;
5534 PyObject
* obj0
= 0 ;
5535 PyObject
* obj1
= 0 ;
5537 (char *) "self",(char *) "font",(char *) "flags", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5544 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 Py_INCREF(Py_None
); resultobj
= Py_None
;
5560 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5566 (char *) "self",(char *) "alignment", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 Py_INCREF(Py_None
); resultobj
= Py_None
;
5585 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5587 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5588 wxArrayInt
*arg2
= 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5592 (char *) "self",(char *) "tabs", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5598 if (! PySequence_Check(obj1
)) {
5599 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5602 arg2
= new wxArrayInt
;
5603 int i
, len
=PySequence_Length(obj1
);
5604 for (i
=0; i
<len
; i
++) {
5605 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5606 PyObject
* number
= PyNumber_Int(item
);
5607 arg2
->Add(PyInt_AS_LONG(number
));
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 if (arg2
) delete arg2
;
5626 if (arg2
) delete arg2
;
5632 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5638 (char *) "self",(char *) "indent", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 (arg1
)->SetLeftIndent(arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 Py_INCREF(Py_None
); resultobj
= Py_None
;
5657 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5661 PyObject
* obj0
= 0 ;
5663 (char *) "self",(char *) "indent", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->SetRightIndent(arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5688 (char *) "self",(char *) "flags", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 (arg1
)->SetFlags(arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 Py_INCREF(Py_None
); resultobj
= Py_None
;
5707 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5711 PyObject
* obj0
= 0 ;
5713 (char *) "self", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= PyInt_FromLong((long)result
);
5732 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5736 PyObject
* obj0
= 0 ;
5738 (char *) "self", NULL
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= PyInt_FromLong((long)result
);
5757 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
;
5759 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5761 PyObject
* obj0
= 0 ;
5763 (char *) "self", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= PyInt_FromLong((long)result
);
5782 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5786 PyObject
* obj0
= 0 ;
5788 (char *) "self", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= PyInt_FromLong((long)result
);
5807 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5811 PyObject
* obj0
= 0 ;
5813 (char *) "self", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
5817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= PyInt_FromLong((long)result
);
5832 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5838 (char *) "self", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= PyInt_FromLong((long)result
);
5857 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5863 (char *) "self", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
5867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= PyInt_FromLong((long)result
);
5882 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self",(char *) "flag", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= PyInt_FromLong((long)result
);
5908 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5914 (char *) "self", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
5923 result
= (wxColour
*) &_result_ref
;
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
5936 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
;
5938 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5940 PyObject
* obj0
= 0 ;
5942 (char *) "self", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
5951 result
= (wxColour
*) &_result_ref
;
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
5964 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5970 (char *) "self", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
5974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
5979 result
= (wxFont
*) &_result_ref
;
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
5992 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5994 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5998 (char *) "self", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= PyInt_FromLong((long)result
);
6017 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6019 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6021 PyObject
* obj0
= 0 ;
6023 (char *) "self", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6032 result
= (wxArrayInt
*) &_result_ref
;
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= PyList_New(0);
6041 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6042 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6043 PyList_Append(resultobj
, val
);
6053 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6057 PyObject
* obj0
= 0 ;
6059 (char *) "self", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= PyInt_FromLong((long)result
);
6078 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6084 (char *) "self", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= PyInt_FromLong((long)result
);
6103 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6109 (char *) "self", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= PyInt_FromLong((long)result
);
6128 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6130 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6134 (char *) "self", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= PyInt_FromLong((long)result
);
6153 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxTextAttr
*arg1
= 0 ;
6156 wxTextAttr
*arg2
= 0 ;
6157 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6161 PyObject
* obj2
= 0 ;
6163 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6169 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6175 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6184 wxTextAttr
* resultptr
;
6185 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6194 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6197 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6199 return Py_BuildValue((char *)"");
6201 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxWindow
*arg1
= (wxWindow
*) 0 ;
6205 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6206 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6211 long arg6
= (long) 0 ;
6212 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6213 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6214 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6215 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6217 bool temp3
= false ;
6220 bool temp8
= false ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj2
= 0 ;
6223 PyObject
* obj3
= 0 ;
6224 PyObject
* obj4
= 0 ;
6225 PyObject
* obj6
= 0 ;
6226 PyObject
* obj7
= 0 ;
6228 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6235 arg3
= wxString_in_helper(obj2
);
6236 if (arg3
== NULL
) SWIG_fail
;
6243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6253 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6255 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6260 arg8
= wxString_in_helper(obj7
);
6261 if (arg8
== NULL
) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= wxPyMake_wxObject(result
);
6297 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (wxTextCtrl
*)new wxTextCtrl();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= wxPyMake_wxObject(result
);
6321 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6324 wxWindow
*arg2
= (wxWindow
*) 0 ;
6326 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6327 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6328 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6329 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6330 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6331 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6332 long arg7
= (long) 0 ;
6333 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6334 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6335 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6336 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6338 bool temp4
= false ;
6341 bool temp9
= false ;
6342 PyObject
* obj0
= 0 ;
6343 PyObject
* obj1
= 0 ;
6344 PyObject
* obj3
= 0 ;
6345 PyObject
* obj4
= 0 ;
6346 PyObject
* obj5
= 0 ;
6347 PyObject
* obj7
= 0 ;
6348 PyObject
* obj8
= 0 ;
6350 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6355 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6358 arg4
= wxString_in_helper(obj3
);
6359 if (arg4
== NULL
) SWIG_fail
;
6366 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6372 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6376 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6383 arg9
= wxString_in_helper(obj8
);
6384 if (arg9
== NULL
) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= PyInt_FromLong((long)result
);
6418 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6420 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6422 PyObject
* obj0
= 0 ;
6424 (char *) "self", NULL
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6449 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6452 wxString
*arg2
= 0 ;
6453 bool temp2
= false ;
6454 PyObject
* obj0
= 0 ;
6455 PyObject
* obj1
= 0 ;
6457 (char *) "self",(char *) "value", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6463 arg2
= wxString_in_helper(obj1
);
6464 if (arg2
== NULL
) SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 (arg1
)->SetValue((wxString
const &)*arg2
);
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6474 Py_INCREF(Py_None
); resultobj
= Py_None
;
6489 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6495 PyObject
* obj0
= 0 ;
6497 (char *) "self",(char *) "from",(char *) "to", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6522 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6529 (char *) "self",(char *) "lineNo", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= PyInt_FromLong((long)result
);
6548 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6553 PyObject
* obj0
= 0 ;
6555 (char *) "self",(char *) "lineNo", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6580 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6584 PyObject
* obj0
= 0 ;
6586 (char *) "self", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= PyInt_FromLong((long)result
);
6605 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6611 (char *) "self", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= PyInt_FromLong((long)result
);
6630 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6634 PyObject
* obj0
= 0 ;
6636 (char *) "self", NULL
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= PyInt_FromLong((long)result
);
6655 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6659 PyObject
* obj0
= 0 ;
6661 (char *) "self", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= PyInt_FromLong((long)result
);
6680 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6684 PyObject
* obj0
= 0 ;
6686 (char *) "self", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
6690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= PyInt_FromLong((long)result
);
6705 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6708 long *arg2
= (long *) 0 ;
6709 long *arg3
= (long *) 0 ;
6712 PyObject
* obj0
= 0 ;
6714 (char *) "self", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 Py_INCREF(Py_None
); resultobj
= Py_None
;
6730 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6731 resultobj
= t_output_helper(resultobj
,o
);
6734 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6735 resultobj
= t_output_helper(resultobj
,o
);
6743 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6749 (char *) "self", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
6753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6774 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "self", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 Py_INCREF(Py_None
); resultobj
= Py_None
;
6798 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6803 wxString
*arg4
= 0 ;
6804 bool temp4
= false ;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj3
= 0 ;
6808 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6814 arg4
= wxString_in_helper(obj3
);
6815 if (arg4
== NULL
) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 Py_INCREF(Py_None
); resultobj
= Py_None
;
6840 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6845 PyObject
* obj0
= 0 ;
6847 (char *) "self",(char *) "from",(char *) "to", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 (arg1
)->Remove(arg2
,arg3
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 Py_INCREF(Py_None
); resultobj
= Py_None
;
6866 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6869 wxString
*arg2
= 0 ;
6871 bool temp2
= false ;
6872 PyObject
* obj0
= 0 ;
6873 PyObject
* obj1
= 0 ;
6875 (char *) "self",(char *) "file", NULL
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6881 arg2
= wxString_in_helper(obj1
);
6882 if (arg2
== NULL
) SWIG_fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= PyInt_FromLong((long)result
);
6907 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6910 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6911 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6913 bool temp2
= false ;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "file", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6924 arg2
= wxString_in_helper(obj1
);
6925 if (arg2
== NULL
) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= PyInt_FromLong((long)result
);
6951 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6954 PyObject
* obj0
= 0 ;
6956 (char *) "self", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 (arg1
)->MarkDirty();
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 Py_INCREF(Py_None
); resultobj
= Py_None
;
6975 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6978 PyObject
* obj0
= 0 ;
6980 (char *) "self", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
6984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 (arg1
)->DiscardEdits();
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 Py_INCREF(Py_None
); resultobj
= Py_None
;
6999 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7002 unsigned long arg2
;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7006 (char *) "self",(char *) "len", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7011 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 (arg1
)->SetMaxLength(arg2
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 Py_INCREF(Py_None
); resultobj
= Py_None
;
7027 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7030 wxString
*arg2
= 0 ;
7031 bool temp2
= false ;
7032 PyObject
* obj0
= 0 ;
7033 PyObject
* obj1
= 0 ;
7035 (char *) "self",(char *) "text", NULL
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7041 arg2
= wxString_in_helper(obj1
);
7042 if (arg2
== NULL
) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 (arg1
)->WriteText((wxString
const &)*arg2
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7070 wxString
*arg2
= 0 ;
7071 bool temp2
= false ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7075 (char *) "self",(char *) "text", NULL
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7081 arg2
= wxString_in_helper(obj1
);
7082 if (arg2
== NULL
) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 (arg1
)->AppendText((wxString
const &)*arg2
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 Py_INCREF(Py_None
); resultobj
= Py_None
;
7107 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7110 wxKeyEvent
*arg2
= 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7115 (char *) "self",(char *) "event", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= PyInt_FromLong((long)result
);
7138 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7143 wxTextAttr
*arg4
= 0 ;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj3
= 0 ;
7148 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7153 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= PyInt_FromLong((long)result
);
7171 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7175 wxTextAttr
*arg3
= 0 ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj2
= 0 ;
7180 (char *) "self",(char *) "position",(char *) "style", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7185 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= PyInt_FromLong((long)result
);
7203 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7206 wxTextAttr
*arg2
= 0 ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7211 (char *) "self",(char *) "style", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= PyInt_FromLong((long)result
);
7234 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7240 (char *) "self", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7249 result
= (wxTextAttr
*) &_result_ref
;
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7262 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7268 PyObject
* obj0
= 0 ;
7270 (char *) "self",(char *) "x",(char *) "y", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= PyInt_FromLong((long)result
);
7289 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7293 long *arg3
= (long *) 0 ;
7294 long *arg4
= (long *) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 (char *) "self",(char *) "pos", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7316 resultobj
= t_output_helper(resultobj
,o
);
7319 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7320 resultobj
= t_output_helper(resultobj
,o
);
7328 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7334 (char *) "self",(char *) "pos", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 (arg1
)->ShowPosition(arg2
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7356 PyObject
* obj0
= 0 ;
7358 (char *) "self", NULL
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 Py_INCREF(Py_None
); resultobj
= Py_None
;
7377 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "self", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7404 PyObject
* obj0
= 0 ;
7406 (char *) "self", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7429 PyObject
* obj0
= 0 ;
7431 (char *) "self", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 resultobj
= PyInt_FromLong((long)result
);
7450 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
;
7452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7454 PyObject
* obj0
= 0 ;
7456 (char *) "self", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= PyInt_FromLong((long)result
);
7475 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7479 PyObject
* obj0
= 0 ;
7481 (char *) "self", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= PyInt_FromLong((long)result
);
7500 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7503 PyObject
* obj0
= 0 ;
7505 (char *) "self", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7524 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 Py_INCREF(Py_None
); resultobj
= Py_None
;
7548 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7554 (char *) "self", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= PyInt_FromLong((long)result
);
7573 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
*resultobj
;
7575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7579 (char *) "self", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= PyInt_FromLong((long)result
);
7598 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7604 (char *) "self",(char *) "pos", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 (arg1
)->SetInsertionPoint(arg2
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 Py_INCREF(Py_None
); resultobj
= Py_None
;
7623 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7628 (char *) "self", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 (arg1
)->SetInsertionPointEnd();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 Py_INCREF(Py_None
); resultobj
= Py_None
;
7647 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7653 (char *) "self", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= PyInt_FromLong((long)result
);
7672 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7678 (char *) "self", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= PyInt_FromLong((long)result
);
7697 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "self",(char *) "from",(char *) "to", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 (arg1
)->SetSelection(arg2
,arg3
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 Py_INCREF(Py_None
); resultobj
= Py_None
;
7723 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7728 (char *) "self", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 (arg1
)->SelectAll();
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7747 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7754 (char *) "self",(char *) "editable", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7759 arg2
= PyInt_AsLong(obj1
) ? true : false;
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 (arg1
)->SetEditable(arg2
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 Py_INCREF(Py_None
); resultobj
= Py_None
;
7775 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7778 wxString
*arg2
= 0 ;
7779 bool temp2
= false ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7783 (char *) "self",(char *) "text", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7789 arg2
= wxString_in_helper(obj1
);
7790 if (arg2
== NULL
) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "self",(char *) "from",(char *) "to", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7848 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7851 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
7853 return Py_BuildValue((char *)"");
7855 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7858 wxMouseEvent
*arg2
= 0 ;
7861 wxTextUrlEvent
*result
;
7862 PyObject
* obj1
= 0 ;
7864 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
7868 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7870 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
7886 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7889 wxMouseEvent
*result
;
7890 PyObject
* obj0
= 0 ;
7892 (char *) "self", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
7901 result
= (wxMouseEvent
*) &_result_ref
;
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
7914 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7920 (char *) "self", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
7924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= PyInt_FromLong((long)result
);
7939 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7945 (char *) "self", NULL
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
7949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= PyInt_FromLong((long)result
);
7964 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7967 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
7969 return Py_BuildValue((char *)"");
7971 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
;
7973 wxWindow
*arg1
= (wxWindow
*) 0 ;
7974 wxWindowID arg2
= (wxWindowID
) -1 ;
7975 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7976 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7977 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7978 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7979 long arg5
= (long) wxSB_HORIZONTAL
;
7980 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
7981 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
7982 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
7983 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7984 wxScrollBar
*result
;
7987 bool temp7
= false ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj2
= 0 ;
7990 PyObject
* obj3
= 0 ;
7991 PyObject
* obj5
= 0 ;
7992 PyObject
* obj6
= 0 ;
7994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
7998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8002 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8008 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8012 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8014 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8019 arg7
= wxString_in_helper(obj6
);
8020 if (arg7
== NULL
) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8046 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxScrollBar
*result
;
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (wxScrollBar
*)new wxScrollBar();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8068 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8071 wxWindow
*arg2
= (wxWindow
*) 0 ;
8072 wxWindowID arg3
= (wxWindowID
) -1 ;
8073 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8074 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8075 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8076 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8077 long arg6
= (long) wxSB_HORIZONTAL
;
8078 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8079 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8080 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8081 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8085 bool temp8
= false ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj3
= 0 ;
8089 PyObject
* obj4
= 0 ;
8090 PyObject
* obj6
= 0 ;
8091 PyObject
* obj7
= 0 ;
8093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8102 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8108 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8112 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8119 arg8
= wxString_in_helper(obj7
);
8120 if (arg8
== NULL
) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= PyInt_FromLong((long)result
);
8146 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8150 PyObject
* obj0
= 0 ;
8152 (char *) "self", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 resultobj
= PyInt_FromLong((long)result
);
8171 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "self", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= PyInt_FromLong((long)result
);
8196 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8200 PyObject
* obj0
= 0 ;
8202 (char *) "self", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= PyInt_FromLong((long)result
);
8221 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
;
8223 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8225 PyObject
* obj0
= 0 ;
8227 (char *) "self", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= PyInt_FromLong((long)result
);
8246 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8252 (char *) "self", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= PyInt_FromLong((long)result
);
8271 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8275 PyObject
* obj0
= 0 ;
8277 (char *) "self",(char *) "viewStart", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 (arg1
)->SetThumbPosition(arg2
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 Py_INCREF(Py_None
); resultobj
= Py_None
;
8296 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8303 bool arg6
= (bool) TRUE
;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj5
= 0 ;
8307 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8313 arg6
= PyInt_AsLong(obj5
) ? true : false;
8314 if (PyErr_Occurred()) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 Py_INCREF(Py_None
); resultobj
= Py_None
;
8330 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8333 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8335 return Py_BuildValue((char *)"");
8337 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxWindow
*arg1
= (wxWindow
*) 0 ;
8340 wxWindowID arg2
= (wxWindowID
) -1 ;
8341 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8342 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8343 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8344 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8345 long arg5
= (long) wxSP_HORIZONTAL
;
8346 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8347 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8348 wxSpinButton
*result
;
8351 bool temp6
= false ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj2
= 0 ;
8354 PyObject
* obj3
= 0 ;
8355 PyObject
* obj5
= 0 ;
8357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8371 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8376 arg6
= wxString_in_helper(obj5
);
8377 if (arg6
== NULL
) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8403 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxSpinButton
*result
;
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (wxSpinButton
*)new wxSpinButton();
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8425 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8428 wxWindow
*arg2
= (wxWindow
*) 0 ;
8429 wxWindowID arg3
= (wxWindowID
) -1 ;
8430 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8431 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8432 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8433 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8434 long arg6
= (long) wxSP_HORIZONTAL
;
8435 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8436 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8440 bool temp7
= false ;
8441 PyObject
* obj0
= 0 ;
8442 PyObject
* obj1
= 0 ;
8443 PyObject
* obj3
= 0 ;
8444 PyObject
* obj4
= 0 ;
8445 PyObject
* obj6
= 0 ;
8447 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8462 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8467 arg7
= wxString_in_helper(obj6
);
8468 if (arg7
== NULL
) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= PyInt_FromLong((long)result
);
8494 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8498 PyObject
* obj0
= 0 ;
8500 (char *) "self", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= PyInt_FromLong((long)result
);
8519 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8525 (char *) "self", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= PyInt_FromLong((long)result
);
8544 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8548 PyObject
* obj0
= 0 ;
8550 (char *) "self", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= PyInt_FromLong((long)result
);
8569 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8575 (char *) "self",(char *) "val", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 (arg1
)->SetValue(arg2
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 Py_INCREF(Py_None
); resultobj
= Py_None
;
8594 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8598 PyObject
* obj0
= 0 ;
8600 (char *) "self",(char *) "minVal", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 (arg1
)->SetMin(arg2
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8619 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8623 PyObject
* obj0
= 0 ;
8625 (char *) "self",(char *) "maxVal", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
8629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 (arg1
)->SetMax(arg2
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 Py_INCREF(Py_None
); resultobj
= Py_None
;
8644 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8651 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 (arg1
)->SetRange(arg2
,arg3
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 Py_INCREF(Py_None
); resultobj
= Py_None
;
8670 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8676 (char *) "self", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
8680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= PyInt_FromLong((long)result
);
8695 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
8697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8698 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
8700 return Py_BuildValue((char *)"");
8702 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxWindow
*arg1
= (wxWindow
*) 0 ;
8705 wxWindowID arg2
= (wxWindowID
) -1 ;
8706 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8707 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8708 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8709 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8710 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8711 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8712 long arg6
= (long) wxSP_ARROW_KEYS
;
8713 int arg7
= (int) 0 ;
8714 int arg8
= (int) 100 ;
8715 int arg9
= (int) 0 ;
8716 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
8717 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
8719 bool temp3
= false ;
8722 bool temp10
= false ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj2
= 0 ;
8725 PyObject
* obj3
= 0 ;
8726 PyObject
* obj4
= 0 ;
8727 PyObject
* obj9
= 0 ;
8729 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
8733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8736 arg3
= wxString_in_helper(obj2
);
8737 if (arg3
== NULL
) SWIG_fail
;
8744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8755 arg10
= wxString_in_helper(obj9
);
8756 if (arg10
== NULL
) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8790 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
;
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (wxSpinCtrl
*)new wxSpinCtrl();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8812 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8815 wxWindow
*arg2
= (wxWindow
*) 0 ;
8816 wxWindowID arg3
= (wxWindowID
) -1 ;
8817 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8818 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8819 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8820 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8821 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8822 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8823 long arg7
= (long) wxSP_ARROW_KEYS
;
8824 int arg8
= (int) 0 ;
8825 int arg9
= (int) 100 ;
8826 int arg10
= (int) 0 ;
8827 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
8828 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
8830 bool temp4
= false ;
8833 bool temp11
= false ;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8836 PyObject
* obj3
= 0 ;
8837 PyObject
* obj4
= 0 ;
8838 PyObject
* obj5
= 0 ;
8839 PyObject
* obj10
= 0 ;
8841 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
8845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8849 arg4
= wxString_in_helper(obj3
);
8850 if (arg4
== NULL
) SWIG_fail
;
8857 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8863 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8868 arg11
= wxString_in_helper(obj10
);
8869 if (arg11
== NULL
) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= PyInt_FromLong((long)result
);
8903 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8907 PyObject
* obj0
= 0 ;
8909 (char *) "self", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= PyInt_FromLong((long)result
);
8928 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8932 PyObject
* obj0
= 0 ;
8934 (char *) "self",(char *) "value", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 (arg1
)->SetValue(arg2
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 Py_INCREF(Py_None
); resultobj
= Py_None
;
8953 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8955 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8956 wxString
*arg2
= 0 ;
8957 bool temp2
= false ;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8961 (char *) "self",(char *) "text", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8967 arg2
= wxString_in_helper(obj1
);
8968 if (arg2
== NULL
) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 (arg1
)->SetValue((wxString
const &)*arg2
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 Py_INCREF(Py_None
); resultobj
= Py_None
;
8993 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8998 PyObject
* obj0
= 0 ;
9000 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 (arg1
)->SetRange(arg2
,arg3
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "self", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= PyInt_FromLong((long)result
);
9044 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9048 PyObject
* obj0
= 0 ;
9050 (char *) "self", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= PyInt_FromLong((long)result
);
9069 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self",(char *) "from",(char *) "to", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 wxSpinCtrl_SetSelection(arg1
,arg2
,arg3
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 Py_INCREF(Py_None
); resultobj
= Py_None
;
9095 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9098 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9100 return Py_BuildValue((char *)"");
9102 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxWindow
*arg1
= (wxWindow
*) 0 ;
9106 wxString
*arg3
= 0 ;
9107 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9108 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9109 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9110 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9111 int arg6
= (int) 0 ;
9112 wxString
*arg7
= (wxString
*) NULL
;
9113 int arg8
= (int) 0 ;
9114 long arg9
= (long) wxRA_HORIZONTAL
;
9115 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9116 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9117 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9118 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9120 bool temp3
= false ;
9123 bool temp10
= false ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj2
= 0 ;
9126 PyObject
* obj3
= 0 ;
9127 PyObject
* obj4
= 0 ;
9128 PyObject
* obj5
= 0 ;
9129 PyObject
* obj8
= 0 ;
9130 PyObject
* obj9
= 0 ;
9132 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9138 arg3
= wxString_in_helper(obj2
);
9139 if (arg3
== NULL
) SWIG_fail
;
9145 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9151 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9156 arg6
= PyList_Size(obj5
);
9157 arg7
= wxString_LIST_helper(obj5
);
9158 if (arg7
== NULL
) SWIG_fail
;
9162 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9163 if (arg10
== NULL
) {
9164 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9169 arg11
= wxString_in_helper(obj9
);
9170 if (arg11
== NULL
) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 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
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9187 if (arg7
) delete [] arg7
;
9200 if (arg7
) delete [] arg7
;
9210 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (wxRadioBox
*)new wxRadioBox();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9232 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9235 wxWindow
*arg2
= (wxWindow
*) 0 ;
9237 wxString
*arg4
= 0 ;
9238 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9239 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9240 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9241 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9242 int arg7
= (int) 0 ;
9243 wxString
*arg8
= (wxString
*) NULL
;
9244 int arg9
= (int) 0 ;
9245 long arg10
= (long) wxRA_HORIZONTAL
;
9246 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9247 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9248 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9249 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9251 bool temp4
= false ;
9254 bool temp11
= false ;
9255 PyObject
* obj0
= 0 ;
9256 PyObject
* obj1
= 0 ;
9257 PyObject
* obj3
= 0 ;
9258 PyObject
* obj4
= 0 ;
9259 PyObject
* obj5
= 0 ;
9260 PyObject
* obj6
= 0 ;
9261 PyObject
* obj9
= 0 ;
9262 PyObject
* obj10
= 0 ;
9264 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9269 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9271 arg4
= wxString_in_helper(obj3
);
9272 if (arg4
== NULL
) SWIG_fail
;
9278 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9284 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9289 arg7
= PyList_Size(obj6
);
9290 arg8
= wxString_LIST_helper(obj6
);
9291 if (arg8
== NULL
) SWIG_fail
;
9295 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9296 if (arg11
== NULL
) {
9297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9302 arg12
= wxString_in_helper(obj10
);
9303 if (arg12
== NULL
) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 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
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= PyInt_FromLong((long)result
);
9320 if (arg8
) delete [] arg8
;
9333 if (arg8
) delete [] arg8
;
9343 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
*resultobj
;
9345 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9349 (char *) "self",(char *) "n", NULL
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 (arg1
)->SetSelection(arg2
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 Py_INCREF(Py_None
); resultobj
= Py_None
;
9368 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
;
9370 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9372 PyObject
* obj0
= 0 ;
9374 (char *) "self", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= PyInt_FromLong((long)result
);
9393 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9397 PyObject
* obj0
= 0 ;
9399 (char *) "self", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9424 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9427 wxString
*arg2
= 0 ;
9429 bool temp2
= false ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9433 (char *) "self",(char *) "s", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9439 arg2
= wxString_in_helper(obj1
);
9440 if (arg2
== NULL
) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= PyInt_FromLong((long)result
);
9465 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9471 (char *) "self", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= PyInt_FromLong((long)result
);
9490 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9493 wxString
*arg2
= 0 ;
9495 bool temp2
= false ;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9499 (char *) "self",(char *) "s", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9505 arg2
= wxString_in_helper(obj1
);
9506 if (arg2
== NULL
) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= PyInt_FromLong((long)result
);
9531 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9536 PyObject
* obj0
= 0 ;
9538 (char *) "self",(char *) "n", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9563 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9567 wxString
*arg3
= 0 ;
9568 bool temp3
= false ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj2
= 0 ;
9572 (char *) "self",(char *) "n",(char *) "label", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9578 arg3
= wxString_in_helper(obj2
);
9579 if (arg3
== NULL
) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 Py_INCREF(Py_None
); resultobj
= Py_None
;
9604 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9608 bool arg3
= (bool) TRUE
;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj2
= 0 ;
9612 (char *) "self",(char *) "n",(char *) "enable", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9618 arg3
= PyInt_AsLong(obj2
) ? true : false;
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 (arg1
)->Enable(arg2
,arg3
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 Py_INCREF(Py_None
); resultobj
= Py_None
;
9635 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9639 bool arg3
= (bool) TRUE
;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj2
= 0 ;
9643 (char *) "self",(char *) "n",(char *) "show", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9649 arg3
= PyInt_AsLong(obj2
) ? true : false;
9650 if (PyErr_Occurred()) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 (arg1
)->Show(arg2
,arg3
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 Py_INCREF(Py_None
); resultobj
= Py_None
;
9666 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= PyInt_FromLong((long)result
);
9691 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= PyInt_FromLong((long)result
);
9716 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
;
9718 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9725 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= PyInt_FromLong((long)result
);
9744 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
9746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9747 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
9749 return Py_BuildValue((char *)"");
9751 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxWindow
*arg1
= (wxWindow
*) 0 ;
9755 wxString
*arg3
= 0 ;
9756 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9757 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9758 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9759 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9760 long arg6
= (long) 0 ;
9761 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9762 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9763 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
9764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9765 wxRadioButton
*result
;
9766 bool temp3
= false ;
9769 bool temp8
= false ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj2
= 0 ;
9772 PyObject
* obj3
= 0 ;
9773 PyObject
* obj4
= 0 ;
9774 PyObject
* obj6
= 0 ;
9775 PyObject
* obj7
= 0 ;
9777 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9783 arg3
= wxString_in_helper(obj2
);
9784 if (arg3
== NULL
) SWIG_fail
;
9790 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9796 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9800 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9802 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9807 arg8
= wxString_in_helper(obj7
);
9808 if (arg8
== NULL
) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9842 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxRadioButton
*result
;
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (wxRadioButton
*)new wxRadioButton();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9864 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9867 wxWindow
*arg2
= (wxWindow
*) 0 ;
9869 wxString
*arg4
= 0 ;
9870 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9871 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9872 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9873 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9874 long arg7
= (long) 0 ;
9875 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9876 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9877 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
9878 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9880 bool temp4
= false ;
9883 bool temp9
= false ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 PyObject
* obj3
= 0 ;
9887 PyObject
* obj4
= 0 ;
9888 PyObject
* obj5
= 0 ;
9889 PyObject
* obj7
= 0 ;
9890 PyObject
* obj8
= 0 ;
9892 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9899 arg4
= wxString_in_helper(obj3
);
9900 if (arg4
== NULL
) SWIG_fail
;
9906 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9912 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9916 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9918 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9923 arg9
= wxString_in_helper(obj8
);
9924 if (arg9
== NULL
) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= PyInt_FromLong((long)result
);
9958 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9964 (char *) "self", NULL
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
9968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (bool)(arg1
)->GetValue();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= PyInt_FromLong((long)result
);
9983 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9990 (char *) "self",(char *) "value", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9995 arg2
= PyInt_AsLong(obj1
) ? true : false;
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 (arg1
)->SetValue(arg2
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 Py_INCREF(Py_None
); resultobj
= Py_None
;
10011 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10014 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10016 return Py_BuildValue((char *)"");
10018 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxWindow
*arg1
= (wxWindow
*) 0 ;
10025 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10026 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10027 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10028 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10029 long arg8
= (long) wxSL_HORIZONTAL
;
10030 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10031 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10032 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10033 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10037 bool temp10
= false ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj5
= 0 ;
10040 PyObject
* obj6
= 0 ;
10041 PyObject
* obj8
= 0 ;
10042 PyObject
* obj9
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10052 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10058 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10062 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10063 if (arg9
== NULL
) {
10064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10069 arg10
= wxString_in_helper(obj9
);
10070 if (arg10
== NULL
) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10096 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10099 char *kwnames
[] = {
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (wxSlider
*)new wxSlider();
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10118 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxSlider
*arg1
= (wxSlider
*) 0 ;
10121 wxWindow
*arg2
= (wxWindow
*) 0 ;
10126 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10127 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10128 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10129 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10130 long arg9
= (long) wxSL_HORIZONTAL
;
10131 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10132 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10133 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10134 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10138 bool temp11
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 PyObject
* obj6
= 0 ;
10142 PyObject
* obj7
= 0 ;
10143 PyObject
* obj9
= 0 ;
10144 PyObject
* obj10
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10155 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10161 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10165 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10166 if (arg10
== NULL
) {
10167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10172 arg11
= wxString_in_helper(obj10
);
10173 if (arg11
== NULL
) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= PyInt_FromLong((long)result
);
10199 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 wxSlider
*arg1
= (wxSlider
*) 0 ;
10203 PyObject
* obj0
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= PyInt_FromLong((long)result
);
10224 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxSlider
*arg1
= (wxSlider
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self",(char *) "value", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 (arg1
)->SetValue(arg2
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 Py_INCREF(Py_None
); resultobj
= Py_None
;
10249 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxSlider
*arg1
= (wxSlider
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 (arg1
)->SetRange(arg2
,arg3
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 Py_INCREF(Py_None
); resultobj
= Py_None
;
10275 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxSlider
*arg1
= (wxSlider
*) 0 ;
10279 PyObject
* obj0
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "self", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= PyInt_FromLong((long)result
);
10300 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxSlider
*arg1
= (wxSlider
*) 0 ;
10304 PyObject
* obj0
= 0 ;
10305 char *kwnames
[] = {
10306 (char *) "self", NULL
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= PyInt_FromLong((long)result
);
10325 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxSlider
*arg1
= (wxSlider
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self",(char *) "minValue", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 (arg1
)->SetMin(arg2
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 Py_INCREF(Py_None
); resultobj
= Py_None
;
10350 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxSlider
*arg1
= (wxSlider
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self",(char *) "maxValue", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 (arg1
)->SetMax(arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxSlider
*arg1
= (wxSlider
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "lineSize", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 (arg1
)->SetLineSize(arg2
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxSlider
*arg1
= (wxSlider
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "pageSize", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 (arg1
)->SetPageSize(arg2
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10425 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxSlider
*arg1
= (wxSlider
*) 0 ;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= PyInt_FromLong((long)result
);
10450 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxSlider
*arg1
= (wxSlider
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= PyInt_FromLong((long)result
);
10475 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxSlider
*arg1
= (wxSlider
*) 0 ;
10479 PyObject
* obj0
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self",(char *) "lenPixels", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 (arg1
)->SetThumbLength(arg2
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 Py_INCREF(Py_None
); resultobj
= Py_None
;
10500 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxSlider
*arg1
= (wxSlider
*) 0 ;
10504 PyObject
* obj0
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= PyInt_FromLong((long)result
);
10525 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxSlider
*arg1
= (wxSlider
*) 0 ;
10530 PyObject
* obj0
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self",(char *) "n",(char *) "pos", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 (arg1
)->SetTickFreq(arg2
,arg3
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10551 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxSlider
*arg1
= (wxSlider
*) 0 ;
10555 PyObject
* obj0
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= PyInt_FromLong((long)result
);
10576 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxSlider
*arg1
= (wxSlider
*) 0 ;
10579 PyObject
* obj0
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 (arg1
)->ClearTicks();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 Py_INCREF(Py_None
); resultobj
= Py_None
;
10600 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxSlider
*arg1
= (wxSlider
*) 0 ;
10604 PyObject
* obj0
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self",(char *) "tickPos", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 (arg1
)->SetTick(arg2
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 Py_INCREF(Py_None
); resultobj
= Py_None
;
10625 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxSlider
*arg1
= (wxSlider
*) 0 ;
10628 PyObject
* obj0
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 (arg1
)->ClearSel();
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10642 Py_INCREF(Py_None
); resultobj
= Py_None
;
10649 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxSlider
*arg1
= (wxSlider
*) 0 ;
10653 PyObject
* obj0
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
10659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= PyInt_FromLong((long)result
);
10674 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxSlider
*arg1
= (wxSlider
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= PyInt_FromLong((long)result
);
10699 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxSlider
*arg1
= (wxSlider
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self",(char *) "min",(char *) "max", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->SetSelection(arg2
,arg3
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
10727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10728 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
10730 return Py_BuildValue((char *)"");
10732 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxWindow
*arg1
= (wxWindow
*) 0 ;
10736 wxString
*arg3
= 0 ;
10737 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10738 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10739 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10740 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10741 long arg6
= (long) 0 ;
10742 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10743 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10744 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
10745 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10746 wxToggleButton
*result
;
10747 bool temp3
= false ;
10750 bool temp8
= false ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj2
= 0 ;
10753 PyObject
* obj3
= 0 ;
10754 PyObject
* obj4
= 0 ;
10755 PyObject
* obj6
= 0 ;
10756 PyObject
* obj7
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10764 arg3
= wxString_in_helper(obj2
);
10765 if (arg3
== NULL
) SWIG_fail
;
10771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10781 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10782 if (arg7
== NULL
) {
10783 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10788 arg8
= wxString_in_helper(obj7
);
10789 if (arg8
== NULL
) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10823 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxToggleButton
*result
;
10826 char *kwnames
[] = {
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= (wxToggleButton
*)new wxToggleButton();
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10845 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10848 wxWindow
*arg2
= (wxWindow
*) 0 ;
10850 wxString
*arg4
= 0 ;
10851 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10852 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10853 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10854 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10855 long arg7
= (long) 0 ;
10856 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10857 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10858 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
10859 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10861 bool temp4
= false ;
10864 bool temp9
= false ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 PyObject
* obj3
= 0 ;
10868 PyObject
* obj4
= 0 ;
10869 PyObject
* obj5
= 0 ;
10870 PyObject
* obj7
= 0 ;
10871 PyObject
* obj8
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10880 arg4
= wxString_in_helper(obj3
);
10881 if (arg4
== NULL
) SWIG_fail
;
10887 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10893 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10897 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10898 if (arg8
== NULL
) {
10899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10904 arg9
= wxString_in_helper(obj8
);
10905 if (arg9
== NULL
) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= PyInt_FromLong((long)result
);
10939 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self",(char *) "value", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10951 arg2
= PyInt_AsLong(obj1
) ? true : false;
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 (arg1
)->SetValue(arg2
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 Py_INCREF(Py_None
); resultobj
= Py_None
;
10967 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= PyInt_FromLong((long)result
);
10992 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10995 wxString
*arg2
= 0 ;
10996 bool temp2
= false ;
10997 PyObject
* obj0
= 0 ;
10998 PyObject
* obj1
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self",(char *) "label", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11006 arg2
= wxString_in_helper(obj1
);
11007 if (arg2
== NULL
) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 (arg1
)->SetLabel((wxString
const &)*arg2
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11035 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11037 return Py_BuildValue((char *)"");
11039 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= PyInt_FromLong((long)result
);
11064 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "n", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11077 arg2
= (size_t) PyInt_AsLong(obj1
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11087 resultobj
= wxPyMake_wxObject(result
);
11095 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= PyInt_FromLong((long)result
);
11120 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11124 wxString
*arg3
= 0 ;
11126 bool temp3
= false ;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 PyObject
* obj2
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self",(char *) "n",(char *) "strText", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11136 arg2
= (size_t) PyInt_AsLong(obj1
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 arg3
= wxString_in_helper(obj2
);
11140 if (arg3
== NULL
) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= PyInt_FromLong((long)result
);
11165 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self",(char *) "n", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11178 arg2
= (size_t) PyInt_AsLong(obj1
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11200 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11203 wxImageList
*arg2
= (wxImageList
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self",(char *) "imageList", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11212 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 (arg1
)->SetImageList(arg2
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11230 wxImageList
*arg2
= (wxImageList
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj1
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self",(char *) "imageList", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 (arg1
)->AssignImageList(arg2
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 Py_INCREF(Py_None
); resultobj
= Py_None
;
11254 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11257 wxImageList
*result
;
11258 PyObject
* obj0
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= wxPyMake_wxObject(result
);
11281 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "n", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11294 arg2
= (size_t) PyInt_AsLong(obj1
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= PyInt_FromLong((long)result
);
11310 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "n",(char *) "imageId", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11324 arg2
= (size_t) PyInt_AsLong(obj1
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= PyInt_FromLong((long)result
);
11340 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 char *kwnames
[] = {
11348 (char *) "self",(char *) "size", NULL
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11355 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 Py_INCREF(Py_None
); resultobj
= Py_None
;
11371 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self",(char *) "sizePage", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11387 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11397 wxSize
* resultptr
;
11398 resultptr
= new wxSize((wxSize
&) result
);
11399 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11407 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self",(char *) "n", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11420 arg2
= (size_t) PyInt_AsLong(obj1
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (bool)(arg1
)->DeletePage(arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= PyInt_FromLong((long)result
);
11436 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self",(char *) "n", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11449 arg2
= (size_t) PyInt_AsLong(obj1
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (bool)(arg1
)->RemovePage(arg2
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= PyInt_FromLong((long)result
);
11465 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (bool)(arg1
)->DeleteAllPages();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= PyInt_FromLong((long)result
);
11490 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11493 wxWindow
*arg2
= (wxWindow
*) 0 ;
11494 wxString
*arg3
= 0 ;
11495 bool arg4
= (bool) false ;
11496 int arg5
= (int) -1 ;
11498 bool temp3
= false ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 PyObject
* obj2
= 0 ;
11502 PyObject
* obj3
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11511 arg3
= wxString_in_helper(obj2
);
11512 if (arg3
== NULL
) SWIG_fail
;
11516 arg4
= PyInt_AsLong(obj3
) ? true : false;
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= PyInt_FromLong((long)result
);
11541 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11545 wxWindow
*arg3
= (wxWindow
*) 0 ;
11546 wxString
*arg4
= 0 ;
11547 bool arg5
= (bool) false ;
11548 int arg6
= (int) -1 ;
11550 bool temp4
= false ;
11551 PyObject
* obj0
= 0 ;
11552 PyObject
* obj1
= 0 ;
11553 PyObject
* obj2
= 0 ;
11554 PyObject
* obj3
= 0 ;
11555 PyObject
* obj4
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
11561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11562 arg2
= (size_t) PyInt_AsLong(obj1
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11564 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11566 arg4
= wxString_in_helper(obj3
);
11567 if (arg4
== NULL
) SWIG_fail
;
11571 arg5
= PyInt_AsLong(obj4
) ? true : false;
11572 if (PyErr_Occurred()) SWIG_fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= PyInt_FromLong((long)result
);
11596 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self",(char *) "n", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11609 arg2
= (size_t) PyInt_AsLong(obj1
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (int)(arg1
)->SetSelection(arg2
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= PyInt_FromLong((long)result
);
11625 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11628 bool arg2
= (bool) true ;
11629 PyObject
* obj0
= 0 ;
11630 PyObject
* obj1
= 0 ;
11631 char *kwnames
[] = {
11632 (char *) "self",(char *) "forward", NULL
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11638 arg2
= PyInt_AsLong(obj1
) ? true : false;
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 (arg1
)->AdvanceSelection(arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 Py_INCREF(Py_None
); resultobj
= Py_None
;
11655 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11658 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
11660 return Py_BuildValue((char *)"");
11662 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11665 int arg2
= (int) 0 ;
11666 int arg3
= (int) -1 ;
11667 int arg4
= (int) -1 ;
11668 wxBookCtrlEvent
*result
;
11669 char *kwnames
[] = {
11670 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
11688 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11692 PyObject
* obj0
= 0 ;
11693 char *kwnames
[] = {
11694 (char *) "self", NULL
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= PyInt_FromLong((long)result
);
11713 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11717 PyObject
* obj0
= 0 ;
11718 char *kwnames
[] = {
11719 (char *) "self",(char *) "nSel", NULL
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 (arg1
)->SetSelection(arg2
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 Py_INCREF(Py_None
); resultobj
= Py_None
;
11738 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
;
11740 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11742 PyObject
* obj0
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
11748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= PyInt_FromLong((long)result
);
11763 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11765 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11767 PyObject
* obj0
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "nOldSel", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 (arg1
)->SetOldSelection(arg2
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 Py_INCREF(Py_None
); resultobj
= Py_None
;
11788 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11791 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
11793 return Py_BuildValue((char *)"");
11795 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxWindow
*arg1
= (wxWindow
*) 0 ;
11799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11801 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11802 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11803 long arg5
= (long) 0 ;
11804 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
11805 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11806 wxNotebook
*result
;
11809 bool temp6
= false ;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj2
= 0 ;
11812 PyObject
* obj3
= 0 ;
11813 PyObject
* obj5
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11829 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11834 arg6
= wxString_in_helper(obj5
);
11835 if (arg6
== NULL
) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= wxPyMake_wxObject(result
);
11863 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxNotebook
*result
;
11866 char *kwnames
[] = {
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (wxNotebook
*)new wxNotebook();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= wxPyMake_wxObject(result
);
11887 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11890 wxWindow
*arg2
= (wxWindow
*) 0 ;
11892 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11893 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11894 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11895 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11896 long arg6
= (long) 0 ;
11897 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
11898 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11902 bool temp7
= false ;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 PyObject
* obj3
= 0 ;
11906 PyObject
* obj4
= 0 ;
11907 PyObject
* obj6
= 0 ;
11908 char *kwnames
[] = {
11909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
11913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11929 arg7
= wxString_in_helper(obj6
);
11930 if (arg7
== NULL
) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= PyInt_FromLong((long)result
);
11956 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11960 PyObject
* obj0
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
11966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= PyInt_FromLong((long)result
);
11981 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self",(char *) "padding", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11996 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 Py_INCREF(Py_None
); resultobj
= Py_None
;
12012 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self",(char *) "sz", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12027 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 Py_INCREF(Py_None
); resultobj
= Py_None
;
12043 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12046 wxPoint
*arg2
= 0 ;
12047 long *arg3
= (long *) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 PyObject
* obj1
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self",(char *) "pt", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= PyInt_FromLong((long)result
);
12073 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12074 resultobj
= t_output_helper(resultobj
,o
);
12082 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "sizePage", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12098 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 wxSize
* resultptr
;
12109 resultptr
= new wxSize((wxSize
&) result
);
12110 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12118 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12121 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12123 return Py_BuildValue((char *)"");
12125 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12128 int arg2
= (int) 0 ;
12129 int arg3
= (int) -1 ;
12130 int arg4
= (int) -1 ;
12131 wxNotebookEvent
*result
;
12132 char *kwnames
[] = {
12133 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12151 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12154 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12156 return Py_BuildValue((char *)"");
12158 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxWindow
*arg1
= (wxWindow
*) 0 ;
12162 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12163 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12164 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12165 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12166 long arg5
= (long) 0 ;
12167 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12168 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12169 wxListbook
*result
;
12172 bool temp6
= false ;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj2
= 0 ;
12175 PyObject
* obj3
= 0 ;
12176 PyObject
* obj5
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12192 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12197 arg6
= wxString_in_helper(obj5
);
12198 if (arg6
== NULL
) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12224 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxListbook
*result
;
12227 char *kwnames
[] = {
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (wxListbook
*)new wxListbook();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12246 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxListbook
*arg1
= (wxListbook
*) 0 ;
12249 wxWindow
*arg2
= (wxWindow
*) 0 ;
12251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12255 long arg6
= (long) 0 ;
12256 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12261 bool temp7
= false ;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj3
= 0 ;
12265 PyObject
* obj4
= 0 ;
12266 PyObject
* obj6
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12277 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12283 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12288 arg7
= wxString_in_helper(obj6
);
12289 if (arg7
== NULL
) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= PyInt_FromLong((long)result
);
12315 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxListbook
*arg1
= (wxListbook
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 resultobj
= PyInt_FromLong((long)result
);
12340 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12343 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12345 return Py_BuildValue((char *)"");
12347 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12350 int arg2
= (int) 0 ;
12351 int arg3
= (int) -1 ;
12352 int arg4
= (int) -1 ;
12353 wxListbookEvent
*result
;
12354 char *kwnames
[] = {
12355 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12373 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12376 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12378 return Py_BuildValue((char *)"");
12380 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12383 wxBookCtrlSizer
*result
;
12384 PyObject
* obj0
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "nb", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12405 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->RecalcSizes();
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 Py_INCREF(Py_None
); resultobj
= Py_None
;
12429 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (arg1
)->CalcMin();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 wxSize
* resultptr
;
12449 resultptr
= new wxSize((wxSize
&) result
);
12450 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12458 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12461 wxBookCtrl
*result
;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12483 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12486 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12488 return Py_BuildValue((char *)"");
12490 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12493 wxNotebookSizer
*result
;
12494 PyObject
* obj0
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "nb", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
12515 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 (arg1
)->RecalcSizes();
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 Py_INCREF(Py_None
); resultobj
= Py_None
;
12539 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (arg1
)->CalcMin();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 wxSize
* resultptr
;
12559 resultptr
= new wxSize((wxSize
&) result
);
12560 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12568 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12571 wxNotebook
*result
;
12572 PyObject
* obj0
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (wxNotebook
*)(arg1
)->GetNotebook();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= wxPyMake_wxObject(result
);
12595 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12598 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
12600 return Py_BuildValue((char *)"");
12602 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12606 PyObject
* obj0
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
12612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (int)(arg1
)->GetId();
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= PyInt_FromLong((long)result
);
12627 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (wxControl
*)(arg1
)->GetControl();
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= wxPyMake_wxObject(result
);
12654 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
;
12656 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12657 wxToolBarBase
*result
;
12658 PyObject
* obj0
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "self", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
12664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= wxPyMake_wxObject(result
);
12681 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12685 PyObject
* obj0
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= (int)(arg1
)->IsButton();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= PyInt_FromLong((long)result
);
12706 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (int)(arg1
)->IsControl();
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= PyInt_FromLong((long)result
);
12731 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= (int)(arg1
)->IsSeparator();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= PyInt_FromLong((long)result
);
12756 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (int)(arg1
)->GetStyle();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= PyInt_FromLong((long)result
);
12781 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12785 PyObject
* obj0
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
12791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (int)(arg1
)->GetKind();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= PyInt_FromLong((long)result
);
12806 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (bool)(arg1
)->IsEnabled();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= PyInt_FromLong((long)result
);
12831 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (bool)(arg1
)->IsToggled();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= PyInt_FromLong((long)result
);
12856 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (bool)(arg1
)->CanBeToggled();
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= PyInt_FromLong((long)result
);
12881 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12885 PyObject
* obj0
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
12896 result
= (wxBitmap
*) &_result_ref
;
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
12909 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
12924 result
= (wxBitmap
*) &_result_ref
;
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
12937 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
12947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (arg1
)->GetBitmap();
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 wxBitmap
* resultptr
;
12957 resultptr
= new wxBitmap((wxBitmap
&) result
);
12958 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
12966 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (arg1
)->GetLabel();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12997 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (arg1
)->GetShortHelp();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13028 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13032 PyObject
* obj0
= 0 ;
13033 char *kwnames
[] = {
13034 (char *) "self", NULL
13037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (arg1
)->GetLongHelp();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13059 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "enable", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13072 arg2
= PyInt_AsLong(obj1
) ? true : false;
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (bool)(arg1
)->Enable(arg2
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= PyInt_FromLong((long)result
);
13088 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 Py_INCREF(Py_None
); resultobj
= Py_None
;
13112 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self",(char *) "toggle", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13125 arg2
= PyInt_AsLong(obj1
) ? true : false;
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (bool)(arg1
)->SetToggle(arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= PyInt_FromLong((long)result
);
13141 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13144 wxString
*arg2
= 0 ;
13146 bool temp2
= false ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self",(char *) "help", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13156 arg2
= wxString_in_helper(obj1
);
13157 if (arg2
== NULL
) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= PyInt_FromLong((long)result
);
13182 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13185 wxString
*arg2
= 0 ;
13187 bool temp2
= false ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self",(char *) "help", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13197 arg2
= wxString_in_helper(obj1
);
13198 if (arg2
== NULL
) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= PyInt_FromLong((long)result
);
13223 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13226 wxBitmap
*arg2
= 0 ;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self",(char *) "bmp", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13236 if (arg2
== NULL
) {
13237 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 Py_INCREF(Py_None
); resultobj
= Py_None
;
13253 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13256 wxBitmap
*arg2
= 0 ;
13257 PyObject
* obj0
= 0 ;
13258 PyObject
* obj1
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "bmp", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13266 if (arg2
== NULL
) {
13267 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13286 wxString
*arg2
= 0 ;
13287 bool temp2
= false ;
13288 PyObject
* obj0
= 0 ;
13289 PyObject
* obj1
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self",(char *) "label", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13297 arg2
= wxString_in_helper(obj1
);
13298 if (arg2
== NULL
) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 (arg1
)->SetLabel((wxString
const &)*arg2
);
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 Py_INCREF(Py_None
); resultobj
= Py_None
;
13323 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13347 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13350 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self",(char *) "tbar", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 (arg1
)->Attach(arg2
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 Py_INCREF(Py_None
); resultobj
= Py_None
;
13374 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= result
;
13399 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13402 PyObject
*arg2
= (PyObject
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self",(char *) "clientData", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 Py_INCREF(Py_None
); resultobj
= Py_None
;
13426 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13429 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13431 return Py_BuildValue((char *)"");
13433 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13437 wxString
*arg3
= 0 ;
13438 wxBitmap
*arg4
= 0 ;
13439 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13440 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13441 int arg6
= (int) wxITEM_NORMAL
;
13442 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13443 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13444 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13445 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13446 PyObject
*arg9
= (PyObject
*) NULL
;
13447 wxToolBarToolBase
*result
;
13448 bool temp3
= false ;
13449 bool temp7
= false ;
13450 bool temp8
= false ;
13451 PyObject
* obj0
= 0 ;
13452 PyObject
* obj2
= 0 ;
13453 PyObject
* obj3
= 0 ;
13454 PyObject
* obj4
= 0 ;
13455 PyObject
* obj6
= 0 ;
13456 PyObject
* obj7
= 0 ;
13457 PyObject
* obj8
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13465 arg3
= wxString_in_helper(obj2
);
13466 if (arg3
== NULL
) SWIG_fail
;
13469 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13470 if (arg4
== NULL
) {
13471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13474 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13475 if (arg5
== NULL
) {
13476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13481 arg7
= wxString_in_helper(obj6
);
13482 if (arg7
== NULL
) SWIG_fail
;
13488 arg8
= wxString_in_helper(obj7
);
13489 if (arg8
== NULL
) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= wxPyMake_wxObject(result
);
13536 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13541 wxString
*arg4
= 0 ;
13542 wxBitmap
*arg5
= 0 ;
13543 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
13544 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
13545 int arg7
= (int) wxITEM_NORMAL
;
13546 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13547 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13548 wxString
const &arg9_defvalue
= wxPyEmptyString
;
13549 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13550 PyObject
*arg10
= (PyObject
*) NULL
;
13551 wxToolBarToolBase
*result
;
13552 bool temp4
= false ;
13553 bool temp8
= false ;
13554 bool temp9
= false ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 PyObject
* obj3
= 0 ;
13558 PyObject
* obj4
= 0 ;
13559 PyObject
* obj5
= 0 ;
13560 PyObject
* obj7
= 0 ;
13561 PyObject
* obj8
= 0 ;
13562 PyObject
* obj9
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13569 arg2
= (size_t) PyInt_AsLong(obj1
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 arg4
= wxString_in_helper(obj3
);
13573 if (arg4
== NULL
) SWIG_fail
;
13576 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13577 if (arg5
== NULL
) {
13578 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13581 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13582 if (arg6
== NULL
) {
13583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13588 arg8
= wxString_in_helper(obj7
);
13589 if (arg8
== NULL
) SWIG_fail
;
13595 arg9
= wxString_in_helper(obj8
);
13596 if (arg9
== NULL
) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 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
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= wxPyMake_wxObject(result
);
13643 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13646 wxControl
*arg2
= (wxControl
*) 0 ;
13647 wxToolBarToolBase
*result
;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "control", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13656 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= wxPyMake_wxObject(result
);
13673 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13677 wxControl
*arg3
= (wxControl
*) 0 ;
13678 wxToolBarToolBase
*result
;
13679 PyObject
* obj0
= 0 ;
13680 PyObject
* obj1
= 0 ;
13681 PyObject
* obj2
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self",(char *) "pos",(char *) "control", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13688 arg2
= (size_t) PyInt_AsLong(obj1
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13690 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= wxPyMake_wxObject(result
);
13707 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "self",(char *) "id", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
13718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= wxPyMake_wxObject(result
);
13735 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13738 wxToolBarToolBase
*result
;
13739 PyObject
* obj0
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
13745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= wxPyMake_wxObject(result
);
13762 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13766 wxToolBarToolBase
*result
;
13767 PyObject
* obj0
= 0 ;
13768 PyObject
* obj1
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self",(char *) "pos", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13775 arg2
= (size_t) PyInt_AsLong(obj1
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= wxPyMake_wxObject(result
);
13793 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13797 wxToolBarToolBase
*result
;
13798 PyObject
* obj0
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self",(char *) "id", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= wxPyMake_wxObject(result
);
13821 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
;
13823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13826 PyObject
* obj0
= 0 ;
13827 PyObject
* obj1
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "self",(char *) "pos", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
13833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13834 arg2
= (size_t) PyInt_AsLong(obj1
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= PyInt_FromLong((long)result
);
13850 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
;
13852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13855 PyObject
* obj0
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "self",(char *) "id", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 result
= (bool)(arg1
)->DeleteTool(arg2
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= PyInt_FromLong((long)result
);
13876 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 (arg1
)->ClearTools();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 Py_INCREF(Py_None
); resultobj
= Py_None
;
13900 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
13910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (bool)(arg1
)->Realize();
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= PyInt_FromLong((long)result
);
13925 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj2
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self",(char *) "id",(char *) "enable", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13938 arg3
= PyInt_AsLong(obj2
) ? true : false;
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 (arg1
)->EnableTool(arg2
,arg3
);
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 Py_INCREF(Py_None
); resultobj
= Py_None
;
13954 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj2
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "id",(char *) "toggle", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13967 arg3
= PyInt_AsLong(obj2
) ? true : false;
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 (arg1
)->ToggleTool(arg2
,arg3
);
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13976 Py_INCREF(Py_None
); resultobj
= Py_None
;
13983 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13988 PyObject
* obj0
= 0 ;
13989 PyObject
* obj2
= 0 ;
13990 char *kwnames
[] = {
13991 (char *) "self",(char *) "id",(char *) "toggle", NULL
13994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13996 arg3
= PyInt_AsLong(obj2
) ? true : false;
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 (arg1
)->SetToggle(arg2
,arg3
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 Py_INCREF(Py_None
); resultobj
= Py_None
;
14012 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14017 PyObject
* obj0
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self",(char *) "id", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= result
;
14038 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
;
14040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14042 PyObject
*arg3
= (PyObject
*) 0 ;
14043 PyObject
* obj0
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self",(char *) "id",(char *) "clientData", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 Py_INCREF(Py_None
); resultobj
= Py_None
;
14066 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14071 PyObject
* obj0
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "self",(char *) "id", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= PyInt_FromLong((long)result
);
14092 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self",(char *) "id", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= (bool)(arg1
)->GetToolState(arg2
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= PyInt_FromLong((long)result
);
14118 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self",(char *) "id", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= PyInt_FromLong((long)result
);
14144 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14148 wxString
*arg3
= 0 ;
14149 bool temp3
= false ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj2
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self",(char *) "id",(char *) "helpString", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 arg3
= wxString_in_helper(obj2
);
14160 if (arg3
== NULL
) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14185 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14190 PyObject
* obj0
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self",(char *) "id", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (arg1
)->GetToolShortHelp(arg2
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14217 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
;
14219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14221 wxString
*arg3
= 0 ;
14222 bool temp3
= false ;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj2
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self",(char *) "id",(char *) "helpString", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14232 arg3
= wxString_in_helper(obj2
);
14233 if (arg3
== NULL
) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 Py_INCREF(Py_None
); resultobj
= Py_None
;
14258 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self",(char *) "id", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 result
= (arg1
)->GetToolLongHelp(arg2
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14290 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14295 PyObject
* obj0
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self",(char *) "x",(char *) "y", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 (arg1
)->SetMargins(arg2
,arg3
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 Py_INCREF(Py_None
); resultobj
= Py_None
;
14316 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self",(char *) "size", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14331 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 Py_INCREF(Py_None
); resultobj
= Py_None
;
14347 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self",(char *) "packing", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 (arg1
)->SetToolPacking(arg2
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 Py_INCREF(Py_None
); resultobj
= Py_None
;
14372 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self",(char *) "separation", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 (arg1
)->SetToolSeparation(arg2
);
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 Py_INCREF(Py_None
); resultobj
= Py_None
;
14397 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (arg1
)->GetToolMargins();
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14416 wxSize
* resultptr
;
14417 resultptr
= new wxSize((wxSize
&) result
);
14418 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14426 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
;
14428 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (arg1
)->GetMargins();
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 wxSize
* resultptr
;
14446 resultptr
= new wxSize((wxSize
&) result
);
14447 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14455 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
14465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14468 result
= (int)(arg1
)->GetToolPacking();
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= PyInt_FromLong((long)result
);
14480 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
;
14482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14484 PyObject
* obj0
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
14490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (int)(arg1
)->GetToolSeparation();
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= PyInt_FromLong((long)result
);
14505 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14509 PyObject
* obj0
= 0 ;
14510 char *kwnames
[] = {
14511 (char *) "self",(char *) "nRows", NULL
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
14515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 (arg1
)->SetRows(arg2
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 Py_INCREF(Py_None
); resultobj
= Py_None
;
14530 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14535 PyObject
* obj0
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self",(char *) "rows",(char *) "cols", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 Py_INCREF(Py_None
); resultobj
= Py_None
;
14556 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14560 PyObject
* obj0
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
14566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (int)(arg1
)->GetMaxRows();
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= PyInt_FromLong((long)result
);
14581 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (int)(arg1
)->GetMaxCols();
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= PyInt_FromLong((long)result
);
14606 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self",(char *) "size", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 Py_INCREF(Py_None
); resultobj
= Py_None
;
14637 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (arg1
)->GetToolBitmapSize();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 wxSize
* resultptr
;
14657 resultptr
= new wxSize((wxSize
&) result
);
14658 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14666 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (arg1
)->GetToolSize();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 wxSize
* resultptr
;
14686 resultptr
= new wxSize((wxSize
&) result
);
14687 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14695 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14700 wxToolBarToolBase
*result
;
14701 PyObject
* obj0
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self",(char *) "x",(char *) "y", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= wxPyMake_wxObject(result
);
14724 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (bool)(arg1
)->IsVertical();
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= PyInt_FromLong((long)result
);
14749 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
14751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14752 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
14754 return Py_BuildValue((char *)"");
14756 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxWindow
*arg1
= (wxWindow
*) 0 ;
14760 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14761 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14762 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14763 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14764 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14765 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
14766 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14770 bool temp6
= false ;
14771 PyObject
* obj0
= 0 ;
14772 PyObject
* obj2
= 0 ;
14773 PyObject
* obj3
= 0 ;
14774 PyObject
* obj5
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14795 arg6
= wxString_in_helper(obj5
);
14796 if (arg6
== NULL
) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= wxPyMake_wxObject(result
);
14824 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14827 char *kwnames
[] = {
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (wxToolBar
*)new wxToolBar();
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= wxPyMake_wxObject(result
);
14848 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
14851 wxWindow
*arg2
= (wxWindow
*) 0 ;
14853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14857 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14858 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
14859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14863 bool temp7
= false ;
14864 PyObject
* obj0
= 0 ;
14865 PyObject
* obj1
= 0 ;
14866 PyObject
* obj3
= 0 ;
14867 PyObject
* obj4
= 0 ;
14868 PyObject
* obj6
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14875 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14879 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14885 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14890 arg7
= wxString_in_helper(obj6
);
14891 if (arg7
== NULL
) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= PyInt_FromLong((long)result
);
14917 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
14922 wxToolBarToolBase
*result
;
14923 PyObject
* obj0
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "self",(char *) "x",(char *) "y", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= wxPyMake_wxObject(result
);
14946 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
14948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14949 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
14951 return Py_BuildValue((char *)"");
14953 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxColour
const &arg1_defvalue
= wxNullColour
;
14956 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
14957 wxColour
const &arg2_defvalue
= wxNullColour
;
14958 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
14959 wxFont
const &arg3_defvalue
= wxNullFont
;
14960 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
14961 wxListItemAttr
*result
;
14964 PyObject
* obj0
= 0 ;
14965 PyObject
* obj1
= 0 ;
14966 PyObject
* obj2
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14975 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
14981 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14985 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14986 if (arg3
== NULL
) {
14987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15004 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15007 wxColour
*arg2
= 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "colText", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 Py_INCREF(Py_None
); resultobj
= Py_None
;
15035 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15038 wxColour
*arg2
= 0 ;
15040 PyObject
* obj0
= 0 ;
15041 PyObject
* obj1
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "self",(char *) "colBack", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15050 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 Py_INCREF(Py_None
); resultobj
= Py_None
;
15066 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 PyObject
* obj1
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self",(char *) "font", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15079 if (arg2
== NULL
) {
15080 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 (arg1
)->SetFont((wxFont
const &)*arg2
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 Py_INCREF(Py_None
); resultobj
= Py_None
;
15096 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (bool)(arg1
)->HasTextColour();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= PyInt_FromLong((long)result
);
15121 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (bool)(arg1
)->HasBackgroundColour();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= PyInt_FromLong((long)result
);
15146 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (bool)(arg1
)->HasFont();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= PyInt_FromLong((long)result
);
15171 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= (arg1
)->GetTextColour();
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15190 wxColour
* resultptr
;
15191 resultptr
= new wxColour((wxColour
&) result
);
15192 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15200 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15204 PyObject
* obj0
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (arg1
)->GetBackgroundColour();
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15219 wxColour
* resultptr
;
15220 resultptr
= new wxColour((wxColour
&) result
);
15221 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15229 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15233 PyObject
* obj0
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 result
= (arg1
)->GetFont();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 wxFont
* resultptr
;
15249 resultptr
= new wxFont((wxFont
&) result
);
15250 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15258 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15261 PyObject
* obj0
= 0 ;
15262 char *kwnames
[] = {
15263 (char *) "self", NULL
15266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 wxListItemAttr_Destroy(arg1
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 Py_INCREF(Py_None
); resultobj
= Py_None
;
15282 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15285 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15287 return Py_BuildValue((char *)"");
15289 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxListItem
*result
;
15292 char *kwnames
[] = {
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (wxListItem
*)new wxListItem();
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= wxPyMake_wxObject(result
);
15313 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxListItem
*arg1
= (wxListItem
*) 0 ;
15316 PyObject
* obj0
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 Py_INCREF(Py_None
); resultobj
= Py_None
;
15337 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxListItem
*arg1
= (wxListItem
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 Py_INCREF(Py_None
); resultobj
= Py_None
;
15361 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxListItem
*arg1
= (wxListItem
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 (arg1
)->ClearAttributes();
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 Py_INCREF(Py_None
); resultobj
= Py_None
;
15385 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxListItem
*arg1
= (wxListItem
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self",(char *) "mask", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 (arg1
)->SetMask(arg2
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 Py_INCREF(Py_None
); resultobj
= Py_None
;
15410 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxListItem
*arg1
= (wxListItem
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self",(char *) "id", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
15420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 (arg1
)->SetId(arg2
);
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 Py_INCREF(Py_None
); resultobj
= Py_None
;
15435 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
;
15437 wxListItem
*arg1
= (wxListItem
*) 0 ;
15439 PyObject
* obj0
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self",(char *) "col", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 (arg1
)->SetColumn(arg2
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 Py_INCREF(Py_None
); resultobj
= Py_None
;
15460 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxListItem
*arg1
= (wxListItem
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self",(char *) "state", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 (arg1
)->SetState(arg2
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 Py_INCREF(Py_None
); resultobj
= Py_None
;
15485 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxListItem
*arg1
= (wxListItem
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self",(char *) "stateMask", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 (arg1
)->SetStateMask(arg2
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 Py_INCREF(Py_None
); resultobj
= Py_None
;
15510 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxListItem
*arg1
= (wxListItem
*) 0 ;
15513 wxString
*arg2
= 0 ;
15514 bool temp2
= false ;
15515 PyObject
* obj0
= 0 ;
15516 PyObject
* obj1
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "self",(char *) "text", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15524 arg2
= wxString_in_helper(obj1
);
15525 if (arg2
== NULL
) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 (arg1
)->SetText((wxString
const &)*arg2
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 Py_INCREF(Py_None
); resultobj
= Py_None
;
15550 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxListItem
*arg1
= (wxListItem
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self",(char *) "image", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
15560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 (arg1
)->SetImage(arg2
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 Py_INCREF(Py_None
); resultobj
= Py_None
;
15575 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxListItem
*arg1
= (wxListItem
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self",(char *) "data", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 (arg1
)->SetData(arg2
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 Py_INCREF(Py_None
); resultobj
= Py_None
;
15600 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxListItem
*arg1
= (wxListItem
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self",(char *) "width", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 (arg1
)->SetWidth(arg2
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 Py_INCREF(Py_None
); resultobj
= Py_None
;
15625 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxListItem
*arg1
= (wxListItem
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self",(char *) "align", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
15635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 Py_INCREF(Py_None
); resultobj
= Py_None
;
15650 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxListItem
*arg1
= (wxListItem
*) 0 ;
15653 wxColour
*arg2
= 0 ;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self",(char *) "colText", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15665 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 Py_INCREF(Py_None
); resultobj
= Py_None
;
15681 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxListItem
*arg1
= (wxListItem
*) 0 ;
15684 wxColour
*arg2
= 0 ;
15686 PyObject
* obj0
= 0 ;
15687 PyObject
* obj1
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self",(char *) "colBack", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 Py_INCREF(Py_None
); resultobj
= Py_None
;
15712 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxListItem
*arg1
= (wxListItem
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "self",(char *) "font", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15724 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15725 if (arg2
== NULL
) {
15726 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 (arg1
)->SetFont((wxFont
const &)*arg2
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 Py_INCREF(Py_None
); resultobj
= Py_None
;
15742 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxListItem
*arg1
= (wxListItem
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
15752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (long)(arg1
)->GetMask();
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= PyInt_FromLong((long)result
);
15767 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxListItem
*arg1
= (wxListItem
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (long)(arg1
)->GetId();
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= PyInt_FromLong((long)result
);
15792 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxListItem
*arg1
= (wxListItem
*) 0 ;
15796 PyObject
* obj0
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (int)(arg1
)->GetColumn();
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= PyInt_FromLong((long)result
);
15817 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxListItem
*arg1
= (wxListItem
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 result
= (long)(arg1
)->GetState();
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= PyInt_FromLong((long)result
);
15842 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxListItem
*arg1
= (wxListItem
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 wxString
const &_result_ref
= (arg1
)->GetText();
15857 result
= (wxString
*) &_result_ref
;
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15870 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxListItem
*arg1
= (wxListItem
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
15880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (int)(arg1
)->GetImage();
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= PyInt_FromLong((long)result
);
15895 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxListItem
*arg1
= (wxListItem
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (long)(arg1
)->GetData();
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= PyInt_FromLong((long)result
);
15920 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxListItem
*arg1
= (wxListItem
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (int)(arg1
)->GetWidth();
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= PyInt_FromLong((long)result
);
15945 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxListItem
*arg1
= (wxListItem
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (int)(arg1
)->GetAlign();
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= PyInt_FromLong((long)result
);
15970 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxListItem
*arg1
= (wxListItem
*) 0 ;
15973 wxListItemAttr
*result
;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
15980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
15995 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxListItem
*arg1
= (wxListItem
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (bool)(arg1
)->HasAttributes();
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= PyInt_FromLong((long)result
);
16020 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxListItem
*arg1
= (wxListItem
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16039 wxColour
* resultptr
;
16040 resultptr
= new wxColour((wxColour
&) result
);
16041 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16049 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxListItem
*arg1
= (wxListItem
*) 0 ;
16053 PyObject
* obj0
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16068 wxColour
* resultptr
;
16069 resultptr
= new wxColour((wxColour
&) result
);
16070 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16078 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxListItem
*arg1
= (wxListItem
*) 0 ;
16082 PyObject
* obj0
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= ((wxListItem
const *)arg1
)->GetFont();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 wxFont
* resultptr
;
16098 resultptr
= new wxFont((wxFont
&) result
);
16099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16107 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxListItem
*arg1
= (wxListItem
*) 0 ;
16111 PyObject
* obj0
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "self",(char *) "m_mask", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16118 if (arg1
) (arg1
)->m_mask
= arg2
;
16120 Py_INCREF(Py_None
); resultobj
= Py_None
;
16127 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxListItem
*arg1
= (wxListItem
*) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16138 result
= (long) ((arg1
)->m_mask
);
16140 resultobj
= PyInt_FromLong((long)result
);
16147 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxListItem
*arg1
= (wxListItem
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self",(char *) "m_itemId", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16158 if (arg1
) (arg1
)->m_itemId
= arg2
;
16160 Py_INCREF(Py_None
); resultobj
= Py_None
;
16167 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxListItem
*arg1
= (wxListItem
*) 0 ;
16171 PyObject
* obj0
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16178 result
= (long) ((arg1
)->m_itemId
);
16180 resultobj
= PyInt_FromLong((long)result
);
16187 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxListItem
*arg1
= (wxListItem
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self",(char *) "m_col", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16198 if (arg1
) (arg1
)->m_col
= arg2
;
16200 Py_INCREF(Py_None
); resultobj
= Py_None
;
16207 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxListItem
*arg1
= (wxListItem
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16218 result
= (int) ((arg1
)->m_col
);
16220 resultobj
= PyInt_FromLong((long)result
);
16227 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxListItem
*arg1
= (wxListItem
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self",(char *) "m_state", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16238 if (arg1
) (arg1
)->m_state
= arg2
;
16240 Py_INCREF(Py_None
); resultobj
= Py_None
;
16247 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16249 wxListItem
*arg1
= (wxListItem
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16258 result
= (long) ((arg1
)->m_state
);
16260 resultobj
= PyInt_FromLong((long)result
);
16267 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxListItem
*arg1
= (wxListItem
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self",(char *) "m_stateMask", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16278 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16280 Py_INCREF(Py_None
); resultobj
= Py_None
;
16287 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxListItem
*arg1
= (wxListItem
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16298 result
= (long) ((arg1
)->m_stateMask
);
16300 resultobj
= PyInt_FromLong((long)result
);
16307 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
;
16309 wxListItem
*arg1
= (wxListItem
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 PyObject
* obj1
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self",(char *) "m_text", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16320 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16322 if (arg1
) (arg1
)->m_text
= arg2
;
16324 Py_INCREF(Py_None
); resultobj
= Py_None
;
16331 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxListItem
*arg1
= (wxListItem
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16342 result
= ((arg1
)->m_text
);
16346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16357 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxListItem
*arg1
= (wxListItem
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "m_image", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16368 if (arg1
) (arg1
)->m_image
= arg2
;
16370 Py_INCREF(Py_None
); resultobj
= Py_None
;
16377 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxListItem
*arg1
= (wxListItem
*) 0 ;
16381 PyObject
* obj0
= 0 ;
16382 char *kwnames
[] = {
16383 (char *) "self", NULL
16386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16388 result
= (int) ((arg1
)->m_image
);
16390 resultobj
= PyInt_FromLong((long)result
);
16397 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxListItem
*arg1
= (wxListItem
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self",(char *) "m_data", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16408 if (arg1
) (arg1
)->m_data
= arg2
;
16410 Py_INCREF(Py_None
); resultobj
= Py_None
;
16417 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxListItem
*arg1
= (wxListItem
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16428 result
= (long) ((arg1
)->m_data
);
16430 resultobj
= PyInt_FromLong((long)result
);
16437 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxListItem
*arg1
= (wxListItem
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self",(char *) "m_format", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16448 if (arg1
) (arg1
)->m_format
= arg2
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16457 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxListItem
*arg1
= (wxListItem
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16468 result
= (int) ((arg1
)->m_format
);
16470 resultobj
= PyInt_FromLong((long)result
);
16477 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxListItem
*arg1
= (wxListItem
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self",(char *) "m_width", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16488 if (arg1
) (arg1
)->m_width
= arg2
;
16490 Py_INCREF(Py_None
); resultobj
= Py_None
;
16497 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxListItem
*arg1
= (wxListItem
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16508 result
= (int) ((arg1
)->m_width
);
16510 resultobj
= PyInt_FromLong((long)result
);
16517 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
16519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16520 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
16522 return Py_BuildValue((char *)"");
16524 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16527 int arg2
= (int) 0 ;
16528 wxListEvent
*result
;
16529 char *kwnames
[] = {
16530 (char *) "commandType",(char *) "id", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
16548 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self",(char *) "m_code", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16559 if (arg1
) (arg1
)->m_code
= arg2
;
16561 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16579 result
= (int) ((arg1
)->m_code
);
16581 resultobj
= PyInt_FromLong((long)result
);
16588 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self",(char *) "m_oldItemIndex", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16599 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
16601 Py_INCREF(Py_None
); resultobj
= Py_None
;
16608 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16612 PyObject
* obj0
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
16618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16619 result
= (long) ((arg1
)->m_oldItemIndex
);
16621 resultobj
= PyInt_FromLong((long)result
);
16628 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16632 PyObject
* obj0
= 0 ;
16633 char *kwnames
[] = {
16634 (char *) "self",(char *) "m_itemIndex", NULL
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16639 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
16641 Py_INCREF(Py_None
); resultobj
= Py_None
;
16648 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "self", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
16658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16659 result
= (long) ((arg1
)->m_itemIndex
);
16661 resultobj
= PyInt_FromLong((long)result
);
16668 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self",(char *) "m_col", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16679 if (arg1
) (arg1
)->m_col
= arg2
;
16681 Py_INCREF(Py_None
); resultobj
= Py_None
;
16688 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16699 result
= (int) ((arg1
)->m_col
);
16701 resultobj
= PyInt_FromLong((long)result
);
16708 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16711 wxPoint
*arg2
= (wxPoint
*) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "m_pointDrag", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16721 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
16723 Py_INCREF(Py_None
); resultobj
= Py_None
;
16730 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
16740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16741 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
16743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16750 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16753 wxListItem
*result
;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16761 result
= (wxListItem
*)& ((arg1
)->m_item
);
16764 resultobj
= wxPyMake_wxObject(result
);
16772 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "self", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (int)(arg1
)->GetKeyCode();
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 resultobj
= PyInt_FromLong((long)result
);
16797 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
;
16799 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16801 PyObject
* obj0
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "self", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
16807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= (long)(arg1
)->GetIndex();
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= PyInt_FromLong((long)result
);
16822 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
;
16824 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16826 PyObject
* obj0
= 0 ;
16827 char *kwnames
[] = {
16828 (char *) "self", NULL
16831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
16832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 result
= (int)(arg1
)->GetColumn();
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= PyInt_FromLong((long)result
);
16847 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
16857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (arg1
)->GetPoint();
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 wxPoint
* resultptr
;
16867 resultptr
= new wxPoint((wxPoint
&) result
);
16868 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16876 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16880 PyObject
* obj0
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 wxString
const &_result_ref
= (arg1
)->GetLabel();
16891 result
= (wxString
*) &_result_ref
;
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
16904 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
;
16906 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 char *kwnames
[] = {
16910 (char *) "self", NULL
16913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
16914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 wxString
const &_result_ref
= (arg1
)->GetText();
16919 result
= (wxString
*) &_result_ref
;
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
16932 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 char *kwnames
[] = {
16938 (char *) "self", NULL
16941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
16942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= (int)(arg1
)->GetImage();
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= PyInt_FromLong((long)result
);
16957 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
16967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= (long)(arg1
)->GetData();
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= PyInt_FromLong((long)result
);
16982 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= (long)(arg1
)->GetMask();
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 resultobj
= PyInt_FromLong((long)result
);
17007 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17010 wxListItem
*result
;
17011 PyObject
* obj0
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17022 result
= (wxListItem
*) &_result_ref
;
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17035 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (long)(arg1
)->GetCacheFrom();
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= PyInt_FromLong((long)result
);
17060 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (long)(arg1
)->GetCacheTo();
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= PyInt_FromLong((long)result
);
17085 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= PyInt_FromLong((long)result
);
17110 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self",(char *) "editCancelled", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17122 arg2
= PyInt_AsLong(obj1
) ? true : false;
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 (arg1
)->SetEditCanceled(arg2
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17131 Py_INCREF(Py_None
); resultobj
= Py_None
;
17138 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17141 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17143 return Py_BuildValue((char *)"");
17145 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxWindow
*arg1
= (wxWindow
*) 0 ;
17148 wxWindowID arg2
= (wxWindowID
) -1 ;
17149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17153 long arg5
= (long) wxLC_ICON
;
17154 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17155 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17156 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17158 wxPyListCtrl
*result
;
17161 bool temp7
= false ;
17162 PyObject
* obj0
= 0 ;
17163 PyObject
* obj2
= 0 ;
17164 PyObject
* obj3
= 0 ;
17165 PyObject
* obj5
= 0 ;
17166 PyObject
* obj6
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17176 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17182 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17186 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17187 if (arg6
== NULL
) {
17188 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17193 arg7
= wxString_in_helper(obj6
);
17194 if (arg7
== NULL
) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17220 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxPyListCtrl
*result
;
17223 char *kwnames
[] = {
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17242 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17245 wxWindow
*arg2
= (wxWindow
*) 0 ;
17246 wxWindowID arg3
= (wxWindowID
) -1 ;
17247 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17248 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17249 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17250 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17251 long arg6
= (long) wxLC_ICON
;
17252 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17253 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17254 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17255 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17259 bool temp8
= false ;
17260 PyObject
* obj0
= 0 ;
17261 PyObject
* obj1
= 0 ;
17262 PyObject
* obj3
= 0 ;
17263 PyObject
* obj4
= 0 ;
17264 PyObject
* obj6
= 0 ;
17265 PyObject
* obj7
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17286 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17287 if (arg7
== NULL
) {
17288 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17293 arg8
= wxString_in_helper(obj7
);
17294 if (arg8
== NULL
) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= PyInt_FromLong((long)result
);
17320 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17323 PyObject
*arg2
= (PyObject
*) 0 ;
17324 PyObject
*arg3
= (PyObject
*) 0 ;
17325 PyObject
* obj0
= 0 ;
17326 PyObject
* obj1
= 0 ;
17327 PyObject
* obj2
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "self",(char *) "_class", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 Py_INCREF(Py_None
); resultobj
= Py_None
;
17350 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17353 wxColour
*arg2
= 0 ;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self",(char *) "col", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= PyInt_FromLong((long)result
);
17382 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17385 wxColour
*arg2
= 0 ;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "col", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17398 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= PyInt_FromLong((long)result
);
17414 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17418 wxListItem
*result
;
17419 PyObject
* obj0
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self",(char *) "col", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= wxPyMake_wxObject(result
);
17442 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17446 wxListItem
*arg3
= 0 ;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj2
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self",(char *) "col",(char *) "item", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17456 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17457 if (arg3
== NULL
) {
17458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= PyInt_FromLong((long)result
);
17474 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self",(char *) "col", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
17485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= PyInt_FromLong((long)result
);
17500 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
;
17502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17506 PyObject
* obj0
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self",(char *) "col",(char *) "width", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= PyInt_FromLong((long)result
);
17527 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17531 PyObject
* obj0
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "self", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
17537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= PyInt_FromLong((long)result
);
17552 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17556 PyObject
* obj0
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
17562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 wxRect
* resultptr
;
17572 resultptr
= new wxRect((wxRect
&) result
);
17573 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17581 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17585 int arg3
= (int) 0 ;
17586 wxListItem
*result
;
17587 PyObject
* obj0
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "self",(char *) "itemId",(char *) "col", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= wxPyMake_wxObject(result
);
17610 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17613 wxListItem
*arg2
= 0 ;
17615 PyObject
* obj0
= 0 ;
17616 PyObject
* obj1
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self",(char *) "info", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17624 if (arg2
== NULL
) {
17625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (bool)(arg1
)->SetItem(*arg2
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= PyInt_FromLong((long)result
);
17641 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17646 wxString
*arg4
= 0 ;
17647 int arg5
= (int) -1 ;
17649 bool temp4
= false ;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj3
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17659 arg4
= wxString_in_helper(obj3
);
17660 if (arg4
== NULL
) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= PyInt_FromLong((long)result
);
17685 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= PyInt_FromLong((long)result
);
17712 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17719 PyObject
* obj0
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= PyInt_FromLong((long)result
);
17740 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17747 PyObject
* obj0
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= PyInt_FromLong((long)result
);
17768 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self",(char *) "item", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
17779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17800 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17804 wxString
*arg3
= 0 ;
17805 bool temp3
= false ;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj2
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self",(char *) "item",(char *) "str", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17815 arg3
= wxString_in_helper(obj2
);
17816 if (arg3
== NULL
) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 Py_INCREF(Py_None
); resultobj
= Py_None
;
17841 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self",(char *) "item", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= PyInt_FromLong((long)result
);
17867 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self",(char *) "item",(char *) "data", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= PyInt_FromLong((long)result
);
17894 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self",(char *) "item", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
17905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17914 wxPoint
* resultptr
;
17915 resultptr
= new wxPoint((wxPoint
&) result
);
17916 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17924 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17925 PyObject
*resultobj
;
17926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17928 int arg3
= (int) wxLIST_RECT_BOUNDS
;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self",(char *) "item",(char *) "code", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17945 wxRect
* resultptr
;
17946 resultptr
= new wxRect((wxRect
&) result
);
17947 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17955 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17959 wxPoint
*arg3
= 0 ;
17962 PyObject
* obj0
= 0 ;
17963 PyObject
* obj2
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self",(char *) "item",(char *) "pos", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17972 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= PyInt_FromLong((long)result
);
17988 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
17998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= PyInt_FromLong((long)result
);
18013 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= PyInt_FromLong((long)result
);
18038 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 wxSize
* resultptr
;
18058 resultptr
= new wxSize((wxSize
&) result
);
18059 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18067 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18071 bool arg3
= (bool) FALSE
;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj2
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18081 arg3
= PyInt_AsLong(obj2
) ? true : false;
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 (arg1
)->SetItemSpacing(arg2
,arg3
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 Py_INCREF(Py_None
); resultobj
= Py_None
;
18098 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18102 PyObject
* obj0
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= PyInt_FromLong((long)result
);
18123 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18142 wxColour
* resultptr
;
18143 resultptr
= new wxColour((wxColour
&) result
);
18144 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18152 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18155 wxColour
*arg2
= 0 ;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self",(char *) "col", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18167 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 Py_INCREF(Py_None
); resultobj
= Py_None
;
18183 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18187 PyObject
* obj0
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= PyInt_FromLong((long)result
);
18208 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18212 bool arg3
= (bool) TRUE
;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj2
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "style",(char *) "add", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18222 arg3
= PyInt_AsLong(obj2
) ? true : false;
18223 if (PyErr_Occurred()) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 (arg1
)->SetSingleStyle(arg2
,arg3
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 Py_INCREF(Py_None
); resultobj
= Py_None
;
18239 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "style", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 (arg1
)->SetWindowStyleFlag(arg2
);
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 Py_INCREF(Py_None
); resultobj
= Py_None
;
18264 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18268 int arg3
= (int) wxLIST_NEXT_ALL
;
18269 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= PyInt_FromLong((long)result
);
18292 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18296 wxImageList
*result
;
18297 PyObject
* obj0
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self",(char *) "which", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= wxPyMake_wxObject(result
);
18320 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18323 wxImageList
*arg2
= (wxImageList
*) 0 ;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self",(char *) "imageList",(char *) "which", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->SetImageList(arg2
,arg3
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18351 wxImageList
*arg2
= (wxImageList
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "imageList",(char *) "which", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 (arg1
)->AssignImageList(arg2
,arg3
);
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 Py_INCREF(Py_None
); resultobj
= Py_None
;
18376 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 char *kwnames
[] = {
18382 (char *) "self", NULL
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= PyInt_FromLong((long)result
);
18401 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self",(char *) "item", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 (arg1
)->RefreshItem(arg2
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 Py_INCREF(Py_None
); resultobj
= Py_None
;
18426 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 (arg1
)->RefreshItems(arg2
,arg3
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 Py_INCREF(Py_None
); resultobj
= Py_None
;
18452 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18455 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "flag", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (bool)(arg1
)->Arrange(arg2
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= PyInt_FromLong((long)result
);
18478 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18483 PyObject
* obj0
= 0 ;
18484 char *kwnames
[] = {
18485 (char *) "self",(char *) "item", NULL
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (bool)(arg1
)->DeleteItem(arg2
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= PyInt_FromLong((long)result
);
18504 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18508 PyObject
* obj0
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (bool)(arg1
)->DeleteAllItems();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= PyInt_FromLong((long)result
);
18529 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self",(char *) "col", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (bool)(arg1
)->DeleteColumn(arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= PyInt_FromLong((long)result
);
18555 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (bool)(arg1
)->DeleteAllColumns();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= PyInt_FromLong((long)result
);
18580 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 (arg1
)->ClearAll();
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 Py_INCREF(Py_None
); resultobj
= Py_None
;
18604 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self",(char *) "item", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
18614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 (arg1
)->EditLabel(arg2
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 Py_INCREF(Py_None
); resultobj
= Py_None
;
18629 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self",(char *) "item", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (bool)(arg1
)->EnsureVisible(arg2
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= PyInt_FromLong((long)result
);
18655 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18659 wxString
*arg3
= 0 ;
18660 bool arg4
= (bool) FALSE
;
18662 bool temp3
= false ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj2
= 0 ;
18665 PyObject
* obj3
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18673 arg3
= wxString_in_helper(obj2
);
18674 if (arg3
== NULL
) SWIG_fail
;
18678 arg4
= PyInt_AsLong(obj3
) ? true : false;
18679 if (PyErr_Occurred()) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= PyInt_FromLong((long)result
);
18703 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "start",(char *) "data", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= PyInt_FromLong((long)result
);
18730 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18734 wxPoint
*arg3
= 0 ;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj2
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18748 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= PyInt_FromLong((long)result
);
18764 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18767 wxPoint
*arg2
= 0 ;
18772 PyObject
* obj0
= 0 ;
18773 PyObject
* obj1
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self",(char *) "point", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
18780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18783 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= PyInt_FromLong((long)result
);
18794 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18795 resultobj
= t_output_helper(resultobj
,o
);
18803 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18806 wxListItem
*arg2
= 0 ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "info", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18817 if (arg2
== NULL
) {
18818 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= (long)(arg1
)->InsertItem(*arg2
);
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= PyInt_FromLong((long)result
);
18834 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18838 wxString
*arg3
= 0 ;
18840 bool temp3
= false ;
18841 PyObject
* obj0
= 0 ;
18842 PyObject
* obj2
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self",(char *) "index",(char *) "label", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18850 arg3
= wxString_in_helper(obj2
);
18851 if (arg3
== NULL
) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= PyInt_FromLong((long)result
);
18876 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= PyInt_FromLong((long)result
);
18903 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18907 wxString
*arg3
= 0 ;
18910 bool temp3
= false ;
18911 PyObject
* obj0
= 0 ;
18912 PyObject
* obj2
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18920 arg3
= wxString_in_helper(obj2
);
18921 if (arg3
== NULL
) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= PyInt_FromLong((long)result
);
18946 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18950 wxListItem
*arg3
= 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj2
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "col",(char *) "info", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18960 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18961 if (arg3
== NULL
) {
18962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= PyInt_FromLong((long)result
);
18978 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18982 wxString
*arg3
= 0 ;
18983 int arg4
= (int) wxLIST_FORMAT_LEFT
;
18984 int arg5
= (int) -1 ;
18986 bool temp3
= false ;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj2
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18996 arg3
= wxString_in_helper(obj2
);
18997 if (arg3
== NULL
) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= PyInt_FromLong((long)result
);
19022 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self",(char *) "count", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 (arg1
)->SetItemCount(arg2
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 Py_INCREF(Py_None
); resultobj
= Py_None
;
19047 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self",(char *) "dx",(char *) "dy", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 resultobj
= PyInt_FromLong((long)result
);
19074 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19078 wxColour
*arg3
= 0 ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj2
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self",(char *) "item",(char *) "col", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19090 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self",(char *) "item", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 wxColour
* resultptr
;
19127 resultptr
= new wxColour((wxColour
&) result
);
19128 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19136 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19140 wxColour
*arg3
= 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj2
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self",(char *) "item",(char *) "col", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19152 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 Py_INCREF(Py_None
); resultobj
= Py_None
;
19168 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19173 PyObject
* obj0
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self",(char *) "item", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19188 wxColour
* resultptr
;
19189 resultptr
= new wxColour((wxColour
&) result
);
19190 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19198 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19201 PyObject
*arg2
= (PyObject
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "func", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= PyInt_FromLong((long)result
);
19226 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
;
19228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19230 PyObject
* obj0
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= wxPyMake_wxObject(result
);
19253 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19256 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19258 return Py_BuildValue((char *)"");
19260 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxWindow
*arg1
= (wxWindow
*) 0 ;
19263 wxWindowID arg2
= (wxWindowID
) -1 ;
19264 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19265 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19266 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19267 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19268 long arg5
= (long) wxLC_REPORT
;
19269 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19270 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19271 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19272 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19273 wxListView
*result
;
19276 bool temp7
= false ;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj2
= 0 ;
19279 PyObject
* obj3
= 0 ;
19280 PyObject
* obj5
= 0 ;
19281 PyObject
* obj6
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19297 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19301 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19302 if (arg6
== NULL
) {
19303 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19308 arg7
= wxString_in_helper(obj6
);
19309 if (arg7
== NULL
) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19335 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxListView
*result
;
19338 char *kwnames
[] = {
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (wxListView
*)new wxListView();
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19357 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxListView
*arg1
= (wxListView
*) 0 ;
19360 wxWindow
*arg2
= (wxWindow
*) 0 ;
19361 wxWindowID arg3
= (wxWindowID
) -1 ;
19362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19366 long arg6
= (long) wxLC_REPORT
;
19367 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19368 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19369 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19370 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19374 bool temp8
= false ;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 PyObject
* obj3
= 0 ;
19378 PyObject
* obj4
= 0 ;
19379 PyObject
* obj6
= 0 ;
19380 PyObject
* obj7
= 0 ;
19381 char *kwnames
[] = {
19382 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
19386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19391 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19397 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19401 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19402 if (arg7
== NULL
) {
19403 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19408 arg8
= wxString_in_helper(obj7
);
19409 if (arg8
== NULL
) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= PyInt_FromLong((long)result
);
19435 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxListView
*arg1
= (wxListView
*) 0 ;
19439 bool arg3
= (bool) TRUE
;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj2
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self",(char *) "n",(char *) "on", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19449 arg3
= PyInt_AsLong(obj2
) ? true : false;
19450 if (PyErr_Occurred()) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 (arg1
)->Select(arg2
,arg3
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 Py_INCREF(Py_None
); resultobj
= Py_None
;
19466 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxListView
*arg1
= (wxListView
*) 0 ;
19470 PyObject
* obj0
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self",(char *) "index", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
19476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->Focus(arg2
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 Py_INCREF(Py_None
); resultobj
= Py_None
;
19491 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxListView
*arg1
= (wxListView
*) 0 ;
19495 PyObject
* obj0
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "self", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
19501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19509 resultobj
= PyInt_FromLong((long)result
);
19516 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxListView
*arg1
= (wxListView
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self",(char *) "item", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= PyInt_FromLong((long)result
);
19542 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxListView
*arg1
= (wxListView
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= PyInt_FromLong((long)result
);
19567 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxListView
*arg1
= (wxListView
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self",(char *) "index", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (bool)(arg1
)->IsSelected(arg2
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= PyInt_FromLong((long)result
);
19593 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxListView
*arg1
= (wxListView
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self",(char *) "col",(char *) "image", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 (arg1
)->SetColumnImage(arg2
,arg3
);
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 Py_INCREF(Py_None
); resultobj
= Py_None
;
19619 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxListView
*arg1
= (wxListView
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "col", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 (arg1
)->ClearColumnImage(arg2
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 Py_INCREF(Py_None
); resultobj
= Py_None
;
19644 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
19646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19647 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
19649 return Py_BuildValue((char *)"");
19651 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 wxTreeItemId
*result
;
19654 char *kwnames
[] = {
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (wxTreeItemId
*)new wxTreeItemId();
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
19673 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 Py_INCREF(Py_None
); resultobj
= Py_None
;
19697 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= PyInt_FromLong((long)result
);
19722 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19725 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 PyObject
* obj1
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "self",(char *) "other", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19735 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= PyInt_FromLong((long)result
);
19750 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19753 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "self",(char *) "other", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19763 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= PyInt_FromLong((long)result
);
19778 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19781 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self",(char *) "m_pItem", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
19791 if (arg1
) (arg1
)->m_pItem
= arg2
;
19793 Py_INCREF(Py_None
); resultobj
= Py_None
;
19800 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19803 wxTreeItemIdValue result
;
19804 PyObject
* obj0
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19811 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
19813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
19820 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
19822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19823 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
19825 return Py_BuildValue((char *)"");
19827 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 PyObject
*arg1
= (PyObject
*) NULL
;
19830 wxPyTreeItemData
*result
;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "obj", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
19854 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (PyObject
*)(arg1
)->GetData();
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= result
;
19879 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19882 PyObject
*arg2
= (PyObject
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 PyObject
* obj1
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self",(char *) "obj", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->SetData(arg2
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 Py_INCREF(Py_None
); resultobj
= Py_None
;
19906 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19909 wxTreeItemId
*result
;
19910 PyObject
* obj0
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
19921 result
= (wxTreeItemId
*) &_result_ref
;
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
19934 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19937 wxTreeItemId
*arg2
= 0 ;
19938 PyObject
* obj0
= 0 ;
19939 PyObject
* obj1
= 0 ;
19940 char *kwnames
[] = {
19941 (char *) "self",(char *) "id", NULL
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19946 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19947 if (arg2
== NULL
) {
19948 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 Py_INCREF(Py_None
); resultobj
= Py_None
;
19964 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 wxPyTreeItemData_Destroy(arg1
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 Py_INCREF(Py_None
); resultobj
= Py_None
;
19988 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
19990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19991 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
19993 return Py_BuildValue((char *)"");
19995 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
;
19997 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19998 int arg2
= (int) 0 ;
19999 wxTreeEvent
*result
;
20000 char *kwnames
[] = {
20001 (char *) "commandType",(char *) "id", NULL
20004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20019 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20022 wxTreeItemId result
;
20023 PyObject
* obj0
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20038 wxTreeItemId
* resultptr
;
20039 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20040 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20048 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20051 wxTreeItemId
*arg2
= 0 ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self",(char *) "item", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20061 if (arg2
== NULL
) {
20062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 Py_INCREF(Py_None
); resultobj
= Py_None
;
20078 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20081 wxTreeItemId result
;
20082 PyObject
* obj0
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20097 wxTreeItemId
* resultptr
;
20098 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20107 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20109 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20110 wxTreeItemId
*arg2
= 0 ;
20111 PyObject
* obj0
= 0 ;
20112 PyObject
* obj1
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self",(char *) "item", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20120 if (arg2
== NULL
) {
20121 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20156 wxPoint
* resultptr
;
20157 resultptr
= new wxPoint((wxPoint
&) result
);
20158 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20166 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20169 wxPoint
*arg2
= 0 ;
20171 PyObject
* obj0
= 0 ;
20172 PyObject
* obj1
= 0 ;
20173 char *kwnames
[] = {
20174 (char *) "self",(char *) "pt", NULL
20177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 Py_INCREF(Py_None
); resultobj
= Py_None
;
20197 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20200 wxKeyEvent
*result
;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20212 result
= (wxKeyEvent
*) &_result_ref
;
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20225 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= PyInt_FromLong((long)result
);
20250 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20253 wxKeyEvent
*arg2
= 0 ;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self",(char *) "evt", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20263 if (arg2
== NULL
) {
20264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20295 result
= (wxString
*) &_result_ref
;
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
20308 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20311 wxString
*arg2
= 0 ;
20312 bool temp2
= false ;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self",(char *) "label", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20322 arg2
= wxString_in_helper(obj1
);
20323 if (arg2
== NULL
) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->SetLabel((wxString
const &)*arg2
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 Py_INCREF(Py_None
); resultobj
= Py_None
;
20348 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= PyInt_FromLong((long)result
);
20373 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self",(char *) "editCancelled", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20385 arg2
= PyInt_AsLong(obj1
) ? true : false;
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 (arg1
)->SetEditCanceled(arg2
);
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 Py_INCREF(Py_None
); resultobj
= Py_None
;
20401 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20404 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
20406 return Py_BuildValue((char *)"");
20408 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxWindow
*arg1
= (wxWindow
*) 0 ;
20411 wxWindowID arg2
= (wxWindowID
) -1 ;
20412 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20413 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20414 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20415 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20416 long arg5
= (long) wxTR_DEFAULT_STYLE
;
20417 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20418 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20419 wxString
const &arg7_defvalue
= wxPy_TreeCtrlNameStr
;
20420 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20421 wxPyTreeCtrl
*result
;
20424 bool temp7
= false ;
20425 PyObject
* obj0
= 0 ;
20426 PyObject
* obj2
= 0 ;
20427 PyObject
* obj3
= 0 ;
20428 PyObject
* obj5
= 0 ;
20429 PyObject
* obj6
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20439 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20445 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20449 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20450 if (arg6
== NULL
) {
20451 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20456 arg7
= wxString_in_helper(obj6
);
20457 if (arg7
== NULL
) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20483 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxPyTreeCtrl
*result
;
20486 char *kwnames
[] = {
20490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20505 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20508 wxWindow
*arg2
= (wxWindow
*) 0 ;
20509 wxWindowID arg3
= (wxWindowID
) -1 ;
20510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20512 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20513 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20514 long arg6
= (long) wxTR_DEFAULT_STYLE
;
20515 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20516 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20517 wxString
const &arg8_defvalue
= wxPy_TreeCtrlNameStr
;
20518 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20522 bool temp8
= false ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 PyObject
* obj3
= 0 ;
20526 PyObject
* obj4
= 0 ;
20527 PyObject
* obj6
= 0 ;
20528 PyObject
* obj7
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20549 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20550 if (arg7
== NULL
) {
20551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20556 arg8
= wxString_in_helper(obj7
);
20557 if (arg8
== NULL
) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= PyInt_FromLong((long)result
);
20583 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20586 PyObject
*arg2
= (PyObject
*) 0 ;
20587 PyObject
*arg3
= (PyObject
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20590 PyObject
* obj2
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "self",(char *) "self",(char *) "_class", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 Py_INCREF(Py_None
); resultobj
= Py_None
;
20613 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= PyInt_FromLong((long)result
);
20638 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20641 unsigned int result
;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= PyInt_FromLong((long)result
);
20663 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20666 unsigned int arg2
;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self",(char *) "indent", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
20674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20675 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 (arg1
)->SetIndent(arg2
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 Py_INCREF(Py_None
); resultobj
= Py_None
;
20691 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20694 unsigned int result
;
20695 PyObject
* obj0
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= PyInt_FromLong((long)result
);
20716 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20719 unsigned int arg2
;
20720 PyObject
* obj0
= 0 ;
20721 PyObject
* obj1
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self",(char *) "spacing", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
20727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20728 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 (arg1
)->SetSpacing(arg2
);
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 Py_INCREF(Py_None
); resultobj
= Py_None
;
20744 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20747 wxImageList
*result
;
20748 PyObject
* obj0
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= wxPyMake_wxObject(result
);
20771 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20774 wxImageList
*result
;
20775 PyObject
* obj0
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "self", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
20781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= wxPyMake_wxObject(result
);
20798 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20801 wxImageList
*arg2
= (wxImageList
*) 0 ;
20802 PyObject
* obj0
= 0 ;
20803 PyObject
* obj1
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self",(char *) "imageList", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 (arg1
)->SetImageList(arg2
);
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20818 Py_INCREF(Py_None
); resultobj
= Py_None
;
20825 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
;
20827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20828 wxImageList
*arg2
= (wxImageList
*) 0 ;
20829 PyObject
* obj0
= 0 ;
20830 PyObject
* obj1
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self",(char *) "imageList", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 (arg1
)->SetStateImageList(arg2
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 Py_INCREF(Py_None
); resultobj
= Py_None
;
20852 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20855 wxImageList
*arg2
= (wxImageList
*) 0 ;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self",(char *) "imageList", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 (arg1
)->AssignImageList(arg2
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 Py_INCREF(Py_None
); resultobj
= Py_None
;
20879 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20882 wxImageList
*arg2
= (wxImageList
*) 0 ;
20883 PyObject
* obj0
= 0 ;
20884 PyObject
* obj1
= 0 ;
20885 char *kwnames
[] = {
20886 (char *) "self",(char *) "imageList", NULL
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 (arg1
)->AssignStateImageList(arg2
);
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 Py_INCREF(Py_None
); resultobj
= Py_None
;
20906 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20909 wxTreeItemId
*arg2
= 0 ;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self",(char *) "item", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20920 if (arg2
== NULL
) {
20921 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20943 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20946 wxTreeItemId
*arg2
= 0 ;
20947 int arg3
= (int) wxTreeItemIcon_Normal
;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self",(char *) "item",(char *) "which", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20958 if (arg2
== NULL
) {
20959 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= PyInt_FromLong((long)result
);
20975 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20978 wxTreeItemId
*arg2
= 0 ;
20979 wxPyTreeItemData
*result
;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20982 char *kwnames
[] = {
20983 (char *) "self",(char *) "item", NULL
20986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20989 if (arg2
== NULL
) {
20990 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21006 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21009 wxTreeItemId
*arg2
= 0 ;
21011 PyObject
* obj0
= 0 ;
21012 PyObject
* obj1
= 0 ;
21013 char *kwnames
[] = {
21014 (char *) "self",(char *) "item", NULL
21017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21019 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21020 if (arg2
== NULL
) {
21021 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= result
;
21037 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21040 wxTreeItemId
*arg2
= 0 ;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "self",(char *) "item", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21050 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21051 if (arg2
== NULL
) {
21052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21062 wxColour
* resultptr
;
21063 resultptr
= new wxColour((wxColour
&) result
);
21064 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21072 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21075 wxTreeItemId
*arg2
= 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:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21085 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21086 if (arg2
== NULL
) {
21087 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 wxColour
* resultptr
;
21098 resultptr
= new wxColour((wxColour
&) result
);
21099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21107 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21110 wxTreeItemId
*arg2
= 0 ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self",(char *) "item", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21121 if (arg2
== NULL
) {
21122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 wxFont
* resultptr
;
21133 resultptr
= new wxFont((wxFont
&) result
);
21134 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21142 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21145 wxTreeItemId
*arg2
= 0 ;
21146 wxString
*arg3
= 0 ;
21147 bool temp3
= false ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 PyObject
* obj2
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "item",(char *) "text", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21158 if (arg2
== NULL
) {
21159 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21162 arg3
= wxString_in_helper(obj2
);
21163 if (arg3
== NULL
) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 Py_INCREF(Py_None
); resultobj
= Py_None
;
21188 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21191 wxTreeItemId
*arg2
= 0 ;
21193 int arg4
= (int) wxTreeItemIcon_Normal
;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char *kwnames
[] = {
21197 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21203 if (arg2
== NULL
) {
21204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 Py_INCREF(Py_None
); resultobj
= Py_None
;
21220 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21223 wxTreeItemId
*arg2
= 0 ;
21224 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 PyObject
* obj2
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "item",(char *) "data", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21234 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21235 if (arg2
== NULL
) {
21236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21238 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 Py_INCREF(Py_None
); resultobj
= Py_None
;
21253 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21256 wxTreeItemId
*arg2
= 0 ;
21257 PyObject
*arg3
= (PyObject
*) 0 ;
21258 PyObject
* obj0
= 0 ;
21259 PyObject
* obj1
= 0 ;
21260 PyObject
* obj2
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self",(char *) "item",(char *) "obj", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21268 if (arg2
== NULL
) {
21269 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 Py_INCREF(Py_None
); resultobj
= Py_None
;
21286 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21289 wxTreeItemId
*arg2
= 0 ;
21290 bool arg3
= (bool) TRUE
;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 PyObject
* obj2
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self",(char *) "item",(char *) "has", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21301 if (arg2
== NULL
) {
21302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21305 arg3
= PyInt_AsLong(obj2
) ? true : false;
21306 if (PyErr_Occurred()) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 Py_INCREF(Py_None
); resultobj
= Py_None
;
21322 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21325 wxTreeItemId
*arg2
= 0 ;
21326 bool arg3
= (bool) TRUE
;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 PyObject
* obj2
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self",(char *) "item",(char *) "bold", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21337 if (arg2
== NULL
) {
21338 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21341 arg3
= PyInt_AsLong(obj2
) ? true : false;
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 Py_INCREF(Py_None
); resultobj
= Py_None
;
21358 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21361 wxTreeItemId
*arg2
= 0 ;
21362 wxColour
*arg3
= 0 ;
21364 PyObject
* obj0
= 0 ;
21365 PyObject
* obj1
= 0 ;
21366 PyObject
* obj2
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "self",(char *) "item",(char *) "col", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21374 if (arg2
== NULL
) {
21375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21379 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 Py_INCREF(Py_None
); resultobj
= Py_None
;
21395 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21398 wxTreeItemId
*arg2
= 0 ;
21399 wxColour
*arg3
= 0 ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 PyObject
* obj2
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "item",(char *) "col", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21411 if (arg2
== NULL
) {
21412 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21416 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 Py_INCREF(Py_None
); resultobj
= Py_None
;
21432 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21435 wxTreeItemId
*arg2
= 0 ;
21437 PyObject
* obj0
= 0 ;
21438 PyObject
* obj1
= 0 ;
21439 PyObject
* obj2
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "item",(char *) "font", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21447 if (arg2
== NULL
) {
21448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21450 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21451 if (arg3
== NULL
) {
21452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 Py_INCREF(Py_None
); resultobj
= Py_None
;
21468 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21471 wxTreeItemId
*arg2
= 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "item", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21482 if (arg2
== NULL
) {
21483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= PyInt_FromLong((long)result
);
21499 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21502 wxTreeItemId
*arg2
= 0 ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self",(char *) "item", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
21511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21513 if (arg2
== NULL
) {
21514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= PyInt_FromLong((long)result
);
21530 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21533 wxTreeItemId
*arg2
= 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "item", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
21542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21544 if (arg2
== NULL
) {
21545 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21554 resultobj
= PyInt_FromLong((long)result
);
21561 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21564 wxTreeItemId
*arg2
= 0 ;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 char *kwnames
[] = {
21569 (char *) "self",(char *) "item", NULL
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
21573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21575 if (arg2
== NULL
) {
21576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= PyInt_FromLong((long)result
);
21592 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21595 wxTreeItemId
*arg2
= 0 ;
21597 PyObject
* obj0
= 0 ;
21598 PyObject
* obj1
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self",(char *) "item", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21605 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21606 if (arg2
== NULL
) {
21607 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= PyInt_FromLong((long)result
);
21623 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21626 wxTreeItemId
*arg2
= 0 ;
21627 bool arg3
= (bool) TRUE
;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 PyObject
* obj2
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "item",(char *) "recursively", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21639 if (arg2
== NULL
) {
21640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21643 arg3
= PyInt_AsLong(obj2
) ? true : false;
21644 if (PyErr_Occurred()) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= PyInt_FromLong((long)result
);
21660 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21663 wxTreeItemId result
;
21664 PyObject
* obj0
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 wxTreeItemId
* resultptr
;
21680 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21681 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21689 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
;
21691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21692 wxTreeItemId result
;
21693 PyObject
* obj0
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21708 wxTreeItemId
* resultptr
;
21709 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21710 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21718 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
21728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= result
;
21743 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21746 wxTreeItemId
*arg2
= 0 ;
21747 wxTreeItemId result
;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "item", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21757 if (arg2
== NULL
) {
21758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21768 wxTreeItemId
* resultptr
;
21769 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21770 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21778 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21781 wxTreeItemId
*arg2
= 0 ;
21783 PyObject
* obj0
= 0 ;
21784 PyObject
* obj1
= 0 ;
21785 char *kwnames
[] = {
21786 (char *) "self",(char *) "item", NULL
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21792 if (arg2
== NULL
) {
21793 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= result
;
21809 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21812 wxTreeItemId
*arg2
= 0 ;
21813 wxTreeItemIdValue
*arg3
= 0 ;
21815 PyObject
* obj0
= 0 ;
21816 PyObject
* obj1
= 0 ;
21817 PyObject
* obj2
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self",(char *) "item",(char *) "cookie", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21825 if (arg2
== NULL
) {
21826 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21828 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21829 if (arg3
== NULL
) {
21830 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= result
;
21846 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21849 wxTreeItemId
*arg2
= 0 ;
21850 wxTreeItemId result
;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "item", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21859 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21860 if (arg2
== NULL
) {
21861 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21871 wxTreeItemId
* resultptr
;
21872 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21873 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21881 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21884 wxTreeItemId
*arg2
= 0 ;
21885 wxTreeItemId result
;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self",(char *) "item", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
21893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21895 if (arg2
== NULL
) {
21896 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 wxTreeItemId
* resultptr
;
21907 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21908 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21916 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21919 wxTreeItemId
*arg2
= 0 ;
21920 wxTreeItemId result
;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self",(char *) "item", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
21928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21930 if (arg2
== NULL
) {
21931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21941 wxTreeItemId
* resultptr
;
21942 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21943 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21951 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
;
21953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21954 wxTreeItemId result
;
21955 PyObject
* obj0
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
21961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 wxTreeItemId
* resultptr
;
21971 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21972 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21980 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21983 wxTreeItemId
*arg2
= 0 ;
21984 wxTreeItemId result
;
21985 PyObject
* obj0
= 0 ;
21986 PyObject
* obj1
= 0 ;
21987 char *kwnames
[] = {
21988 (char *) "self",(char *) "item", NULL
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21994 if (arg2
== NULL
) {
21995 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22005 wxTreeItemId
* resultptr
;
22006 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22007 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22015 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22018 wxTreeItemId
*arg2
= 0 ;
22019 wxTreeItemId result
;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "self",(char *) "item", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22029 if (arg2
== NULL
) {
22030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 wxTreeItemId
* resultptr
;
22041 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22042 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22050 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22053 wxString
*arg2
= 0 ;
22054 int arg3
= (int) -1 ;
22055 int arg4
= (int) -1 ;
22056 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22057 wxTreeItemId result
;
22058 bool temp2
= false ;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 PyObject
* obj4
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22069 arg2
= wxString_in_helper(obj1
);
22070 if (arg2
== NULL
) SWIG_fail
;
22074 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 wxTreeItemId
* resultptr
;
22085 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22086 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22102 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22105 wxTreeItemId
*arg2
= 0 ;
22106 wxString
*arg3
= 0 ;
22107 int arg4
= (int) -1 ;
22108 int arg5
= (int) -1 ;
22109 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22110 wxTreeItemId result
;
22111 bool temp3
= false ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 PyObject
* obj2
= 0 ;
22115 PyObject
* obj5
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22123 if (arg2
== NULL
) {
22124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22127 arg3
= wxString_in_helper(obj2
);
22128 if (arg3
== NULL
) SWIG_fail
;
22132 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 wxTreeItemId
* resultptr
;
22143 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22144 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22160 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22163 wxTreeItemId
*arg2
= 0 ;
22164 wxTreeItemId
*arg3
= 0 ;
22165 wxString
*arg4
= 0 ;
22166 int arg5
= (int) -1 ;
22167 int arg6
= (int) -1 ;
22168 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22169 wxTreeItemId result
;
22170 bool temp4
= false ;
22171 PyObject
* obj0
= 0 ;
22172 PyObject
* obj1
= 0 ;
22173 PyObject
* obj2
= 0 ;
22174 PyObject
* obj3
= 0 ;
22175 PyObject
* obj6
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22183 if (arg2
== NULL
) {
22184 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22186 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22187 if (arg3
== NULL
) {
22188 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22191 arg4
= wxString_in_helper(obj3
);
22192 if (arg4
== NULL
) SWIG_fail
;
22196 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22206 wxTreeItemId
* resultptr
;
22207 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22208 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22224 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22227 wxTreeItemId
*arg2
= 0 ;
22229 wxString
*arg4
= 0 ;
22230 int arg5
= (int) -1 ;
22231 int arg6
= (int) -1 ;
22232 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22233 wxTreeItemId result
;
22234 bool temp4
= false ;
22235 PyObject
* obj0
= 0 ;
22236 PyObject
* obj1
= 0 ;
22237 PyObject
* obj2
= 0 ;
22238 PyObject
* obj3
= 0 ;
22239 PyObject
* obj6
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22247 if (arg2
== NULL
) {
22248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22250 arg3
= (size_t) PyInt_AsLong(obj2
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 arg4
= wxString_in_helper(obj3
);
22254 if (arg4
== NULL
) SWIG_fail
;
22258 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22268 wxTreeItemId
* resultptr
;
22269 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22270 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22286 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22289 wxTreeItemId
*arg2
= 0 ;
22290 wxString
*arg3
= 0 ;
22291 int arg4
= (int) -1 ;
22292 int arg5
= (int) -1 ;
22293 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22294 wxTreeItemId result
;
22295 bool temp3
= false ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 PyObject
* obj2
= 0 ;
22299 PyObject
* obj5
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22307 if (arg2
== NULL
) {
22308 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22311 arg3
= wxString_in_helper(obj2
);
22312 if (arg3
== NULL
) SWIG_fail
;
22316 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22326 wxTreeItemId
* resultptr
;
22327 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22328 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22344 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22347 wxTreeItemId
*arg2
= 0 ;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self",(char *) "item", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22357 if (arg2
== NULL
) {
22358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 Py_INCREF(Py_None
); resultobj
= Py_None
;
22374 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22377 wxTreeItemId
*arg2
= 0 ;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self",(char *) "item", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22387 if (arg2
== NULL
) {
22388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 Py_INCREF(Py_None
); resultobj
= Py_None
;
22404 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 (arg1
)->DeleteAllItems();
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 Py_INCREF(Py_None
); resultobj
= Py_None
;
22428 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22431 wxTreeItemId
*arg2
= 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "item", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22441 if (arg2
== NULL
) {
22442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 Py_INCREF(Py_None
); resultobj
= Py_None
;
22458 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22461 wxTreeItemId
*arg2
= 0 ;
22462 PyObject
* obj0
= 0 ;
22463 PyObject
* obj1
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "item", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22471 if (arg2
== NULL
) {
22472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22488 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22491 wxTreeItemId
*arg2
= 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "item", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22501 if (arg2
== NULL
) {
22502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 Py_INCREF(Py_None
); resultobj
= Py_None
;
22518 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22521 wxTreeItemId
*arg2
= 0 ;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self",(char *) "item", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
22529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22531 if (arg2
== NULL
) {
22532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 Py_INCREF(Py_None
); resultobj
= Py_None
;
22548 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 (arg1
)->Unselect();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 Py_INCREF(Py_None
); resultobj
= Py_None
;
22572 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 (arg1
)->UnselectAll();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 Py_INCREF(Py_None
); resultobj
= Py_None
;
22596 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22599 wxTreeItemId
*arg2
= 0 ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self",(char *) "item", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22609 if (arg2
== NULL
) {
22610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 Py_INCREF(Py_None
); resultobj
= Py_None
;
22626 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22629 wxTreeItemId
*arg2
= 0 ;
22630 PyObject
* obj0
= 0 ;
22631 PyObject
* obj1
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self",(char *) "item", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22639 if (arg2
== NULL
) {
22640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 Py_INCREF(Py_None
); resultobj
= Py_None
;
22656 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22659 wxTreeItemId
*arg2
= 0 ;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self",(char *) "item", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22668 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22669 if (arg2
== NULL
) {
22670 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 Py_INCREF(Py_None
); resultobj
= Py_None
;
22686 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22689 wxTreeItemId
*arg2
= 0 ;
22690 PyObject
* obj0
= 0 ;
22691 PyObject
* obj1
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self",(char *) "item", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22699 if (arg2
== NULL
) {
22700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 Py_INCREF(Py_None
); resultobj
= Py_None
;
22716 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22719 wxTextCtrl
*result
;
22720 PyObject
* obj0
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
22726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= wxPyMake_wxObject(result
);
22743 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22746 wxTreeItemId
*arg2
= 0 ;
22747 PyObject
* obj0
= 0 ;
22748 PyObject
* obj1
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self",(char *) "item", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22756 if (arg2
== NULL
) {
22757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 Py_INCREF(Py_None
); resultobj
= Py_None
;
22773 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
;
22775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22776 wxPoint
*arg2
= 0 ;
22778 wxTreeItemId result
;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "point", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22802 wxTreeItemId
* resultptr
;
22803 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22804 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22807 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22808 resultobj
= t_output_helper(resultobj
,o
);
22816 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22819 wxTreeItemId
*arg2
= 0 ;
22820 bool arg3
= (bool) FALSE
;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 PyObject
* obj2
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22832 if (arg2
== NULL
) {
22833 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22836 arg3
= PyInt_AsLong(obj2
) ? true : false;
22837 if (PyErr_Occurred()) SWIG_fail
;
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= result
;
22853 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22856 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
22858 return Py_BuildValue((char *)"");
22860 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxWindow
*arg1
= (wxWindow
*) 0 ;
22863 wxWindowID arg2
= (wxWindowID
) (wxWindowID
)-1 ;
22864 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
22865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22870 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
22871 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22873 int arg8
= (int) 0 ;
22874 wxString
const &arg9_defvalue
= wxPy_TreeCtrlNameStr
;
22875 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
22876 wxGenericDirCtrl
*result
;
22877 bool temp3
= false ;
22880 bool temp7
= false ;
22881 bool temp9
= false ;
22882 PyObject
* obj0
= 0 ;
22883 PyObject
* obj2
= 0 ;
22884 PyObject
* obj3
= 0 ;
22885 PyObject
* obj4
= 0 ;
22886 PyObject
* obj6
= 0 ;
22887 PyObject
* obj8
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22896 arg3
= wxString_in_helper(obj2
);
22897 if (arg3
== NULL
) SWIG_fail
;
22904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22915 arg7
= wxString_in_helper(obj6
);
22916 if (arg7
== NULL
) SWIG_fail
;
22922 arg9
= wxString_in_helper(obj8
);
22923 if (arg9
== NULL
) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
22965 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxGenericDirCtrl
*result
;
22968 char *kwnames
[] = {
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
22987 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
22990 wxWindow
*arg2
= (wxWindow
*) 0 ;
22991 wxWindowID arg3
= (wxWindowID
) (wxWindowID
)-1 ;
22992 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
22993 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22994 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
22995 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
22996 wxSize
const &arg6_defvalue
= wxDefaultSize
;
22997 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
22998 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
22999 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23000 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23001 int arg9
= (int) 0 ;
23002 wxString
const &arg10_defvalue
= wxPy_TreeCtrlNameStr
;
23003 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23005 bool temp4
= false ;
23008 bool temp8
= false ;
23009 bool temp10
= false ;
23010 PyObject
* obj0
= 0 ;
23011 PyObject
* obj1
= 0 ;
23012 PyObject
* obj3
= 0 ;
23013 PyObject
* obj4
= 0 ;
23014 PyObject
* obj5
= 0 ;
23015 PyObject
* obj7
= 0 ;
23016 PyObject
* obj9
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23026 arg4
= wxString_in_helper(obj3
);
23027 if (arg4
== NULL
) SWIG_fail
;
23034 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23040 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23045 arg8
= wxString_in_helper(obj7
);
23046 if (arg8
== NULL
) SWIG_fail
;
23052 arg10
= wxString_in_helper(obj9
);
23053 if (arg10
== NULL
) SWIG_fail
;
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 resultobj
= PyInt_FromLong((long)result
);
23095 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23098 wxString
*arg2
= 0 ;
23100 bool temp2
= false ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "path", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23110 arg2
= wxString_in_helper(obj1
);
23111 if (arg2
== NULL
) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= PyInt_FromLong((long)result
);
23136 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23167 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
;
23169 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23170 wxString
*arg2
= 0 ;
23171 bool temp2
= false ;
23172 PyObject
* obj0
= 0 ;
23173 PyObject
* obj1
= 0 ;
23174 char *kwnames
[] = {
23175 (char *) "self",(char *) "path", NULL
23178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23181 arg2
= wxString_in_helper(obj1
);
23182 if (arg2
== NULL
) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 Py_INCREF(Py_None
); resultobj
= Py_None
;
23207 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23238 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23269 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23272 wxString
*arg2
= 0 ;
23273 bool temp2
= false ;
23274 PyObject
* obj0
= 0 ;
23275 PyObject
* obj1
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self",(char *) "path", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23283 arg2
= wxString_in_helper(obj1
);
23284 if (arg2
== NULL
) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->SetPath((wxString
const &)*arg2
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 Py_INCREF(Py_None
); resultobj
= Py_None
;
23309 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23313 PyObject
* obj0
= 0 ;
23314 PyObject
* obj1
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self",(char *) "show", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
23320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23321 arg2
= PyInt_AsLong(obj1
) ? true : false;
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 (arg1
)->ShowHidden(arg2
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 Py_INCREF(Py_None
); resultobj
= Py_None
;
23337 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23339 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23341 PyObject
* obj0
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
23347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 result
= (bool)(arg1
)->GetShowHidden();
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= PyInt_FromLong((long)result
);
23362 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23366 PyObject
* obj0
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
23372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23393 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23396 wxString
*arg2
= 0 ;
23397 bool temp2
= false ;
23398 PyObject
* obj0
= 0 ;
23399 PyObject
* obj1
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self",(char *) "filter", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23407 arg2
= wxString_in_helper(obj1
);
23408 if (arg2
== NULL
) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 (arg1
)->SetFilter((wxString
const &)*arg2
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 Py_INCREF(Py_None
); resultobj
= Py_None
;
23433 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= PyInt_FromLong((long)result
);
23458 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23462 PyObject
* obj0
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "n", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 (arg1
)->SetFilterIndex(arg2
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 Py_INCREF(Py_None
); resultobj
= Py_None
;
23483 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23485 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23486 wxTreeItemId result
;
23487 PyObject
* obj0
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
23493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (arg1
)->GetRootId();
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23502 wxTreeItemId
* resultptr
;
23503 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23504 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23512 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23515 wxTreeCtrl
*result
;
23516 PyObject
* obj0
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (wxTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= wxPyMake_wxObject(result
);
23539 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23542 wxDirFilterListCtrl
*result
;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
23564 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23566 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23567 wxTreeItemId arg2
;
23568 wxString
*arg3
= 0 ;
23570 wxTreeItemId result
;
23571 wxTreeItemId
*argp2
;
23572 bool temp3
= false ;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 PyObject
* obj2
= 0 ;
23577 char *kwnames
[] = {
23578 (char *) "self",(char *) "parentId",(char *) "path", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23584 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
23587 arg3
= wxString_in_helper(obj2
);
23588 if (arg3
== NULL
) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 wxTreeItemId
* resultptr
;
23600 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23601 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23604 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23605 resultobj
= t_output_helper(resultobj
,o
);
23621 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
23630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 (arg1
)->DoResize();
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 Py_INCREF(Py_None
); resultobj
= Py_None
;
23645 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
;
23647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23648 PyObject
* obj0
= 0 ;
23649 char *kwnames
[] = {
23650 (char *) "self", NULL
23653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
23654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 (arg1
)->ReCreateTree();
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 Py_INCREF(Py_None
); resultobj
= Py_None
;
23669 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23672 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
23674 return Py_BuildValue((char *)"");
23676 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23679 wxWindowID arg2
= (wxWindowID
) (wxWindowID
)-1 ;
23680 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23681 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23682 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23683 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23684 long arg5
= (long) 0 ;
23685 wxDirFilterListCtrl
*result
;
23688 PyObject
* obj0
= 0 ;
23689 PyObject
* obj2
= 0 ;
23690 PyObject
* obj3
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
23696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23700 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23706 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23723 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxDirFilterListCtrl
*result
;
23726 char *kwnames
[] = {
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23745 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
23748 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
23749 wxWindowID arg3
= (wxWindowID
) (wxWindowID
)-1 ;
23750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23754 long arg6
= (long) 0 ;
23758 PyObject
* obj0
= 0 ;
23759 PyObject
* obj1
= 0 ;
23760 PyObject
* obj3
= 0 ;
23761 PyObject
* obj4
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
23767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23772 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23778 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= PyInt_FromLong((long)result
);
23795 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
23798 wxString
*arg2
= 0 ;
23800 bool temp2
= false ;
23801 PyObject
* obj0
= 0 ;
23802 PyObject
* obj1
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
23808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23810 arg2
= wxString_in_helper(obj1
);
23811 if (arg2
== NULL
) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 Py_INCREF(Py_None
); resultobj
= Py_None
;
23836 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23839 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
23841 return Py_BuildValue((char *)"");
23843 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxWindow
*arg1
= (wxWindow
*) 0 ;
23847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23849 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23850 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23851 long arg5
= (long) 0 ;
23852 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23853 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23854 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
23855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23856 wxPyControl
*result
;
23859 bool temp7
= false ;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj2
= 0 ;
23862 PyObject
* obj3
= 0 ;
23863 PyObject
* obj5
= 0 ;
23864 PyObject
* obj6
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23880 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23884 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23885 if (arg6
== NULL
) {
23886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23891 arg7
= wxString_in_helper(obj6
);
23892 if (arg7
== NULL
) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
23918 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23921 PyObject
*arg2
= (PyObject
*) 0 ;
23922 PyObject
*arg3
= (PyObject
*) 0 ;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23925 PyObject
* obj2
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "self",(char *) "_class", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 Py_INCREF(Py_None
); resultobj
= Py_None
;
23948 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23955 PyObject
* obj0
= 0 ;
23956 char *kwnames
[] = {
23957 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 Py_INCREF(Py_None
); resultobj
= Py_None
;
23976 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23983 int arg6
= (int) wxSIZE_AUTO
;
23984 PyObject
* obj0
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 Py_INCREF(Py_None
); resultobj
= Py_None
;
24005 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self",(char *) "width",(char *) "height", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 Py_INCREF(Py_None
); resultobj
= Py_None
;
24031 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24032 PyObject
*resultobj
;
24033 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24036 PyObject
* obj0
= 0 ;
24037 char *kwnames
[] = {
24038 (char *) "self",(char *) "x",(char *) "y", NULL
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 Py_INCREF(Py_None
); resultobj
= Py_None
;
24057 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24060 int *arg2
= (int *) 0 ;
24061 int *arg3
= (int *) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 Py_INCREF(Py_None
); resultobj
= Py_None
;
24082 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24083 resultobj
= t_output_helper(resultobj
,o
);
24086 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24087 resultobj
= t_output_helper(resultobj
,o
);
24095 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24098 int *arg2
= (int *) 0 ;
24099 int *arg3
= (int *) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 Py_INCREF(Py_None
); resultobj
= Py_None
;
24120 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24121 resultobj
= t_output_helper(resultobj
,o
);
24124 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24125 resultobj
= t_output_helper(resultobj
,o
);
24133 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24136 int *arg2
= (int *) 0 ;
24137 int *arg3
= (int *) 0 ;
24140 PyObject
* obj0
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 Py_INCREF(Py_None
); resultobj
= Py_None
;
24158 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24159 resultobj
= t_output_helper(resultobj
,o
);
24162 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24163 resultobj
= t_output_helper(resultobj
,o
);
24171 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 char *kwnames
[] = {
24177 (char *) "self", NULL
24180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24190 wxSize
* resultptr
;
24191 resultptr
= new wxSize((wxSize
&) result
);
24192 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24200 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24202 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24204 PyObject
* obj0
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24219 wxSize
* resultptr
;
24220 resultptr
= new wxSize((wxSize
&) result
);
24221 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24229 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24232 PyObject
* obj0
= 0 ;
24233 char *kwnames
[] = {
24234 (char *) "self", NULL
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
24238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 (arg1
)->base_InitDialog();
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 Py_INCREF(Py_None
); resultobj
= Py_None
;
24253 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (bool)(arg1
)->base_TransferDataToWindow();
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 resultobj
= PyInt_FromLong((long)result
);
24278 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24282 PyObject
* obj0
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (bool)(arg1
)->base_TransferDataFromWindow();
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= PyInt_FromLong((long)result
);
24303 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24307 PyObject
* obj0
= 0 ;
24308 char *kwnames
[] = {
24309 (char *) "self", NULL
24312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
24313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (bool)(arg1
)->base_Validate();
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= PyInt_FromLong((long)result
);
24328 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= PyInt_FromLong((long)result
);
24353 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 char *kwnames
[] = {
24359 (char *) "self", NULL
24362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= PyInt_FromLong((long)result
);
24378 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24397 wxSize
* resultptr
;
24398 resultptr
= new wxSize((wxSize
&) result
);
24399 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24407 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24410 wxWindow
*arg2
= (wxWindow
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "child", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 (arg1
)->base_AddChild(arg2
);
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24427 Py_INCREF(Py_None
); resultobj
= Py_None
;
24434 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
;
24436 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24437 wxWindow
*arg2
= (wxWindow
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "child", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 (arg1
)->base_RemoveChild(arg2
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 Py_INCREF(Py_None
); resultobj
= Py_None
;
24461 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
24463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24464 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
24466 return Py_BuildValue((char *)"");
24468 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24471 wxWindowID arg2
= (wxWindowID
) 0 ;
24472 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24473 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24474 wxHelpEvent
*result
;
24476 PyObject
* obj2
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "type",(char *) "winid",(char *) "pt", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
24485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
24502 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
24512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
24517 result
= (wxPoint
*) &_result_ref
;
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
24530 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
;
24532 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24533 wxPoint
*arg2
= 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "pos", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 Py_INCREF(Py_None
); resultobj
= Py_None
;
24561 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
;
24563 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24565 PyObject
* obj0
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
24571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
24576 result
= (wxString
*) &_result_ref
;
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
24589 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
;
24591 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24592 wxString
*arg2
= 0 ;
24593 bool temp2
= false ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 char *kwnames
[] = {
24597 (char *) "self",(char *) "link", NULL
24600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
24601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24603 arg2
= wxString_in_helper(obj1
);
24604 if (arg2
== NULL
) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 (arg1
)->SetLink((wxString
const &)*arg2
);
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 Py_INCREF(Py_None
); resultobj
= Py_None
;
24629 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
;
24631 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
24644 result
= (wxString
*) &_result_ref
;
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
24657 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24660 wxString
*arg2
= 0 ;
24661 bool temp2
= false ;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self",(char *) "target", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24671 arg2
= wxString_in_helper(obj1
);
24672 if (arg2
== NULL
) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 (arg1
)->SetTarget((wxString
const &)*arg2
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 Py_INCREF(Py_None
); resultobj
= Py_None
;
24697 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24700 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
24702 return Py_BuildValue((char *)"");
24704 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
;
24706 wxWindow
*arg1
= (wxWindow
*) NULL
;
24707 bool arg2
= (bool) TRUE
;
24708 wxContextHelp
*result
;
24709 PyObject
* obj0
= 0 ;
24710 PyObject
* obj1
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "window",(char *) "doNow", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24720 arg2
= PyInt_AsLong(obj1
) ? true : false;
24721 if (PyErr_Occurred()) SWIG_fail
;
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
24737 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 Py_INCREF(Py_None
); resultobj
= Py_None
;
24761 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24764 wxWindow
*arg2
= (wxWindow
*) NULL
;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self",(char *) "window", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24775 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= PyInt_FromLong((long)result
);
24791 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
;
24793 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24795 PyObject
* obj0
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
24801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (bool)(arg1
)->EndContextHelp();
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= PyInt_FromLong((long)result
);
24816 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
24818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24819 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
24821 return Py_BuildValue((char *)"");
24823 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxWindow
*arg1
= (wxWindow
*) 0 ;
24826 wxWindowID arg2
= (wxWindowID
) wxID_CONTEXT_HELP
;
24827 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24828 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24829 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24830 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24831 long arg5
= (long) wxBU_AUTODRAW
;
24832 wxContextHelpButton
*result
;
24835 PyObject
* obj0
= 0 ;
24836 PyObject
* obj2
= 0 ;
24837 PyObject
* obj3
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24853 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
24870 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
24872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24873 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
24875 return Py_BuildValue((char *)"");
24877 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24880 wxHelpProvider
*result
;
24881 PyObject
* obj0
= 0 ;
24882 char *kwnames
[] = {
24883 (char *) "helpProvider", NULL
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
24887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
24902 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxHelpProvider
*result
;
24905 char *kwnames
[] = {
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (wxHelpProvider
*)wxHelpProvider::Get();
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
24924 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24927 wxWindow
*arg2
= (wxWindow
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "window", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24958 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
;
24960 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24961 wxWindow
*arg2
= (wxWindow
*) 0 ;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 char *kwnames
[] = {
24966 (char *) "self",(char *) "window", NULL
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 result
= (bool)(arg1
)->ShowHelp(arg2
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= PyInt_FromLong((long)result
);
24986 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24989 wxWindow
*arg2
= (wxWindow
*) 0 ;
24990 wxString
*arg3
= 0 ;
24991 bool temp3
= false ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 PyObject
* obj2
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self",(char *) "window",(char *) "text", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25003 arg3
= wxString_in_helper(obj2
);
25004 if (arg3
== NULL
) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25033 wxString
*arg3
= 0 ;
25034 bool temp3
= false ;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj2
= 0 ;
25037 char *kwnames
[] = {
25038 (char *) "self",(char *) "id",(char *) "text", NULL
25041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25044 arg3
= wxString_in_helper(obj2
);
25045 if (arg3
== NULL
) SWIG_fail
;
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "self", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 wxHelpProvider_Destroy(arg1
);
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25087 Py_INCREF(Py_None
); resultobj
= Py_None
;
25094 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25097 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25099 return Py_BuildValue((char *)"");
25101 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxSimpleHelpProvider
*result
;
25104 char *kwnames
[] = {
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25123 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25126 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25128 return Py_BuildValue((char *)"");
25130 static PyMethodDef SwigMethods
[] = {
25131 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
25137 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
25152 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
25163 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
25172 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
25189 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
25202 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
25206 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
25212 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
25216 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
25223 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
25242 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
25251 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
25252 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
25280 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
25333 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
25338 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
25349 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
25361 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
25372 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
25389 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
25395 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
25420 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
25427 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
25447 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
25453 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
25454 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
25455 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
25459 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
25462 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
25464 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
25466 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
25469 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
25470 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
25471 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
25472 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
25476 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
25481 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25488 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25495 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
25496 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
25497 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25500 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
25501 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
25503 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25504 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25505 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
25506 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
25507 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
25508 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
25511 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
25512 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
25513 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
25516 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
25518 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
25519 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
25520 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
25521 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
25522 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
25523 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
25524 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
25525 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
25526 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
25527 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
25528 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
25529 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
25530 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
25531 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
25532 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
25533 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
25534 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
25535 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25536 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25537 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
25538 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
25539 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
25540 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25541 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
25542 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
25543 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
25544 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
25545 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
25546 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
25547 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
25548 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
25549 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
25550 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
25551 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25552 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
25553 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25554 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25555 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25556 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
25557 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
25558 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
25559 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25560 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25561 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25562 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25563 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25564 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
25565 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25566 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25567 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25568 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25569 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
25570 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
25571 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
25572 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25573 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25574 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
25575 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25576 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
25577 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
25578 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
25579 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25580 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
25581 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25582 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
25583 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
25584 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25585 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25586 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25587 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
25588 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25589 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
25590 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
25591 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25592 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
25593 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25594 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
25595 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
25596 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25597 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25598 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25599 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25600 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25601 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
25602 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
25603 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
25604 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
25605 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
25606 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
25607 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
25608 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
25609 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
25610 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
25611 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
25612 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
25613 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
25614 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
25615 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
25616 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
25617 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
25618 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
25619 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
25620 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
25621 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
25622 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
25623 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
25624 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
25625 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
25626 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
25627 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
25628 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
25629 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
25630 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
25631 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
25632 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
25633 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
25634 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
25635 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
25636 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
25637 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
25638 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
25639 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25640 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
25641 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25642 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
25643 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
25644 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
25645 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
25646 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
25647 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
25648 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
25649 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25650 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25651 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25652 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25653 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25654 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25655 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
25656 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
25657 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
25658 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
25659 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
25660 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
25661 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
25662 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
25663 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
25664 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
25665 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
25666 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
25667 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
25668 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
25669 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
25670 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
25671 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
25672 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
25673 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
25674 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25675 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
25676 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
25677 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
25678 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25679 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25680 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25681 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
25682 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
25683 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
25684 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
25685 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
25686 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
25687 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
25688 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
25689 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
25690 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
25691 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
25692 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
25693 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
25694 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
25695 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
25696 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
25697 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
25698 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
25699 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
25700 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
25701 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
25702 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25703 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
25704 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
25705 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
25706 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
25707 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
25708 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
25709 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25710 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
25711 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25712 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25713 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25714 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25715 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
25716 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
25717 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
25718 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
25719 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
25720 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
25721 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
25722 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
25723 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
25724 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25725 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25726 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25727 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
25728 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
25729 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
25730 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
25731 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
25732 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25733 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25734 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25735 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
25736 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
25737 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
25738 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
25739 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25740 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25741 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25742 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25743 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25744 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
25745 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
25746 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
25747 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
25748 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
25749 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
25750 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
25751 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
25752 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
25753 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
25754 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
25755 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
25756 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
25757 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
25758 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
25759 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
25760 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25761 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25762 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25763 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25764 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
25765 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
25766 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
25767 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
25768 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
25769 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
25770 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
25771 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
25772 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
25773 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
25774 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
25775 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
25776 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
25777 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
25778 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
25779 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25780 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25781 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
25782 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
25783 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
25784 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
25785 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
25786 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
25787 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
25788 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25789 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25790 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
25791 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25792 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
25793 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
25794 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25795 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
25796 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
25797 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
25798 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25799 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25800 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
25801 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
25802 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
25803 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
25804 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
25805 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
25806 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
25807 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
25808 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
25809 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
25810 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
25811 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
25812 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
25813 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
25814 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
25815 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
25816 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
25817 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
25818 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
25819 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
25820 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25821 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
25822 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25823 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
25824 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
25825 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
25826 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
25827 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
25828 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
25829 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25830 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25831 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
25832 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25833 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25834 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25835 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
25836 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
25837 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
25838 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25839 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
25840 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25841 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
25842 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
25843 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
25844 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
25845 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25846 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25847 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
25848 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25849 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25850 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
25851 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
25852 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
25853 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
25854 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25855 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25856 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25857 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
25858 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
25859 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
25860 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25861 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25862 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25863 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25864 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25865 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25866 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25867 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25868 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25869 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25870 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25871 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25872 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25873 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25874 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25875 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25876 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25877 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25878 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25879 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
25880 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
25881 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25882 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25883 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
25884 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
25885 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
25886 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
25887 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
25888 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
25889 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
25890 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
25891 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
25892 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
25893 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
25894 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
25895 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
25896 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
25897 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
25898 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25899 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
25900 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
25901 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25902 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
25903 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
25904 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
25909 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25911 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
25912 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
25914 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
25915 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
25917 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
25918 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
25920 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
25921 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25923 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
25924 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25926 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
25927 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
25929 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
25930 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25932 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
25933 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
25935 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
25936 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
25938 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
25939 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
25941 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25942 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25944 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25945 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25947 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25948 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25950 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25951 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25953 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25954 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25956 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
25957 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
25959 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25960 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25962 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25963 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25965 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25966 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25968 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
25969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
25971 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
25972 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
25974 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25975 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25977 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25980 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
25981 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
25983 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
25984 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
25986 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
25987 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
25989 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
25990 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
25992 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25993 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25995 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25996 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25998 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25999 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26001 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26002 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26004 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26005 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26007 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26008 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26010 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26011 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26013 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26014 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26016 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26017 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26019 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26020 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26022 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26023 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26025 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26026 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26028 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26029 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26031 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26032 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26034 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26035 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26037 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26038 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26040 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26041 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26043 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26044 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26046 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26047 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26049 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26050 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26052 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26053 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26055 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26056 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26058 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26059 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26061 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26062 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26064 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26065 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26067 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
26068 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
26070 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
26071 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26073 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
26074 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26076 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
26077 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
26079 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
26080 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26082 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
26083 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26085 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
26086 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
26088 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
26089 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26091 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
26092 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26094 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
26095 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26097 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
26098 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
26100 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
26101 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
26103 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
26104 return (void *)((wxControl
*) ((wxComboBox
*) x
));
26106 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
26107 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
26109 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
26110 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
26112 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
26113 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
26115 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
26116 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
26118 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
26119 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26121 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
26122 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
26124 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
26125 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
26127 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
26128 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
26130 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
26131 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
26133 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
26134 return (void *)((wxControl
*) ((wxGauge
*) x
));
26136 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
26137 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
26139 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
26140 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
26142 static void *_p_wxButtonTo_p_wxControl(void *x
) {
26143 return (void *)((wxControl
*) ((wxButton
*) x
));
26145 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
26146 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
26148 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
26149 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26151 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
26152 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
26154 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
26155 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
26157 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
26158 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
26160 static void *_p_wxListbookTo_p_wxControl(void *x
) {
26161 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
26163 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
26164 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
26166 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
26167 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
26169 static void *_p_wxListViewTo_p_wxControl(void *x
) {
26170 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
26172 static void *_p_wxSliderTo_p_wxControl(void *x
) {
26173 return (void *)((wxControl
*) ((wxSlider
*) x
));
26175 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
26176 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
26178 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
26179 return (void *)((wxControl
*) ((wxPyControl
*) x
));
26181 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
26182 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
26184 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
26185 return (void *)((wxControl
*) ((wxStaticText
*) x
));
26187 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
26188 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
26190 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
26191 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26193 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
26194 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26196 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
26197 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26199 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
26200 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
26202 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
26203 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26205 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
26206 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26208 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
26209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
26211 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26212 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26214 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26215 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26217 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26218 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26220 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
26221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
26223 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26224 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26226 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
26227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
26229 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
26230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
26232 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26233 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26235 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26236 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26238 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
26239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
26241 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
26242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
26244 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
26245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
26247 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
26248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26250 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
26251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
26253 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26254 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26256 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
26257 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
26259 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
26260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
26262 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26265 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
26266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
26268 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
26269 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
26271 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
26272 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
26274 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
26275 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
26277 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
26278 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
26280 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
26281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
26283 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
26284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26286 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
26287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
26289 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
26290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
26292 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
26293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
26295 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
26296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
26298 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
26299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
26301 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
26302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
26304 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
26305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
26307 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
26308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
26310 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
26311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
26313 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
26314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
26316 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
26317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
26319 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
26320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
26322 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
26323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26325 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
26326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
26328 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
26329 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
26331 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
26332 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
26334 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
26335 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
26337 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
26338 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
26340 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
26341 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26343 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
26344 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26346 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
26347 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
26349 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26350 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26352 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26353 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26355 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26356 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26358 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26361 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26362 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26364 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
26365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
26367 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
26368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26370 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26371 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26373 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26374 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26376 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26377 return (void *)((wxObject
*) ((wxSizer
*) x
));
26379 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26380 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26382 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
26383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
26385 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
26386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
26388 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26391 static void *_p_wxEventTo_p_wxObject(void *x
) {
26392 return (void *)((wxObject
*) ((wxEvent
*) x
));
26394 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26395 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26397 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26398 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26400 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26401 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26403 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
26404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
26406 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
26407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
26409 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
26410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26412 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26413 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26415 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26416 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26418 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26419 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26421 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26422 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26424 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26425 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26427 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26428 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26430 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
26431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
26433 static void *_p_wxControlTo_p_wxObject(void *x
) {
26434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26436 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
26437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
26439 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
26440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
26442 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
26443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
26445 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
26446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
26448 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
26449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
26451 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26452 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26454 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
26455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
26457 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26458 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26460 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26461 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26463 static void *_p_wxListViewTo_p_wxObject(void *x
) {
26464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
26466 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
26467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
26469 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
26470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
26472 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26473 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26475 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26476 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26478 static void *_p_wxListbookTo_p_wxObject(void *x
) {
26479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
26481 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26482 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26484 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
26485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
26487 static void *_p_wxSliderTo_p_wxObject(void *x
) {
26488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
26490 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26491 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26493 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26494 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26496 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26499 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26500 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26502 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26503 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26505 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26506 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26508 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26509 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26511 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26512 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26514 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26515 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26517 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
26518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
26520 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
26521 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
26523 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26524 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26526 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26527 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26529 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26530 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26532 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26533 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26535 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26536 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26538 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26539 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26541 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26542 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26544 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26545 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26547 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26548 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26550 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26553 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26554 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26556 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26559 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26560 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26562 static void *_p_wxListEventTo_p_wxObject(void *x
) {
26563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
26565 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
26566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
26568 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
26569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26571 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
26572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
26574 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
26575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
26577 static void *_p_wxButtonTo_p_wxObject(void *x
) {
26578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
26580 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
26581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
26583 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
26584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26586 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
26587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
26589 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
26590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
26592 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
26593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
26595 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
26596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
26598 static void *_p_wxListItemTo_p_wxObject(void *x
) {
26599 return (void *)((wxObject
*) ((wxListItem
*) x
));
26601 static void *_p_wxImageTo_p_wxObject(void *x
) {
26602 return (void *)((wxObject
*) ((wxImage
*) x
));
26604 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
26605 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
26607 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26608 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26610 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
26611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
26613 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
26614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26616 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
26617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26619 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26622 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26623 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26625 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26626 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26628 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26629 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26631 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26632 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26634 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26637 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26638 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26640 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26643 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26644 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26646 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26647 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26649 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26650 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26652 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26653 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26655 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26656 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26658 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
26659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26661 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26662 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26664 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26665 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26667 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
26668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
26670 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26671 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26673 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26674 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26676 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26677 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26679 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26682 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
26683 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
26685 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
26686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
26688 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26691 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26692 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26694 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
26695 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
26697 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
26698 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
26700 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26701 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26703 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
26704 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
26706 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
26707 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
26709 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
26710 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
26712 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
26713 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
26715 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26716 return (void *)((wxWindow
*) ((wxControl
*) x
));
26718 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
26719 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
26721 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
26722 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26724 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
26725 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
26727 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
26728 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
26730 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
26731 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
26733 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
26734 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
26736 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26737 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26739 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
26740 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
26742 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
26743 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
26745 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
26746 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
26748 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
26749 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
26751 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
26752 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
26754 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
26755 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
26757 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
26758 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26760 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
26761 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
26763 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
26764 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
26766 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
26767 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
26769 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
26770 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
26772 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
26773 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
26775 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
26776 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
26778 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
26779 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
26781 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
26782 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
26784 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
26785 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
26787 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
26788 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
26790 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
26791 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
26793 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
26794 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
26796 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
26797 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26799 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
26800 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
26802 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26803 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26805 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
26806 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26808 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
26809 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
26811 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26812 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26814 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26815 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26817 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26818 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26820 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26821 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26823 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
26824 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26826 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
26827 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26829 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
26830 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
26832 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26833 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26835 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
26836 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26838 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
26839 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
26841 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26842 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26844 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26845 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26847 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
26848 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26850 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
26851 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
26853 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
26854 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
26856 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
26857 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
26859 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
26860 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
26862 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
26863 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}};
26864 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}};
26865 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
26866 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
26867 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
26868 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
26869 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_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
26870 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
26871 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
26872 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
26873 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}};
26874 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
26875 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
26876 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
26877 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}};
26878 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
26879 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
26880 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
26881 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
26882 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
26883 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
26884 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
26885 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
26886 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
26887 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
26888 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
26889 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
26890 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
26891 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
26892 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_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
26893 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
26894 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
26895 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
26896 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
26897 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
26898 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
26899 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
26900 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
26901 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}};
26902 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
26903 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
26904 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
26905 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}};
26906 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
26907 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}};
26908 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
26909 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
26910 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
26911 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
26912 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
26913 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
26914 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
26915 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
26916 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
26917 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
26918 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
26919 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
26920 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
26921 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
26922 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
26923 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
26924 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
26925 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
26926 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_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
},{"_p_wxToggleButton", _p_wxToggleButtonTo_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_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_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}};
26927 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
26928 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}};
26929 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
26930 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
26931 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
26932 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
26933 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_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{0}};
26934 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
26935 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}};
26936 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
26937 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
26938 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
26939 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
26940 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
26942 static swig_type_info
*swig_types_initial
[] = {
26943 _swigt__p_wxTextUrlEvent
,
26944 _swigt__p_wxBookCtrlEvent
,
26946 _swigt__p_wxTreeItemIdValue
,
26947 _swigt__wxTreeItemIdValue
,
26948 _swigt__p_wxCheckBox
,
26949 _swigt__p_wxPyTreeCtrl
,
26951 _swigt__p_wxGenericDirCtrl
,
26953 _swigt__p_wxPyTreeItemData
,
26954 _swigt__p_wxItemContainer
,
26955 _swigt__p_wxDirFilterListCtrl
,
26956 _swigt__p_wxPyListCtrl
,
26957 _swigt__p_wxStaticLine
,
26958 _swigt__p_wxControl
,
26959 _swigt__p_wxPyControl
,
26961 _swigt__p_wxToolBarBase
,
26963 _swigt__p_wxToggleButton
,
26964 _swigt__p_wxRadioButton
,
26965 _swigt__p_wxChoice
,
26966 _swigt__p_wxListItemAttr
,
26969 _swigt__p_wxListView
,
26971 _swigt__p_wxTextCtrl
,
26972 _swigt__p_wxNotebook
,
26973 _swigt__p_wxNotifyEvent
,
26974 _swigt__p_wxArrayString
,
26975 _swigt__p_wxListbook
,
26976 _swigt__p_wxStaticBitmap
,
26977 _swigt__p_wxSlider
,
26978 _swigt__p_wxStaticBox
,
26979 _swigt__p_wxArrayInt
,
26980 _swigt__p_wxContextHelp
,
26982 _swigt__p_wxEvtHandler
,
26983 _swigt__p_wxListEvent
,
26984 _swigt__p_wxListBox
,
26985 _swigt__p_wxCheckListBox
,
26986 _swigt__p_wxBookCtrl
,
26987 _swigt__p_wxSpinButton
,
26988 _swigt__p_wxButton
,
26989 _swigt__p_wxBitmapButton
,
26991 _swigt__p_wxContextHelpButton
,
26992 _swigt__p_wxRadioBox
,
26993 _swigt__p_wxScrollBar
,
26994 _swigt__p_wxTreeItemId
,
26995 _swigt__p_wxComboBox
,
26996 _swigt__p_wxHelpEvent
,
26997 _swigt__p_wxListItem
,
26998 _swigt__p_wxNotebookSizer
,
26999 _swigt__p_wxSpinCtrl
,
27000 _swigt__p_wxImageList
,
27001 _swigt__p_wxHelpProvider
,
27002 _swigt__p_wxTextAttr
,
27003 _swigt__p_wxSimpleHelpProvider
,
27005 _swigt__p_wxListbookEvent
,
27006 _swigt__p_wxNotebookEvent
,
27007 _swigt__p_wxObject
,
27008 _swigt__p_wxKeyEvent
,
27009 _swigt__p_wxWindow
,
27010 _swigt__p_wxString
,
27011 _swigt__p_wxBitmap
,
27012 _swigt__p_wxTreeEvent
,
27013 _swigt__p_wxMouseEvent
,
27014 _swigt__p_wxCommandEvent
,
27015 _swigt__p_wxStaticText
,
27016 _swigt__p_wxControlWithItems
,
27017 _swigt__p_wxToolBarToolBase
,
27018 _swigt__p_wxColour
,
27019 _swigt__p_wxToolBar
,
27020 _swigt__p_wxBookCtrlSizer
,
27021 _swigt__p_wxValidator
,
27026 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27028 static swig_const_info swig_const_table
[] = {
27029 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
27030 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
27031 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
27032 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
27033 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
27034 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
27035 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
27036 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
27037 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
27038 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
27039 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
27040 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
27041 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
27042 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
27043 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
27044 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
27045 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
27046 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
27047 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
27048 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
27049 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
27050 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
27051 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
27052 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
27053 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
27054 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
27055 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
27056 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
27057 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
27058 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
27059 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
27060 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
27061 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
27062 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
27063 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
27064 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
27065 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
27066 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
27067 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
27068 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
27069 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
27070 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
27071 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
27072 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
27073 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
27074 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
27075 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
27076 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
27077 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
27078 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
27079 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
27080 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
27081 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
27082 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
27083 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
27084 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
27085 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
27086 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
27087 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
27088 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
27089 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
27090 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
27091 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
27092 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
27093 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
27094 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
27095 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
27096 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
27097 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
27098 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
27099 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
27100 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
27101 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
27102 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
27103 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
27104 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
27105 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
27106 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
27107 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
27108 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
27109 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
27110 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
27111 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
27112 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
27113 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
27114 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
27115 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
27116 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
27117 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
27118 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
27119 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
27120 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
27121 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
27122 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
27123 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
27124 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
27125 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
27126 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
27127 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
27128 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
27129 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
27130 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
27131 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
27132 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
27133 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
27134 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
27135 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
27136 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
27137 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
27138 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
27139 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
27140 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
27141 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
27142 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
27143 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
27144 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
27145 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
27146 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
27147 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
27148 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
27149 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
27150 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
27151 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
27152 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
27153 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
27154 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
27155 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
27156 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
27157 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
27158 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
27159 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
27160 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
27161 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
27162 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
27163 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
27164 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
27165 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
27166 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
27167 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
27168 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
27169 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
27170 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
27171 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
27172 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
27173 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
27174 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
27175 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
27176 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
27177 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
27178 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
27179 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
27180 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
27181 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
27182 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
27183 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
27184 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
27185 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
27186 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
27187 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
27188 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
27189 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
27190 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
27191 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
27192 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
27193 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
27194 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
27195 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
27196 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
27197 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
27198 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
27199 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
27200 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
27201 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
27202 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
27203 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
27204 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
27205 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
27206 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
27207 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
27208 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
27209 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
27210 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
27211 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
27212 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
27213 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
27214 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
27215 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
27216 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
27217 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
27218 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
27219 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
27220 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
27221 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
27222 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
27223 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
27224 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
27225 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
27226 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
27227 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
27228 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
27229 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
27230 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
27231 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
27232 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
27233 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
27234 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
27235 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
27236 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
27237 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
27238 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
27239 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
27240 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
27241 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
27242 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
27243 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
27244 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
27245 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
27246 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
27247 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
27248 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
27249 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
27250 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
27251 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
27252 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
27253 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
27254 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
27255 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
27256 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
27257 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
27258 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
27259 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
27260 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
27261 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
27262 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
27263 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
27264 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
27265 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
27266 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
27267 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
27268 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
27269 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
27270 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
27271 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
27272 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
27273 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
27274 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
27275 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
27276 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
27277 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
27287 SWIGEXPORT(void) SWIG_init(void) {
27288 static PyObject
*SWIG_globals
= 0;
27289 static int typeinit
= 0;
27292 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27293 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27294 d
= PyModule_GetDict(m
);
27297 for (i
= 0; swig_types_initial
[i
]; i
++) {
27298 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27302 SWIG_InstallConstants(d
,swig_const_table
);
27304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
27305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
27306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
27307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
27308 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
27309 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
27310 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
27311 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
27312 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
27313 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
27314 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
27315 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
27316 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
27317 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
27318 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
27319 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
27320 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
27321 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
27322 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
27323 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
27324 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
27325 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
27326 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
27327 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
27328 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
27329 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
27330 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
27331 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
27332 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
27333 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
27334 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
27335 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
27337 // Map renamed classes back to their common name for OOR
27338 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
27341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
27342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
27343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
27344 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
27345 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
27346 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
27347 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
27348 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
27349 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
27350 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
27351 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
27352 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
27353 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
27354 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
27355 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
27356 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
27357 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
27358 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
27360 // Map renamed classes back to their common name for OOR
27361 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
27362 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
27364 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
27365 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));